---
title: "Reference use case"
slug: "reference-use-case"
abstract: "Description of a scenario for referencing related blog posts and recipes in a blog item and for finding all recipes written by the same chef."
---
# Reference use case

In this scenario, you are managing a food-related blog. You want to:

- Reference related blog posts and recipes in a blog item.
- Find all recipes written by the same chef.

> [!note]
>
> **Before you begin**
>
> Complete the [reference configuration example](https://doc.sitecore.com/ch/en/users/content-hub/reference-configuration-example.html) to set up the required members.

## Reference existing content in a blog post

To reference blog and recipe content in a blog post:

1. On the menu bar, click **Content** > **Search**.
2. On the **Search** page, click the blog you want to modify.
3. On the blog details page, scroll down to the **ATTACHMENTS** section, click :mdiPlus: **Add** and select :mdiPlus: **Add existing items**.
4. In the **Add existing items** dialog, select the content items you want to reference in your blog, then click **Add**.

    The list of content items you added shows on the blog details page.

5. On the blog details page, click **Save**.

## Create a recipe reference from a blog details page

To create a recipe reference directly from a blog details page:

1. On the menu bar, click **Content** and select **Search**.
2. On the **Search** page, click the blog you want to modify.
3. On the blog details page, scroll down to the **RELATED CONTENT** section, click :mdiPlus: **Add** and select :mdiPlus: **Content**.

    ![create recipe reference](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/create_recipe_reference.png)

4. In the **Content** dialog, in the **Name** field, enter the name of the recipe.

5. To select a type, in the **Type** field, click :mdiPlus: and then in the **Type** dialog, select *Recipe*, then click **Save**.

6. In the **Content** dialog, click **Save**.

    The recipe you added shows on the blog details page.

    ![New created recipe](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/new_created_recipe.png)

7. On the blog details page, click **Save**.

## Find all recipes written by a chef

To find all the recipes written by the same chef:

1. On the content **Search** page, click the chef whose recipes you want to see (for example, *Master Chef*).

    ![Select chef content](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/select_chef_content.png)

2. In the top-right corner of the chef details page, click **More actions** :mdiDotsHorizontal: > **Referenced by** :mdiFileDocumentMultipleOutline:.

    ![Click referenced by operation](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/click_referenced_by_operation.png)

    The **Referenced by** dialog lists every content item referencing *Master Chef* as the chef who wrote the recipe.

    ![List of reference location](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/list_of_reference_location.png)