Forum Discussion
nethanpaul
2 months agoContributor
To get the article ID in a TkbArticle on Community Classic, try the following:
- Direct Access: freemarker${article.id} or ${tkbArticle.id}
- Model or Context: freemarker${model.id} or ${page.context.article.id}
- Custom Field (if available): freemarker${tkbArticle.customFields.canonical_url}
- Debugging: Dump all available variables: freemarker<#list .data_model?keys as key> ${key}: ${.data_model[key]}<br> </#list>
These should help you locate the article ID.
Related Content
- 4 years ago
- 5 months ago
- 13 years agoInactive User