Hi, I am new to Interaction studio and I am doing this thing where I have to fetch User Attribute values and display them in Web Template. I have tried using ${user.attribute....} but unable to fetch values with this.
Mateusz Dąbrowski (mateuszdabrowski.pl) Forum Ambassador
You need to pull those attributes in the serverside.ts part of your Template with context.user.attributes.attributeName (for example, within return statement of run(context: CampaignComponentContext) so that it is visible in the payload.
Only then you will be able to leverage that in the frontend handlebars.hbs section by referencing the payload passed from TS.