SP.Field.entityPropertyName property (sp.js)

Gets the name of the entity property for the list item entity that uses this field.

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

var value =SP.Field.get_entityPropertyName()

Return value

Type: String

The name of the entity property.

Remarks

It must not be null. It must not be empty.

REST resource endpoint

See Field resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/lists(listid)/fields(fieldid)/entityPropertyName

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

GET syntax

GET http://<sitecollection>/<site>/_api/web/lists(listid)/fields(fieldid)/entityPropertyName