Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
DXP CE 7.3 Variables to display Web Content Article Data
I have added METADATA to the top of a Web Content Article by adding ${.vars['reserved-article-display-date'].getData()} to the Structure's Display Template
Now I want to add the same sort of variable to collect information on the Web Content Articles:
- STATUS (approved or draft)
- REVIEW DATE
- EXPIRATION DATE
- APPROVER'S NAME
- APPROVER'S NAME
- APPROVER'S JOB TITLE
- APPROVER'S EMAIL ADDRESS
I found a great resource, but this is all I can get and display
- reserved-article-asset-tag-names
- reserved-article-author-comments
- reserved-article-author-email-address
- reserved-article-author-id
- reserved-article-author-job-title
- reserved-article-author-location
- reserved-article-author-name
- reserved-article-author-organization
- reserved-article-create-date
- reserved-article-description
- reserved-article-display-date
- reserved-article-id
- reserved-article-modified-date
- reserved-article-small-image-url
- reserved-article-title
- reserved-article-type
- reserved-article-url-title
- reserved-article-version
Use in freemarker:
${.vars['reserved-article-create-date'].data}
Use in velocity: $reserved-article-create-date.getData()
Any help would be appreciated.
Thanks
Nick