Easily restore your project to a previous version with our new Instant One-click Backup Recovery
Hygraph
Docs

Working with content views

#Overview

Content views are basically the way our content is displayed in the content editor. They are divided into:

  • Default views: Generated automatically. They show the default columns configuration and without any filter criteria applied.
  • Custom Views: Generated by users. They show a specific columns configuration and filter conditions, selected and saved by the user.

#What you can do

Content viewsContent views

  • You can use content views to easily navigate the content in the Content editor
  • You can create custom content views to easily access certain content
  • You can create view groups to organize your custom content views

#Update default views

When making changes to the content view - by configuring columns, or adding filters - you can save this configuration as the default view for all users of the project.

To do this, click the View dropdown at the top-right of the screen to display the options inside, and select the Update view option.

Update default viewUpdate default view

Default views are also reflected inside of connection models when linking other content models.

#Custom views

The default content views are the system views which list all content entries that have been created based on the respective content models. Custom content views are filtered for specific content entries.

After you customize your content table using the three features mentioned above, you can save these customizations using the Content View. This can be a helpful way of organizing your content and making it easier to find.

For example, as a content editor if you are only editing Blog posts written by Annie, you can create a content view called “Annie's Blog Posts.” This will give you quicker access and let you avoid scrolling through content to find what you are looking for.

#Create a custom view

  1. Navigate to the Content editor and select a model.
  2. Create a change to the view by either filtering the content in the search bar at the top, or showing/hiding the columns.
  3. Click the View dropdown at the top-right of the screen to display the options inside, and select the Save as new view option.
  4. Provide a Name and, optionally, Description.
  5. Click Add custom view to save.

#Update a custom view

Update custom viewUpdate custom view

  1. Navigate to a custom view in the Content editor.
  2. Next to the title of the content view, click on the context menu to display the options inside and select Update custom view.
  3. Apply your changes and click Update to save.

#Delete a custom view

Delete custom viewDelete custom view

  1. Navigate to a custom view in the contextual sidebar of the content tab.
  2. Next to the title of the content view, click on the context menu to display the options inside and select Delete custom view.
  3. Confirm you want to delete.

#Organizing custom views

Reorder custom viewsReorder custom views

  1. Hover your mouse next to a custom view.
  2. Grab the six-dot handle to the left of the label.
  3. Drag and drop to change the order.

#View groups

Custom View Groups let you create a group of Content Views. These can be helpful when working in larger teams as you can create a Custom View Group that contains all of the content for each person. These custom View Groups let team members create their custom views and save them all in one place.

In using these features to customize your content tables, teams will be able to set up best practices, optimize their time and experience in Hygraph and focus on creating great content.

View Groups allow you to customize the presentation and selection of content visible to an editor. You can show or hide different columns and filter which content should be included in the group. This allows for an optimized editorial workflow, helping editors to quickly find the content that needs their attention.

View groupsView groups

#Create a view group

Create custom view groupCreate custom view group

  1. Navigate to the content editor.
  2. Click on the folder icon next to Content on the contextual sidebar to add a new view group.
  3. Provide the Name.
  4. Click Add view group to save.

Save custom view groupSave custom view group

#Edit a view group

Edit a custom view groupEdit a custom view group

  1. Find a custom view group in the contextual sidebar.
  2. Click on the context menu and select Edit view group.
  3. Apply your changes and click Save to confirm.

#Delete a view group

Delete a custom view groupDelete a custom view group

  1. Find a custom view group in the contextual sidebar.
  2. Click on the context menu and select Delete view group.
  3. Confirm the deletion.

#Organizing custom view groups

Reorder custom view groupsReorder custom view groups

  1. Hover your mouse next to a custom view inside a view group.
  2. Grab the six-dot handle to the left of the label.
  3. Drag and drop to change the order.