SP.Field.setShowInDisplayForm Method (sp.js)

Sets the value of the ShowInDisplayForm property for this field.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013



  • value
    Type: Boolean

    A Boolean value that indicates whether this field is shown in the display form.

REST resource endpoint

See Field resource for more information.

Endpoint URI structure


HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/fields(fieldid)/setShowInDisplayForm(value)

Resource parameters

  • value