Skip to content

Custom metadata

Metadata fields define the Lake’s schema for values such as page views, a product area, or a deprecated-content flag. A schema definition is different from a value attached to a content item.

Type Example
Text Product line or campaign label
Number Total page views or a numeric KPI
Boolean A true/false Bird flag

Select the Lake, open Metadata, and choose New Metadata Field. Enter a recognizable name, choose the correct type, add a description, and choose Create. You need permission to manage the Lake’s metadata schema.

Metadata overview listing Number fields for Total page views and Votes

Create a new Metadata field dialog with Name, Type, and Description

This form defines the field; it does not manually populate values on each content item.

Use the Blacklake App’s matching Update number metadata, Update text metadata, or Update boolean metadata action to populate content values. Map the intended content identity and variant, and use the corresponding get action to check the stored value. See Metadata actions.

For a small example, define Total page views as Number, then populate two test items with values 42 and 100 through the number-metadata action. In a strategy, choose Add metadata filter, select the field, select Greater than, enter 42, and add the filter before saving the strategy.

Metadata filter dialog choosing Total page views, Greater than, and value 42

The expected numeric comparison is: 100 is eligible; 42 is not. Verify the actual preparation result on the test items before relying on the rule. The filter determines eligibility; it does not rank matches by page views.

Use the operators offered for the selected type; a text field and a number field do not offer the same comparisons. Treat missing values as a separate test case rather than assuming they are zero, false, or eligible. Review affected Birds before renaming or deleting a schema field, and verify its values and filters afterward.

Continue with Strategies for trust, review, date, and draft controls.