Hi, I have paging grid to show all documents and I want to create a

Hi,

I have paging grid to show all documents and I want to create a link to the document for download. There is a link created but not to the document. Any suggestions on expression so i can get the link to document?
Expression:
a!gridTextColumn(
label: "Name",
field: "appiandocumentid",
data: local!datasubset.data.name,
links:apply(a!documentDownloadLink(document:_), index(local!datasubset.data, "appiandocumentid", {}))
),

OriginalPostID-173948

OriginalPostID-173948

  Discussion posts and replies are publicly visible

Parents
  • The temporary document ID stored in SAIL before form submission is not guaranteed to be actual docId-1. If you have more than one document upload on a form, this will change. The only way I know of to guarantee that you get the document ID correctly is to save it off as a form input and utilize it as an AC parameter into the form via the process model.
Reply
  • The temporary document ID stored in SAIL before form submission is not guaranteed to be actual docId-1. If you have more than one document upload on a form, this will change. The only way I know of to guarantee that you get the document ID correctly is to save it off as a form input and utilize it as an AC parameter into the form via the process model.
Children
No Data