Custom Context Message

A context message is a message that is related to the current Infor LN object. This context message is sent to Infor OS Portal or Infor Ming.le and distributed to context widgets or contextual apps that are listening to those messages.

In this way the context widgets or contextual apps show relevant information that is related to the Infor LN object being worked on.

For more information about InContext messaging, see the Infor Enterprise Server InContext Modeling Development Guide.

Use a Custom Context Message extension type to code and add context to a session’s standard context message.

For example, to send context of another related Infor LN Object. You can only send context messages of type inforBusinessContext or contextualURL with the Custom Context Message extension type. To send another context message type, you can use the Before Context Send hook to add this context message.

This table shows the available properties:

Name
Mapping

This table shows the available hooks:

Name Signature
Before Mappings long before.mapping.hook<context_message_id>
After Mappings long after.mapping.hook<context_message_id>
Is Visible boolean <context_message_id>.is.visible()