configObj in your widget file.
Note: The componentId and ssrKey are random keys that should be unique.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
configObj in your widget file.
const configObj = {
modelInternalName: 'your_component_model_internal_name',
traitConfig: [
{
type: 'exp_contentModalPopUp',
modelInternalName: 'your_component_model_internal_name',
},
]
}
{
PRODUCTION6e3bab01edcd4771ad05203ed79042d69xdt10du_published_version_id: "baaf3cdb-f462-40d8-93f6-41e720b7f8e9-8"
content_model_id: "a2285cb8-fa8b-4fcb-83f8-c72c164040bd"
content_model_name: "Zigzag Layout"
current_version_id: "baaf3cdb-f462-40d8-93f6-41e720b7f8e9-8"
current_version_name: "#8"
id: "baaf3cdb-f462-40d8-93f6-41e720b7f8e9"
published_version_name: "#8"
title: "Lorem ipsum"
}
await ContentService.getCollectionTypeContentById({
id: 'id',
versionId: 'current_version_id',
modelName: 'model_internal_name',
componentId: 'random_keu',
ssrKey: `random_id_for_ssr`,
enableSSR: true,
});