Module: alfresco/documentlibrary/AlfCloudSyncFilteredMenuBarItem

alfresco/documentlibrary/AlfCloudSyncFilteredMenuBarItem

Extends the standard menu bar item and mixes in filtering capabilities that allow the button to only be shown when Cloud Synchronization is currently enabled for the current parent node. This behaviour can be inverted (i.e. to only show the button when syncronization is not enabled) by setting the "invertFilter" attribute to true.
Author:
  • Dave Draper
License:
Source:

Mixes In

Members

invertFilter :boolean

This can be set to "true" to hide the button when the Cloud sync is NOT enabled.
Type:
  • boolean
Default Value:
  • false
Source:

Methods

filter(payload)

Hides the button when Cloud sync is enabled.
Parameters:
Name Type Description
payload object The payload published on the filter topic
Source:

postCreate()

Extends the superclass function to subscribe to the metadataChangeTopic
Source: