TransactionLog.getTreeItems (Method)

Get items for a transaction node type.

Returns:

TransactionLog_GetTreeItems_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
ID PlainText_NonNull The ID of the data returned.
Leaf Boolean Boolean flag which when true indicates that the item is a leaf node.
LeafNodeNodeType TransactionLogNodeType_EmptyString Returns information passed in for LeafNodeNodeType.
OtherInfo PlainText Other data about the item. This value can be NULL.
Selectable Boolean Boolean flag which when true indicates that this item is selectable.
Selected Boolean Boolean flag which when true indicates that the node is selected.
Text PlainText_NonNull Text of the node that will be displayed.
Type TransactionLogNodeType If this node type is passed to GetTreeItems(), it returns this item's child nodes.

Arguments:

Name Type Required Description
nodeType TransactionLogNodeType Required The type of node - SiteTransactionLogEvents, ServerTransactionLogEvents, CustomerTransactionLogEvents.
parentID String Optional. Defaults to an empty string. A string describing the parent node based on the specified TreeType. This value need not be an integer. If this is an empty string, CommonSpot returns all top level nodes of the specified type.
scope TransactionHistoryScope Required The scope of the transaction (site/server/customer/subsite/page).
subsiteID SubsiteID_0 Optional. Defaults to '0'. The ID of the subsite for which the transaction history is displayed.
pageID PageID_0 Optional. Defaults to '0'. The ID of the page for which we are checking the transaction history.
forHistory Boolean Optional. Defaults to '0'. Boolean value indicating if the command is being called for history records or not.

Context:

License Requirements None
Permission Requirements (none)
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None