Hi,
The below line of is working in "Expression Mode" and when I click on "TEST" button during development. But, when I saved and test using browser, I am getting an error like
{"error":"APNX-1-0000-000","message":"Invalid Content ID","title":"An Error Has Occurred"}.Any suggessions please.
a!richTextDisplayField( labelPosition: "COLLAPSED", value: { a!richTextItem( text: "download doc", link: a!documentDownloadLink(document: fv!item.document) ) } )
Discussion posts and replies are publicly visible
It sounds like the document that corresponds to "fv!item.document" doesn't exist in the system. Make sure all members of the array you put for the "items" parameter of a!forEach() has actually a key called "document" and each value that corresponds to this key is a document that exists in the application.