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
Hi swapnar6405 ,
There is no issue with the code.But if you are getting error means, may be there is null value in the fv!item.document. So try to handle the null value Try if(isNullOrEmpty(fv!item),somedefaultimage,fv!item.document)If there is no nulls and giving same error means try to use index instead of .document.