This widget can be used to dynamically render widget models whenever the configured
subscriptionTopic is published.
The payload on the topic is expected to contain a "widgets" attribute that defines the
model to be rendered.
- Since:
- 1.0.36
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Members
-
baseClass :string
-
The CSS class (or a space separated list of classes) to include in the DOM node.
Type:
- string
- Default Value:
- "alfresco-layout-DynamicWidgets"
- Source:
-
subscriptionTopic :string
-
Type:
- string
- Default Value:
- null
- Source:
-
<inner> subscribeGlobal :boolean
-
Indicates whether the subscriptionTopic should be subscribed to globally.
Type:
- boolean
- Since:
- 1.0.81
- Default Value:
- false
- Source:
Methods
-
allWidgetsProcessed(widgets)
-
This is an extension point for handling the completion of calls to processWidgets
Parameters:
Name Type Description widgets
Array An array of all the widgets that have been processed - Source:
-
postCreate()
-
- Source:
-
render(payload)
-
Makes a request for the current users upload history from their preferences and then with a callback to the createUploadTargets function to render the upload history.
Parameters:
Name Type Description payload
object A payload containing the widgets to dymaically create - Source: