API to fetch the custom fields created in form design

poojasomani
Kilo Contributor

Hi,

Let me know the api to fetch only custom fields created by going in "configure --> Form Design" from a incident page.

I know the api https://instancename.service-now.com/api/now/table/incident which gives the list of incidents along with newly created field. Let me know api which will give name of fields.

2 REPLIES 2

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Pooja,



sys_dictionary is the table you can use to get the column names of the field. You can place your query to fetch as per the table name.


Here the column name which starts with u_ are the custom fields created on the system.


@Pradeep Sharma Any ready API available for fetch the custom fields in incident form instead of querying sys_dictionary table ? Please let me know. Thanks in advance.