Dataset Lookup in AJO Personalization Returning Empty Object
Summary:
I am using dataset lookup in AJO personalization, but it is returning empty values. My dataset has a primary identity and data is present. I have tried both approaches — with fields nested under the tenant namespace and also without nesting — but still getting empty results. Not sure what is causing the issue or how to fix it.
AEP configuration:
schema : {
tenant : {
offerID (primary id),
title ,
description
}
}
- Dataset is enabled for lookup
- Identity is marked as primary
- Data exists in dataset (e.g., "IC121")
- Using hardcoded ID in lookup
Note: Schema and Dataset is not profile enabled
In AJO (Campaign - CBE based), I am trying to access this data using personalization:
Code:
[ {{ datasetLookup datasetId="Dataset" id="ID121" result="offer"}}
{
“title” : “{{offer.tenant.title}}”,
“description” : “offer.tenant.description”
}]
Issue:
The response is:
{
title :””,
description : “”
}
It seems like the lookup is not executing. Can anyone help me what i am missing
Thanks in advance