The PO (Portal) object contains functions for retrieving information (such as actions) from QPR Portal.
Functions available for the PO object:
Returns bookmarks, language definitions, booklet pages, booklet items, actions, action types, and action attributes.
Returns all action objects (if querying a product) or all "child actions" connected to action (if querying an action object).
Returns a set of ActionType objects, one for each action type defined in actiontypes.ini. See the Supported Attributes section for a listing of attributes in ActionType objects.Note that by default (i.e. with an empty attributes parameter) only the following attributes are returned for action types: Id, Name, TypeName, and CustomAttributes.
Attachment, Attachments([keeporiginals=1, <global parameters>])
Returns all attachment objects (if querying a product) or all "child attachments" connected to action (if querying an action object).
•Discussion: Discussion hierarchy. If used in HierarchyRoots, returns the "Discussion Forum" folder.
•<action relation attribute name>: Name of action relation attribute (the comparison is case insensitive). For example "Parent actions", "Child actions", or "External parent objects". For associations, the sub attribute 'one' can be used to query attributes of one of the related objects.
•<packed action relation attribute name>: Name of action relation attribute with spaces removed (the comparison is case insensitive). For example "ParentActions", "ChildActions", or "ExternalParentObjects".
•CustomAttributes (for ActionTypes, returns all action attributes defined for the action type)
Valid type names:
•<association/action type group (corresponding attribute: typegroupname)>
•<association/action type (corresponding attribute: typename)>
•<action type name defined in actiontypes.ini (e.g. "Comment")>: If the name contains spaces, you can omit those. For example Action Plan can be called as ActionPlan.