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:
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 string interpolation with object array
Many thanks for this article about this hidden feature in Innovator. This tip was really useful!
ReplyDelete