scope

Type: Object

Contains the value of the Scope object as passed in the URL. See The documentation on CMS Concepts for more information on how the scope parameter can be used.

The scope object can be imported from anywhere by referring to configurationManager.get('scope'), for example:

import configurationManager from 'fontoxml-configuration/src/configurationManager.js';

const scope = configurationManager.get('scope');

// Your code goes here
Was this page helpful?