Hi,
Is there any functionality in Appian to show pop-up??
If not, how can we show a pop-up without using interface and button confirmation??
Thanks in advance,
Gousii.
Discussion posts and replies are publicly visible
I will post an article on my blog soon. It includes an example of how to show a pop-up window in Appian. This is not rocket science, you just have to hide your UI and show a card layout with shadows enabled instead.
Find the example below:
a!localVariables( local!showPopup: false, { a!sectionLayout( showWhen: not(local!showPopup), contents: { a!textField( label: "Text", ), a!paragraphField( label: "Paragraph", ), a!buttonArrayLayout( buttons: { a!buttonWidget( label: "Show Popup!", icon: "arrow-right", value: true, saveInto: local!showPopup, style: "PRIMARY" ) }, align: "CENTER" ) }, ), a!columnsLayout( showWhen: local!showPopup, columns: { a!columnLayout(), a!columnLayout( contents: { a!cardLayout( marginAbove: "EVEN_MORE", showBorder: false, showShadow: true, contents: { a!sectionLayout( contents: { a!richTextDisplayField( labelPosition: "COLLAPSED", value: { a!richTextItem( text: { "This is a fake popup window!" }, size: "MEDIUM_PLUS" ), char(10), char(10), "And shows some text to the user." } ) }, divider: "BELOW" ), a!buttonLayout( primaryButtons: { a!buttonWidget( label: "OK", icon: "check", style: "PRIMARY", value: false, saveInto: local!showPopup ) }, secondaryButtons: { a!buttonWidget( label: "Cancel", icon: "times", style: "NORMAL", value: false, saveInto: local!showPopup ) } ) }, ) } ), a!columnLayout() }, ) } )
I got it