Use cases

Add new attributes for segmenting users

Add and utilize new attributes for segmenting customers to create more detailed and practical user segments.

Example 1. Add new attributes such as interests and gpa
  1. Add new attributes such as interests and gpa to the SCV schema.

  2. Deploy the updated schema using the DXP CLI. Read the DXP CLI documentation for detailed instructions on the deploy command.

  3. After updating the schema, these new attributes will appear in the Segmentation Builder screen, allowing you to use them to segment users.

  4. The new attributes will also appear in the Customer Profile detail pages, providing a comprehensive view of each customer.

Restricting customer data access from a portal

In this student portal example, a student should be able to read their username and email address but not modify them.

The student can read and change their first name, last name, and phone number.

The student cannot view (or modify) their GPA from the portal.

Example 2. Example schema
...
"x-scv-permissions": {
  "scv:customer": {
    "scv:property:username": ["read"],
    "scv:property:email": ["read"],
    "scv:property:firstName": ["read", "write"],
    "scv:property:lastName": ["read", "write"],
    "scv:property:phoneNo": ["read", "write"],
    "scv:property:gpa": []
  }
}
...

Build a bespoke single customer view

To add attributes from source systems and capture values in the CDP Single customer view, view tailored customer profiles in the Single customer view

Example 3. Add profileImageURL attribute
  1. Include a profileImageURL attribute to store URLs to customer profile images.

  2. Update the schema by adding new attributes such as profileImageURL.

  3. Deploy the updated schema using the DXP CLI, referring to the DXP CLI documentation for the dxp-next cdp schema deploy command.

  4. After updating the schema, the new attributes will also appear in the Customer Profile detail pages, providing a comprehensive view of each customer:

    Objective

    Add attributes from source systems and capture values in the CDP SCV.

    Example

    Include a profileImageURL attribute to store URLs to customer profile images.

    Customer profile attributes screen

    Show how new attributes are added and displayed in the customer profile.

  5. Finding customers by custom attributes:

    Objective

    Search for customers using custom attributes defined in the schema.

    Example

    Search by firstName or lastName using the x-scv-searchable hint.

    Search functionality

    Demonstrate the search capabilities using custom attributes.

Integration with CDP and third-party systems

You can supply the updated SCV schema to the SCV Connector for integration with the CDP and other third-party systems.

Schema Copy

When creating the credential for the integration flow on Squiz Integration, ensure that the entire SCV schema is copied into the schema field of the credential.

Dynamic Display

This step is crucial for the SCV component to show all fields from the schema to function correctly dynamically.

Read the SCV component section in the Squiz Integration documentation for more information.