i link: a!documentDownloadLink(document: fv!item.appianDocId ),
used the above two lines to download a document but it does not download , it open a tab with a message error : { "error": "APNX-1-0000-000", "message": "Invalid Content ID", "title": "An Error Has Occurred"}
Discussion posts and replies are publicly visible
a!gridColumn( label: "Download Doc", value: a!richTextDisplayField( value: a!richTextIcon( icon: "download", link: a!documentDownloadLink( label: document( fv!row['recordType!recordTypeName.fields.documentId'], "name" ), document: todocument( fv!row['recordType!recordTypeName.fields.documentId'] ) ) ),
), align: "CENTER", width: "1X" )
Hi , try to check with the above code