Change a component's application scope

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Change a component's application scope if you encounter scope issues when deploying your component to an instance. For example, you may have set an application scope that is already in use or invalid while creating a component in offline mode.

    Before you begin

    About this task

    Procedure

    1. In your project directory, open now-ui.json.
    2. Update the scopeName key with the desired scope name.

      Use the namespace identifier guidelines for application development on the instance. For more information, see Application scope.

      When reserving an application scope, follow these requirements:

      • Maximum: 18 characters.

      • Case: snake case.

      "scopeName": "x_customerprefix_componentname"
    3. Deploy your component.