I want to show the contents of a folder on record dashboard so that all the docu

I want to show the contents of a folder on record dashboard so that all the documents in the folder are available as a link.
Tried using getdocumentsfromfolder() but think it doesn't work on SAIL. Please suggest....

OriginalPostID-99359

OriginalPostID-99359

  Discussion posts and replies are publicly visible

Parents
  • I tried various alternatives but in vain. Can you please confirm if the current usage is correct:
    a!linkField(
                        label: "ABC",
                        links: {a!applyComponents(
                        function: fn!a!documentDownloadLink
                        array: 1 + enumerate(length(getdocumentsfromfolder(rf!XXX_fol,true()))))})

    where XXX is the folder from where documents needs to be picked.

    I am getting the following error:
    Invalid function a!linkField (not available as [])
Reply
  • I tried various alternatives but in vain. Can you please confirm if the current usage is correct:
    a!linkField(
                        label: "ABC",
                        links: {a!applyComponents(
                        function: fn!a!documentDownloadLink
                        array: 1 + enumerate(length(getdocumentsfromfolder(rf!XXX_fol,true()))))})

    where XXX is the folder from where documents needs to be picked.

    I am getting the following error:
    Invalid function a!linkField (not available as [])
Children
No Data