ARIS - Q&A Session 9:00am CEST
ARIS - Q&A Session 6:00pm CEST

View all


The problem of this code is: the FontList[0].Font(nLocale) just overwrites the font of the attribute, but I want them to be merge. For example: I would like to change only font size of an attribute when it's printed out. Looking forward to hear from you. Thanks

var nLocale = Context.getSelectedLanguage()

var p_aModel = ArisData.getSelectedModels()

var p_StyledValue = p_aModel[0].Attribute(Constants.AT_NAME, nLocale).getHTMLFormattedValue())

var FontList = ArisData.getActiveDatabase().FontStyleList()

p_StyledValue = p_StyledValue.getMergedFormatting(FontList[0].Font(nLocale) )

p_output.OutputFormattedText( p_StyledValue.getHTML() )

Featured achievement

You blog more than you breathe, and your articles stand out: Create 20 more articles, receive very good feedback and stimulate conversations
Recent Unlocks


Weekly | All-time
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon