OpenWGA 7.9 - TMLScript reference

TMLForm "tmlform"
Method :

attach(document)

On object TMLForm "tmlform"
Usage Attaches all files stored on this form to a document
Description This method does not save the given document. In order to persist the attached files a manual save call is necessary.
Parameters content (WGAPI-Objekt WGContent):
Content document to receive the attachments
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent