This method adds a media item to the brand kit
The name of the media item
The remote connector ID
The asset ID of the media item
This method enables or disables brand kit auto-sync
boolean indicating auto-sync status
boolean indicating the result of the operation
ExperimentalThis method returns the local brand kit
brand kit with all assigned resources
This method returns all media items in the brand kit
list of media items in the brand kit
This method returns the current brand kit id.
current brand kit id
This method returns the current brand kit name.
current brand kit name
This method returns the current brand kit version.
current brand kit version
This method returns the value indicating whether the brand kit auto-sync is enabled or not It is up to the integrator to implement this auto-sync functionality, this method only is an indication if it should be done or not.
boolean indicating sync status
This method removes a media item from the brand kit
The name of the media item to remove
This method renames the brand kit.
The new name for the brand kit
This method renames an existing media item in the brand kit
The name of the media item to rename
The new name for the media item
ExperimentalThis method replaces the full brand kit and all related resources assigned to it
the brand kit from the environment api
the local brand kit
Switches the active brand kit theme.
Theme name
ExperimentalThis method syncs brand kit items and structure in place without replacing the existing brand kit
the brand kit from the environment api
boolean indicating whether the brand kit changed after the sync attempt
This method updates both the brand kit id and version.
The new brand kit id
The new brand kit version
This method updates an existing media item in the brand kit
The name of the media item to update
The new remote connector ID
The new asset ID
The BrandKitController is responsible for all communication regarding Brand Kits. Methods inside this controller can be called by
window.SDK.brandKit.{method-name}