Skip to main content

Posts

Showing posts from January, 2018

Display Multilingual Message in Aras Innovator

There is an ItemType named "UserMessage" defining multilingual message. Normally, it is hidden, you can change its TOC Access to make it show up. Text of UserMessage is Multilingual String and could be called directly by server-side method of Class ErrorLookup inside Call Context Object (CCO). Here is syntax: CCO.ErrorLookup.Lookup(UserMessageName As String) 'Get Text of UserMessage CCO.ErrorLookup.Lookup(UserMessageName As String, Arg0 As String) 'Get Text of UserMessage and execute string interpolation for {0} CCO.ErrorLookup.Lookup(UserMessageName As String, Arg0 As String, Arg1 As String) 'Get Text of UserMessage and execute string interpolation for {0} and {1} CCO.ErrorLookup.Lookup(UserMessageName As String, Arg0 As String, Arg1 As String, Arg2 As String) 'Get Text of UserMessage and execute string interpolation for {0}, {1}, and {2} CCO.ErrorLookup.Lookup(UserMessageName As String, Args As Object()) 'Get Text of UserMessage and execute s