OpenWGA 7.0 - TMLScript reference

HDBModel
Method :

newDeleteContentParams(content)

On object HDBModel
Usage Creates a HDBModelParams object for deleting a HDBModel content document
Description

The created parameter object is to be used with method HDBModel.deleteContent(). Use it if you want to pass specific parameters to the deletion operation.

If you do not want to add more information to the operation than the content to delete, then you may as well use the convenience variants of HDBModel.deleteContent() directly, which do not need a HDBModelParams object.

Parameters content (WGAPI object WGContent):

The content document to delete.

Writable False
Return value A HDBModelParams object containing the given information
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events