Forum Discussion
VarunGrazitti
10 years agoBoss
vishwajeet_hol - You mean the ID of the article? if yes, it would be same as for the other topics.
More details here - https://community.lithium.com/t5/Developers-Knowledge-Base/FreeMarker-context-objects-and-directives/ta-p/9217
and
here, https://community.lithium.com/t5/Developers-Knowledge-Base/page-FreeMarker-context-object/ta-p/9331
More details here - https://community.lithium.com/t5/Developers-Knowledge-Base/FreeMarker-context-objects-and-directives/ta-p/9217
and
here, https://community.lithium.com/t5/Developers-Knowledge-Base/page-FreeMarker-context-object/ta-p/9331
Nath
7 years agoGuide
Hi,
You can't get current ID pageBlog with var env ?
the var ${env.context.message} return error (message is null) :(
- VikasB7 years agoBoss
Are you trying to get the blog article id using context object? If yes, then you have to use the message.id. Here is the documentation
https://freemarker-docs-portal.lithium.com/refer/contextObjects#message
Related Content
- 12 years ago
- 4 years ago
- 4 years ago
- 13 years agoInactive User