Stack

What is a Stack

A stack can be defined as a pool of data or a container that holds all the content/assets related to a site. It is a collaboration space where multiple users can work together to create, edit, approve, and publish content.

This is the first page that will appear once you log in. Since Contentstack is capable of handling multiple stacks, you will see a list of stacks that you have access to. As a Developer, you can invite users to a stack. The invited users can then log in to the platform and start working with you on a stack with the rights and access you have assigned to them.

Create a New Stack

Once you log in to Contentstack, click on the ‘+ New Stack’ link to create a new stack. In the ‘Create New Stack’ dialog box that appears, enter a suitable 'Name' (mandatory field) and 'Description' (optional field) for the stack. For the 'Master Language' field (mandatory), select a language that you wish to set as the primary language of the stack. Then click 'Create'.

Since this is a new, empty stack, you will be prompted to create or import a content type. Learn more about content types here. You can create as many stacks as you like.

Tutorial Video

Let’s assume that we want to create an online news site that publishes latest news regularly. So, we will create a corresponding stack in Contentstack named My News. Let’s have a look at a short video that shows how to create this stack.

Create a New Stack.png

Edit a Stack

To edit a stack, go to Settings > Stack. The General section on the left displays the basic info of your stack. You can edit the Name and Description of the stack from here. On the right, under API Credentials, you will see the stack’s API key and access token fields as well as quick links to the API reference.

If you are the owner of the stack, you can delete or transfer the ownership of the stack. If you are collaborator or an invited user, you can stop collaborating by clicking Leave Stack.

Tutorial Video

Let’s have a look at a short video that shows how to edit a stack.

Edit a Stack.png

Delete a Stack

Only the owner/creator of the stack has the permission to delete the stack. To delete a stack, go to Settings > Stack, and click Delete Stack.

Tutorial Video

Let’s have a look at a short video that shows how to delete a stack.

Delete a Stack.png

Leave a Stack

A collaborator or an invited user can stop collaborating on a stack. To do this, go to Settings > Stack, and click Leave Stack.

Dashboard

Dashboard is the home page for your stack.

It is a collection of widgets that allows all stack users (developers, stack owners, administrators, and content managers) to view and navigate to recently modified assets and entries of the stack, and do a lot more.

You can customize your dashboard view as well as add new widgets through extensions.

Let's learn more about the Dashboard and understand how to use it

Default Dashboard Widgets

The Dashboard provides two widgets by default. Let’s understand what these two widgets are.

Recently Modified Entries

This widget displays the list of entries that were recently edited by any user of the stack. When you click on any entry, you will be directed to the entry page, where you can view the content or make changes as per your requirement.

Along with the list of entries, you can also see who modified the entry and at what time. This widget allows you to view a maximum of 10 entries modified recently.

Recent Entries.jpg

Recently Modified Assets

This widget displays the list of assets that were recently modified by any user of the stack. In the list, you can also view the date/time of modification and the users who modified the assets.

Along with the list of assets, you can also see who modified the asset and at what time. This widget allows you to view a maximum of 10 assets modified recently. When you click on any asset, you will be directed to the asset page, where you can view the asset or make changes to it.

Recent assets.jpg

Access the Stack Dashboard

The Dashboard is the stack’s homepage. To access the Dashboard, follow the steps given below:

  1. Log in to your Contentstack account.
  2. You will see the stacks that you have access to. Click on any stack of your choice.

    Stacks.png

  3. This will take you to the homepage of the stack, i.e., the Dashboard

    Dashboard.png

The Dashboard page has the same default widgets that we just discussed above.

Customize Your Dashboard View

You can customize the stack dashboard view, i.e., show or hide widgets and sort widgets, for yourself. Let’s understand how these customization features work.

Show/Hide Dashboard Widgets

You can show or hide dashboard widgets placed on your stack dashboard by performing the steps given below:

  1. Click on the Settings icon located at the top of the Dashboard page.
    Settings icon.png
  2. You will see the list of all Dashboard Widgets that you have access to. Check or uncheck any of these options to show or hide these widgets, respectively, in your dashboard. For example, if you want to hide the Recently Modified Assets widget, just uncheck this option as shown below:

  3. Click Apply to apply the changes.

Sort Dashboard Widgets

You can sort the dashboard widgets that appear on your stack dashboard by performing the following steps:

  1. Click on the Settings icon located at the top of the Dashboard page.

  2. You will see the list of all Dashboard Widgets that you have access to. Drag and drop a widget from the list into a position of your choice to change the order of items. For example, you can have the Recently Modified Entries and Recently Modified Assets widgets interchange positions.
  3. Click Apply to apply the changes.

Note: The changes that you save (i.e., if you show or hide a widget) to your preferences, now work everywhere, irrespective of the browser or device you use.

Contentstack also allows you to create customized Dashboard Widgets using extension for personalizing your dashboard further. Read more about Dashboard Widgets.

Was this article helpful?
top-arrow