I want to bold text on confirmation message when i click the button.
Discussion posts and replies are publicly visible
As far as i know this is also bold...
Submit and open new thing is written under confirmHeader but i want to bold data which is written under confirmMessage
rishukumarg1965 Simple answer is No. You cannot make changes to the format of that text written in confirmation message.
Sorry AFAIK Can't do that,instead Use ConfirmHeader and Conact() and Line space
a!buttonWidget( confirmHeader: {concat("Appian Is BPM Tool", char(10), "Business Process model")} )
ok
same code snippet but to add more space between the header and text
a!buttonWidget( confirmHeader: { concat( "Appian Is BPM Tool", repeat(2, char(10)), "Business Process model" ) } )
Create a rule with text as rule input -
a!localVariables( local!lRange: 120302 - 97, local!uRange: 120276 - 65, joinarray( char( a!forEach( items: code(ri!text), expression: a!match( value: fv!item, whenTrue: and(fv!value > 96, fv!value < 123, ), then: fv!value + local!lRange, whenTrue: and(fv!value > 64, fv!value < 91, ), then: fv!value + local!uRange, default: fv!value ) ) ), "" ) )
Now call this from your interface -
{ a!buttonArrayLayout( buttons: { a!buttonWidget( label: "Button", style: "OUTLINE", confirmMessage: rule!MGS_bolding(text: "hello") ) }, align: "START", marginBelow: "NONE" ) }
amiteshsin thankyou it's working fine. Can we apply colors on the text on this code ??
I covered this use case in a blog post.
https://appian.rocks/2023/04/17/formatting-labels-in-appian/