Overview
In this tutorial, you’ll create and apply Metadata in Sift, then use it to filter a Run. Metadata helps you organize resources using consistent key-value pairs across your workspace.Prerequisites
- At least one Run in your workspace
Step 1: Understand Metadata in Sift
Metadata in Sift uses key-value pairs to organize and filter resources across your workspace. Each Metadata key is defined once and assigned a data type to ensure consistent values. Metadata values support three data types: string, number, and boolean. You can apply Metadata to the following resources: Runs, Assets, Annotations, Rules, Reports, Report Templates, Campaigns, Calculated Channels, and User-Defined Functions.Step 2: Create a Metadata key
Let’s create a numeric Metadata key.- Click your profile icon, which shows the first initial of your account name.
- Select Manage.
- In the Manage navigation menu, click Metadata.
- Click + Create Metadata Key.
- In the Name box, enter the following:
- In the Type list, select number.
- Click Create.
Step 3: Add a Metadata key to a Run
Now, let’s add the created Metadata key to a Run.- In Sift, click .
- In the Runs table, click the name of a Run to add the Metadata key you just created. Later in Step 5, you will have the option to remove the Metadata key. For now, we will use this Run as an example to demonstrate how Runs, like all Sift resources, can support Metadata.
- Click Edit.
- Click + Add Metadata.
- In the Select or create key list, select priority_level.
-
In the Enter number list, enter the following (where
1on the 1-5 scale refers to high priority): - Click Save changes.
Step 4: Locate a Run by its Metadata key
Let’s locate the Run using the priority_level Metadata key.- In Sift, click .
- In the Runs tab, click Metadata.
- In the Select key list, select priority_level.
- In the Enter number box, enter 1.
Step 5 (optional): Remove Metadata key
To remove the Metadata key added to the Run, consider the following steps:- In the Run’s overview page, click Edit.
- In the Metadata section, locate the priority_level key.
- Click Remove.
- Click Save changes.
Conclusion
You created a Metadata key, applied it to a Run, and used it to filter resources in Sift. Metadata helps you organize your workspace and quickly locate the data you need.Resources
- Reference: Metadata
- How-to guide: Manage Metadata