Edit Message to Web Container dialog box
Use this dialog box to format a message to be sent to another web application. The web application can be either Infor OS Portal or Infor Ming.le or another Windows client frame.
Field/Option | Description |
---|---|
Message Type | Specify a message
type:
|
JSON Message | Use this field to
create the actual message to be sent (not necessarily JSON).
The message format is defined by the message type, as described above. |
Examples
Launch a form in the child frame: This example uses the openForm message type to open the Item Stockroom Locations form in the child frame, with the filter based on the current form's Item property, and refreshes the form with that filter. The JSON message specifies these parameters:
{
"parameters": "ItemStockroomLocations(FILTER(Item=FP(Item))
SETVARVALUES(InitialCommand=Refresh))"
}
Refresh a filter: This example uses the
message type to refresh the filter in the child frame from the previous example.The JSON message specifies these parameters:
{
"filter": "Item=FP(Item)",
"form":"ItemStockroomLocations"
}
Send a message to Infor OS: This example sends a currency value, along with the base and target currency, from Windows client to Infor OS for currency conversion.
In this example, the Message Type is set to currencyExchange, which is not a message type known to Windows client. It is a message type supported by Infor OS. The JSON message format is also defined by Infor OS:
{
"baseCurrency": "USD",
"baseValue": "V(currencyValue)",
"targetCurrency": "JPY"
}