Hi guys,
I tried to use document picker to select documents, but its selecting the same document multiple times. I want the selected documents to be distinct. Thanks for the solutions in Advance.
Discussion posts and replies are publicly visible
Hi Kavya,
A union() in the save into might help to get distinct documents:
a!localVariables( local!documents, a!pickerFieldDocuments( label: "Document Picker", labelPosition: "ABOVE", folderFilter: tofolder(3244), value: local!documents, saveInto: { local!documents, a!save( local!documents, union(local!documents, local!documents) ) }, maxSelections: 3, validations: {} ) )
As far as I know, we cannot restrict the document picker to not show selected values again.
Thanks that works.