This parameter is not required to create valid embed requests, but Omni recommends setting it.
modelRoles parameter.
Syntax
Properties
An object containing connection ID and role pairs, formatted as
"<connection_id>": "<connection_role>". connection_role values must the name of a standard user role or the name of a custom user role that resolves to either a Viewer or Restricted Querier.RESTRICTED_QUERIER- Can create new content and view workbooks and dashboardsVIEWER- Can only view dashboards<CUSTOM_ROLE_NAME>- Abilities depend on the role’s included permissions
{"connection-id-1":"RESTRICTED_QUERIER", "connection-id-2":"CUSTOM_VIEWER"}Examples
The following example demonstrates what the URL encoded version ofconnectionRoles={"65b10d2a-473b-4486-92c8-0ba628c7d1cb":"RESTRICTED_QUERIER"} would be:
Example connectionRoles