X-Marketing provides high performance search queries for dynamic content.
Please refer to Experience API Overview to for more information on how to use X-Marketing.
This query allows you to evaluate dynamic content based on:
- dynamic content place
- store
- product
- category
- tags
- user groups
evaluateDynamicContent(
storeId: String,
placeName: String,
categoryId: String,
productId: String,
cultureName: String,
toDate: DateTime,
tags: [String],
userGroups: [String])
)
# | Name | Type | Description |
---|---|---|---|
1 | storeId | StringGraphType | Store Id |
2 | placeName | StringGraphType | Dynamic content place name |
3 | categoryId | StringGraphType | Category Id |
4 | productId | StringGraphType | Product Id |
5 | cultureName | StringGraphType | Culture name (e.g. "en-US") |
6 | toDate | StringGraphType | Evaluation date |
7 | tags | List of StringGraphType | List of tags |
8 | userGroups | List of StringGraphType | List of user groups |
{
evaluateDynamicContent(
storeId: "B2B-store"
placeName: "MainSlider"
tags: ["Main"]
userGroups: ["Customers"]
productId: "8b7b07c165924a879392f4f51a6f7ce0"
) {
items {
id
name
contentType
dynamicProperties {
name
value
}
}
totalCount
}
}