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

Entity Reference Custom Field - ServicePages SDSP20

SOLVED
Go to solution
Highlighted
Selvarajan
Regular Collector

Entity Reference Custom Field - ServicePages SDSP20

I created a custom field in the servicecall form.
Item - Service call,
Entity Reference - Configuration Item.
After compilation of the web-api.jar ,how can i get the value of the field in the service pages (In VieweditServicecall.jsp).
Can anyone help me or provide any suggestion on this.
2 REPLIES
George M. Meneg
Honored Contributor
Solution

Re: Entity Reference Custom Field - ServicePages SDSP20

Hello,

Generate web api from the service desk administrator console (File -> Generate Web API...)

Once the api is generated, go to \web-api\api-client\src\com\hp\itsm\api\interfaces\

(where is Web API destination directory from the previous step). Open IServiceCall.java and find the function to get the custom ci's value.

You must use these functions to get/set the custom ci.
menes fhtagn
Selvarajan
Regular Collector

Re: Entity Reference Custom Field - ServicePages SDSP20

Thanks George
//Add this to "OnDomLoad" event