Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.
SOLVED

Dataset lookup error in fragments

Avatar

Level 5

When I try to save a visual fragment with the dataset lookup function, it throws the below error but works fine in email templates.

 
 

 

 

{{datasetLookup datasetId="1234567890" id="101" result="store" required=false}}
 Product details: Name:{{store.productName}}
 Description:{{store.productDescription}}
 Amount: {{store.productListPrice.amount}}
 Conversion Date: {{store.productListPrice.conversionDate}}
 Currency: {{store.productListPrice.currencyCode}}

 

 

There are no errors in the expression

But when I try to save the fragment, I get the below error, but the same is working fine in the email template.

kotisyamala_0-1740344626029.png

kotisyamala_1-1740344663162.png

 

Is anyone on the same page? any solutions would be helpful.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Kindly take a look at the following note https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio... 

 

Dataset lookup is currently not supported in fragments. 

Mohan_Dugganab_0-1740379968822.png

 

View solution in original post

5 Replies

Avatar

Correct answer by
Employee Advisor

Kindly take a look at the following note https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalizatio... 

 

Dataset lookup is currently not supported in fragments. 

Mohan_Dugganab_0-1740379968822.png

 

Avatar

Level 5

That's right, @Mohan_Dugganab . I'm not using an expression fragment; it's a visual fragment. But still not working.

 

Is this applicable to visual fragments as well?

Avatar

Employee Advisor

Yes, it is

Avatar

Employee Advisor

@KotiSyamala will reach out to you with some additional questions. 

Avatar

Level 1

Hi @Ivan_Mironchuk @Mohan_Dugganab I was attempting to use dataset lookup within a fragment, but encountered an error during implementation. Could you please confirm if the approach is still valid, or if there have been any recent updates to it?
Would appreciate your help in resolving this.

I’ve attached the error below for your reference.

 Dataset lookup error .png