Dashboard Location

The Dashboard Location is a type of location that lets you create widgets for your stack dashboard.
Using this location, you can create several useful widgets.
Consider a widget that does the following operations:

  • Shows real-time data of stack usage
  • Lists all the entries published recently
  • Allows you to add your "To-Dos" for the day or take notes.

The following are the two ways to add dashboard location to your app:

  • Via the Developer Hub Console:
    To add the dashboard location to your app via the Developer Hub console, login to your Contentstack account and follow the steps given below:

    1. Click on the Developer Hub icon on the left navigation panel.
      Developer_Hub_Icon.png
    2. Select an application for which you want to add the dashboard location.
    3. Click on the UI Locations tab. 
      UI_Locations.png
    4. In the App URL field, enter the hosted URL of your application. 
      App_URL.png
    5. Hover over the Dashboard location, and click on the + Add button. 
      Add_Dashboard.png
    6. On the Configuration page, set the configurations by providing details such as name, path, and description. You can also enable the configuration using the Enable toggle button. 
      Enable_Toggle.png
    7. Finally, click on the Save button to save the dashboard location’s configuration details.

  • Via Manifest API:
    The App Manifest file describes essential information about your app, and is stored in the root directory of its project hierarchy.
    Add the dashboard location to this file as shown below:

    {
      "type":"cs.cm.stack.dashboard",
      "meta":[
        {
          "signed":true,
          "path":"/config"
        }
      ]
    }

Note: A single app supports up to three dashboard locations.

Once you create a dashboard location, it is reflected on the stack’s dashboard page.
Contentstack also allows you to customize your dashboard view and arrange widgets as per your requirements.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^