Hi,
On my user profile schema, I have an object array that stores information of the accounts the user has access too. Something like[{"accountName": "A","balance": 10}, {"accountName":"B","balance": 9}]. In the web channel personalization I was able to display plain text or any attributes that's not in an array. However whenever I tried using an attribute that's an array, it would return blank. Even when I have wrap it in an array function like
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @FrankXu3
I believe this is current web channel limitation in AJO. Arrays of objects aren’t supported in web channel personalization because personalization engine is optimized for simple, fast, and secure substitutions.For complex data, flatten key attributes or handle rendering in your web application’s code and render that data as needed. This gives you full control over how arrays of objects and other advanced structures are displayed in your UI.
Thanks
AJODev
Hi @FrankXu3
I believe this is current web channel limitation in AJO. Arrays of objects aren’t supported in web channel personalization because personalization engine is optimized for simple, fast, and secure substitutions.For complex data, flatten key attributes or handle rendering in your web application’s code and render that data as needed. This gives you full control over how arrays of objects and other advanced structures are displayed in your UI.
Thanks
AJODev
Thanks for the sanity check. Wish this was documented somewhere lol.
Views
Replies
Total Likes