Sites SDK
Components developed for Oracle Content Management are rendered as a component in a site and can be dragged and dropped anywhere on a specific page of a site.
The Sites SDK handles all communication between the component and the page.
-
Sites.Settings.getProperty(propertyName, callbackFunction)
: Provides a callback to retrieve the requested property for the custom component instance. -
Sites.Settings.setProperty(propertyName, propertyValue)
: Stores the requested property against the custom component instance.
Use Sites.Settings.getProperty
or Sites.Settings.setProperty
for all custom component properties, then use SitesSDK.publish
and SitesSDK.subscribe
for listening to message events.
See Sites SDK.