a!richTextDisplayField( value: a!richTextItem( text: "Download Document", link: a!documentDownloadLink( document: todocument(110854) ) ) )
I am trying to download a document (The document exists in the folder ) but it is giving an error like:
{ "error": "APNX-1-0000-000", "message": "Unable to find File for content object with id: 110829", "title": "An Error Has Occurred" }
Discussion posts and replies are publicly visible
When I looked closely, I noticed that the error id 110829, but your code uses 110854. Please ensure you’re using the correct document ID.If the issue persists, verify that the user has the necessary permissions to access the document.