---
schema_version: "1"
id: 33e6683e003652983645807e919887f3129d4f3440d293f7e4aca7f280c96177
title: Bind Component Attributes to Content Assets
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_pd_bind_content_asset.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_pd_bind_content_asset.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7bd70ab4f1367cea4143c419cdcf07b0a3d5443c12a5e61eba529c4879c26c9d
description: Bind a component attribute to a content asset attribute in B2C Commerce Page Designer so the component dynamically displays the content asset's data.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Bind Component Attributes to Content Assets

Bind a component attribute to a content asset attribute in B2C Commerce Page Designer so the component dynamically displays the content asset's data.

An administrator must enable the **Enable Page Designer Data Binding** feature switch. In Business Manager, click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Global Preferences** | **Feature Switches**.

Create the content asset you want to use before beginning. For more information, see [Create a Content Asset in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_creating_a_content_asset.htm&release=264.0.0&type=5 "Create content assets that include text, images, and links via URLs. You can also import content assets from external sources. See Content Asset Types."). If the content asset is offline, Page Designer displays a warning that the content won't appear in the storefront.

1. From the Page Designer visual editor, select a component.
    
    The right pane opens, displaying the component's attributes.
2. In the right pane, click **Select Content Asset**.
    
    A content asset picker opens, displaying available content assets.
3. Search for or browse to the content asset you want to use.
    
    Filter content assets by name or ID.
4. Select the content asset, then click **Apply**.
    
    The content asset is now associated with the component.
5. (Optional) Bind a component attribute to a content asset attribute.
    1. Click the data binding icon ![data binding icon.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/databinding.png) next to the component attribute.
    2. Select the content asset attribute from the dropdown menu.
        
        The dropdown shows only attributes from the content asset's **Content** section that have a compatible type (text to text, string to string, or rich text to HTML) and contain content.
6. Click **Save** to save your changes.

The component now displays content from the selected content asset. The bound attribute becomes read-only.

- To select a different content asset, click **Change Selection**.
- To remove the binding and enter content manually, click **Unassign Content Asset Attribute**.
- To edit the content asset itself, click the content asset name (shown as a link) in the right pane.