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
Hey, the format for utilizing the document download link is as follows:
a!linkField( label: "Link", labelPosition: "ABOVE", links: { a!documentDownloadLink( label: "Document Link", document: 8552 /* document id */ ) } )