Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Amending a Custom Field

SOLVED
Go to solution
Highlighted
John.Cook1980
Regular Collector

Amending a Custom Field

Hi,

I am trying to create a Custom Field (Entity Reference) on Service Call. How do I change the default category of Code to Person? (Service Desk 4.5 SP23)

Thanks
John
4 REPLIES
Ruth Porter
Honored Contributor

Re: Amending a Custom Field

Hi John,

To set up a reference to a person custom field, create a new custom field, select validation type of Entity reference, then select Person from entity to.

Also see sd45_sp20_addendum_en.pdf (SP 18 section) for the HP documentation of this. The PDF is in the doc folder of any expanded SP from SP20 onwards.

Hope this helps, Ruth

http://www.teamultra.net
John.Cook1980
Regular Collector

Re: Amending a Custom Field

Ruth,

I have followed the instructions but I get an error message "The value you have typed is an invalid Java identifier". This seems to be related to the value I put in the Field Key box "Current Person" or "Current Person (Person)"?

Thanks
John
Ruth Porter
Honored Contributor
Solution

Re: Amending a Custom Field

Hi John,

The field key is what will be used if you want to refer to this field in the web api and this cannot have spaces and must be unique. So if you are calling it "Word1 Word2" as its main name, you could set the field key to Word1_Word2

Hope this helps, Ruth
http://www.teamultra.net
John.Cook1980
Regular Collector

Re: Amending a Custom Field

Thanks Ruth
//Add this to "OnDomLoad" event