WinStudio
Use this dialog box to format a message to be sent to another Web application. The Web application can be either Infor SharePoint Workspace or another WinStudio frame.
| Message Type | Specify a message type:
|
| JSON Message | The message format is defined by the message type, as described above. |
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))"
}
This example uses the refreshForm 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"
}
This example sends a currency value, along with the base and target currency, from WinStudio to the Infor SharePoint Workspace currency converter.
In this example, the Message Type is set to currencyExchange, which is not a message type known to WinStudio. It is a message type supported by Infor SharePoint Workspace. The JSON message format is also defined by Infor SharePoint Workspace:
{
"baseCurrency": "USD",
"baseValue": "V(currencyValue)",
"targetCurrency": "JPY"
}
About Generating Events from Components
Create, Copy, Edit or Delete Event Handlers
Event Handler Response Types (WinStudio)
Maximum Length of Parameters and Values
Understanding the WinStudio Event Model