The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean fields and the OVSD WebAPI

SOLVED
Go to solution
Highlighted
Bob Jendrzejek
Occasional Advisor

Boolean fields and the OVSD WebAPI

I may be missing something obvious here, but I am unable to locate a method within the WebAPI in Service Desk that will allow me to get/set the value of custom Boolean fields. Specifically I am looking at the IPerson object and while there seem to be methods for most of the custom fields, I can't find any listed in the documentation for the 10 Boolean fields that are available for the person object. Does anyone know how I can get/set these fields from the WebAPI?

Thanks!!
-Bob Jendrzejek
2 REPLIES
Vasily Kamenev
Honored Contributor
Solution

Re: Boolean fields and the OVSD WebAPI

Hi
IPerson person = session.get......
person.setPerBoolean1(Boolean.TRUE);

Vassili
Bob Jendrzejek
Occasional Advisor

Re: Boolean fields and the OVSD WebAPI

Thanks for the pointer. Seems I was looking at an old version of the webapi Javadoc.
//Add this to "OnDomLoad" event