We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.
Hi Guys,
I have an issue that is it possible to show/display the list of items as menu in Report?
As shown below.
Thanks,
Sravani.
Discussion posts and replies are publicly visible
sravanis , Below code snippet would be helpful for your requirement.
load( local!buttonLabels: { "Submit1", "Submit2", "Submit3", "Submit4" }, local!buttonAction, a!formLayout( label: "Sample Test", firstColumnContents: { a!buttonLayout( secondaryButtons: { a!buttonWidgetSubmit( label: local!buttonLabels[1], style: "PRIMARY", value: local!buttonLabels[1], saveInto: local!buttonAction ) } ), a!buttonLayout( secondaryButtons: { a!buttonWidgetSubmit( label: local!buttonLabels[2], style: "PRIMARY", value: local!buttonLabels[2], saveInto: local!buttonAction ) } ), a!buttonLayout( secondaryButtons: { a!buttonWidgetSubmit( label: local!buttonLabels[3], style: "PRIMARY", value: local!buttonLabels[3], saveInto: local!buttonAction ) } ), a!buttonLayout( secondaryButtons: { a!buttonWidgetSubmit( label: local!buttonLabels[4], style: "PRIMARY", value: local!buttonLabels[4], saveInto: local!buttonAction ) } ) }, secondColumnContents: { choose( if( isnull( local!buttonAction ), 1, wherecontains( local!buttonAction, local!buttonLabels ) ), a!sectionLayout( label: "Submit1", firstColumnContents: { a!paragraphField( value: "Submit1" ) } ), a!sectionLayout( label: "Submit2", firstColumnContents: { a!paragraphField( value: "Submit2" ) } ), a!sectionLayout( label: "Submit3", firstColumnContents: { a!paragraphField( value: "Submit3" ) } ), a!sectionLayout( label: "Submit4", firstColumnContents: { a!paragraphField( value: "Submit4" ) } ) ) }, validations: {} ) )