Hi Appian community ,
i want to help me to make a editable grid that have on it multi field like a document field the name of this field and the classification field , ok this editable must connect with record (document)
in name document i must put the name of the documnet that i uploaded it
please help me give me a code for that
Discussion posts and replies are publicly visible
a!localVariables( local!document: Data of Record Query, { a!gridLayout( totalCount: count(local!document), headerCells: { a!gridLayoutHeaderCell(label: "Document" ), a!gridLayoutHeaderCell(label: "Name" ), a!gridLayoutHeaderCell(label: "Classification" ), a!gridLayoutHeaderCell(label: "Updated By" ), a!gridLayoutHeaderCell(label: "Updated On" ), }, columnConfigs: { a!gridLayoutColumnConfig(width: "DISTRIBUTE", weight:3 ), a!gridLayoutColumnConfig(width: "DISTRIBUTE", weight:3 ), a!gridLayoutColumnConfig(width: "DISTRIBUTE", weight:3 ), a!gridLayoutColumnConfig(width: "DISTRIBUTE", weight:3 ), a!gridLayoutColumnConfig(width: "DISTRIBUTE", weight:2 ), }, rows: a!forEach( items: local!document, expression: a!gridRowLayout( contents: { a!fileUploadField( value: fv!item[Record Field to upload], saveInto: fv!item[Record Field to upload],buttonStyle: "STANDARD",buttonDisplay: "ICON"), a!textField( value: fv!item[Record Field for Document Name], saveInto: fv!item[Record Field for Document Name], required:true ), a!textField( value: fv!item[Record Field classification], saveInto: fv!item[Record Field classification], required:true ), a!textField( value: fv!item[Record Field for Uplaoded By], saveInto: fv!item[Record Field for Uplaoded By], required:true ), a!dateField( value: fv!item[Record Field for Date], saveInto: fv!item[Record Field for Date], required:true, align: "RIGHT" ), }, id: fv!index ) ), addRowlink: a!dynamicLink( label: "Add Document", value: { startDate: today() + 1 }, saveInto: { a!save(local!document, append(local!document, save!value)) } ), rowHeader: 1 ) } )
In the documentation you will find a ton of examples
docs.appian.com/.../SAIL_Recipes.html