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
RE: How to get the data of subfield in adt
i have a repeatable field in structure which name is title . inside this i have another text field subtitle . my question is how to get the data of subtitle .
You can either drag&drop or double click the template elements, so that you get some sample code into your template. For something within a repeatable field, you'll need to place the template code within the loop for that repeatable field.
ADT are cool but do the right way with structure, model and ADT :
https://liferay.dev/fr/blogs/-/blogs/divide-and-conquer-rendering-structured-web-content-with-the-asset-publisher
For title it is special, you need to use :
.vars['reserved-article-title'].data
Eric.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™