Access Custom Fields
Last updated
Last updated
The Custom Fields feature give you another way of storing application data which is associated with the application context's Deskpro Object.
If you are not yet familiar with the concept of Custom Fields in Deskpro, head over to the official documentation:
You access Custom Fields through a , which is made available via the property of the application context:
For setting the value of a field:
The methods above allow you to retrieve the value of any custom field by its id. For custom fields which are created by your application and which are referred to by their alias, the custom fields client offers a set of similar methods.
If your application is adding new custom fields and you need to access them use the following method for reading:
For setting the value of a field: