Páginas filhas
  • MASHUP Configuration

Example of mashup service configuration using the Configurator

Product:

Microsiga Protheus

Versions:

11 and 12

Step by step:

Before configuring the mashups in the Configurator, you must install the Proxy Mashup, according to the link below:
Proxy Mashup Installation Manual

After installation, follow the steps below:

- Access the Configurator

- Go to menu Environment / Records / Mashups

- Click Include

- Click Other Actions (Related Actions in P11), Mashups

- Select the desired mashup service (Post Office - Postal Code Search, for example), and click Save (Confirm on P11)

- In ‘Alias’, select the table that will use this mashup (SA1 - Customers, for example)

- Click Other Actions again, then click Parameters.

- In this screen, the Sent Parameters (information that will be sent to the mashup service) and the Expected Returns (the table fields that will receive information from the mashup service based on the parameters sent) will be configured

- In the mashup example of Post Office - Postal Code search, the mandatory sending parameter is only the Postal Code, which may return information such as address, district, city, state, etc.

Sent Parameters:
Under the Source column, double click on the field, and a combo will open with the options ‘1- System’ and ‘2- User’. The System option is used for the sending parameter to be read directly from the field filled in the table, indicated in ‘Field’. The User option is used to have the sending parameter be requested ‘manually’ at the moment of the mashup execution, indicating in ‘Object Type’ which object will send the information, whether it will be an object of type ‘Get’ (field to type in a text) or ‘Combo’ (a list of options).

Expected Returns:
In this area you will see the possible returns of the chosen mashup service. The parameters are listed in the ‘Parameter’ column. You can define which of them you want to import into the table by simply clicking the ‘Field’ column of the corresponding parameter, and selecting the field of the table that will receive the information (for example, in table SA1, select field A1_END for parameter ADDRESS)

- When you finish, click Save (Confirm on P11), then Save/Confirm again. You have created the mashup service. To use it, simply access the routine that uses this table, and click Other Actions/Related Actions, and select Mashups.

Notes: