Editor Data
The platform object is available from the editor UI and within the site overview and site preview pages (if logged in).
Account
platform.data.account
Information about the account logged into the platform. This can be accessed within the editor and dashboard.
Property | Description |
---|---|
name | The account that is using the editor/dashboard. |
type | The type of account that is using the editor/dashboard. Will have a value of either STAFF or CLIENT. |
permissionGroup.name | An object containing the name of the permission group a STAFF member is assigned to. Note: Custom groups will return the ID of a permission group. Use the List Custom Team Groups API to collect the name of the group. |
Site
platform.data.site
The site that is being edited. This can only be accessed within the editor.
Updated about 1 year ago