OpenWGA 7.9 - TMLScript reference

HDBModel
Method :

newUpdateContentParams(content)

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

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

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

Parameters content (WGAPI object WGContent):

The content document to update.

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