remove

Deletes an entity from the collection.


            remove (index|object)
         

Parameters

index|object

Index of the entity to delete or the entity itself.

Return value

None.

Remarks

Examples:
var delivery = NLWS.nmsDelivery.load("12435")
delivery.attachment.remove(1)
delivery.save()
var delivery = NLWS.nmsDelivery.load("12435")
var attach = delivery.attachment[1]
delivery.attachment.remove(attach)
delivery.save()

Features

Method of class: EntityCollection

Available in:

  • Content management
  • Delivery properties
  • Typology rule
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow