Hi Team,
We have created a document with the name “Test Document” in V13 and it contains 3 fields of type string (name, description, link).
and when we are trying to get the document fields(name, description and link) as a JSON response in FTL. Instead of document field value(“name”), it is returning document node name. But for other fields description and link, it returns expected response.
FTL Code:
<#list person.managers as documentBean>
<#assign doc=documentBean/>
<#if doc.name??>
“name” :"${doc.name}"
</#if>
</#list>
response: name: “test-document”
expected response: name: “Test Document”
I am able to get the expected by using below syntax.
“${doc.property[‘brx:name’]}”
Could you please provide any inputs?
Thanks,
Yeshwanth.