Forum Discussion
keshavkelkar
Ace
PerBonomi Can you please tell me the REST call to or alternative way to get ${env.context.message.id} ?
I am getting freemarker error when I try to access ${env.context.message.id}, so I need some alternative way such as REST call or any other so that I could get the same value as I am getting by ${env.context.message.id} .
ClaudiusH
8 years agoKhoros Alumni (Retired)
Which page did you add your custom component to? e.g. a tag page probably wouldn't have the env.context.message object. Also keep in mind that the preview in studio will only have some of the context objects populated with the community studio context. So if you see that freemarker error there... that doesn't necessarily mean your component won't work on the actual page.
Related Content
- 2 years ago
- 11 years ago
- 2 years ago
- 4 years ago
- 5 months ago