Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Using forms to limit or extend the query response

Log in to subscribe to topics and get notified when content changes.

Using forms to limit or extend the query response

On occasion, there is a need to limit the number of field values being returned from a SOAP query (get or getRecords) invocation.

Specifying a form view has the effects of:
  1. Limiting the response elements to contain only the fields on the view.
  2. Specifying reference record field values from referenced fields such as caller_id.email. This will cause the value of the caller's email to be returned in the SOAP response.

To enable form views for SOAP queries, you may configure the com.glide.soap.view property to be the name of the view you want to use for all SOAP query response (the default is soap_response). You can also specify the view name as a URL parameter sysparm_view=<view name> when making the SOAP call. For example:

https://<instance name>.service-now.com/incident.do?SOAP&sysparm_view=ess

If a specified view name does not exist, the default behavior is to respond with all fields.

Feedback