SP.RelatedField.relationshipDeleteBehavior property (sp.js)

Gets a value that specifies the action taken by the system for items in the list specified by listId when an item in the current list is deleted.

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

var value = SP.RelatedField.get_relationshipDeleteBehavior ()

Return value

Type: SP.RelationshipDeleteBehaviorType

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/lists(listid)/GetRelatedFields()/GetByFieldId(fieldid)/relationshipDeleteBehavior

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/GetRelatedFields()/GetByFieldId(fieldid)/relationshipDeleteBehavior

GET syntax

GET http://<sitecollection>/<site>/_api/web/lists(listid)/GetRelatedFields()/GetByFieldId(fieldid)/relationshipDeleteBehavior