getInterfaceParent

Returns the name of parent element, in customInterface.xml, for a custom interface menu item or toolbar button. The parent element represents the various locations, in the Workspace application, from which custom interfaces may be launched.

Syntax

getInterfaceParent(interfaceObject);

Parameters

  • interfaceObject - (Object) Object that launches the custom interface.

Returns

(string) The name of parent element, in customInterface.xml, for a custom interface menu item or toolbar button. Returns one of the following:

  • WorkspaceToolbar
  • WorkspaceMasterSelection
  • WorkViewsList
  • WorkItemsList
  • ProcessViewsList
  • ProcessInstancesList
  • EventViewsList
  • EventsList
  • BusinessServicesList
  • ProcessTemplatesList