Hi
Need some one help!!
I want to create a button style card layout.I cannot change outer line color .How can i change outline color
a!columnsLayout( columns: { a!columnLayout( contents: { a!cardLayout( contents: a!richTextDisplayField( value: { a!richTextItem( text: "Back", color: "ACCENT", style: "STRONG" ) }, align: "CENTER", marginAbove: "NONE", marginBelow: "EVEN_LESS" ), link: a!dynamicLink( value: "ACCEPT" /*saveInto: local!acceptTask,*/ /*showWhen: count(tointeger(local!selected)) <= 50*/ ) /*style: "INFO"*/ ) } ), a!columnLayout( contents: {} ), a!columnLayout( contents: {} ) } )
My desire image is below.
Discussion posts and replies are publicly visible
Card layouts do not support adjusting the border color.
Stefan Helzle
How can I create the button design I want without using card layout?
I do not fully understand your question. Is a buttonWidget not an option for you?
spykid said:How can I create the button design I want without using card layout?
a!buttonWidget()
This is the standard button. It's usable in ALL but a VERY FEW use cases. What exactly is your situation?
Mike Schmitt
Each screen is created with a separate Process Model.I want to return to the list screen after clicking the back button.The list screen is not displayed when calling from site object.create back button with card layout and set it to a!startprocesslink, a list screen will be displayed when call it from site object.
Gotcha. Start Process Link is one of the things that requires the "card as button" pattern override to be used. Unfortunately that means you will need to work within the constraints of the Card Layout component. I would suggest that you can set its background color, that might simply need to be enough. Watch in future iterations of appian as they are likely to add new tweaks and/or enhance current capabilities, but I wouldn't let your current design depend on possible future additions that may or may not happen.