How to add a custom pane in Workspace?
The entity-actions file contains a JSON object that has the key assetTabs, which contains metadata for the tabs in the asset detail view.
Based on the type, tab objects can have the following attributes:
Attribute | Applicable to action type | Description |
---|
id | All | A unique id of an tab. |
type | All | A tab can be of the following two types: |
displayText | All | The name of the tab on the User Interface. |
hidden | All | A Boolean value to show/hide the tab. |
frameUrl | iframe | The URL of the destination that you want to open in the iframe. |
VisibilityHandler | All | Name of the function to handle visibility for tabs. |
Tab Type Examples
The following are some basic examples of each of the tab type:
iframe
{
“id”: “qpp-iframe-tab”,
“type”: “iframe”,
“frameUrl”: “http://localhost:9001/custom-actiondialog/index.html”,
“hidden”: false,
“displayText”: “Send to Sharepoint”,
“iconUrl”:”http://icons.iconarchive.com/icons/dakirby309/simplystyled/32/Microsoft-SharePoint-2013-icon.png”
}
Download sample for tab.