Hello friends,
I'm struggling with multiattachments grid. My main goal is to present more than one attachment(send by email) in grid. At this moment i can present just one. I don't know why. Can someone give me small tip how to deal with this task? This is my code for attachments grid:
load( local!documents: folder(tointeger(ri!request.folderId), "documentChildren"), a!sectionLayout( label: "", contents: { a!gridLayout( label: "Attachments", labelPosition: "ABOVE", headerCells: { a!gridLayoutHeaderCell(label: "Document Name") }, columnConfigs: { a!gridLayoutColumnConfig( width: "DISTRIBUTE" ), a!gridLayoutColumnConfig( width: "DISTRIBUTE" ) }, rows: a!forEach( local!documents, rule!AA_AttachmentsGridRow( document: fv!item, index: fv!index ) ), selectionvalue: ri!request.advisorDocument_folder_id, validations: {}, shadeAlternateRows: true ) }, iscollapsible: true ))
+ the expression called "AA_AttachmentsGridRow"
a!gridRowLayout( id: ri!index, contents: { a!linkField( label: "name " & ri!index, links: a!documentDownloadLink( document: ri!document, label: document(ri!document, "name") ) ) })
this is how it look inside the process model
and there is always one attachement no matter what
Discussion posts and replies are publicly visible