Create the Connector
If you have a Freemium instance, you will also have the login method on the instance. If you don’t have a Freemium instance, you can download the connector (without connector calls yet) with login method here.
Create the Connector Call
Select the entity sets: SalesOrderCollection
Select operations: SalesOrderCollection/readAll
connector Call Name: SalesOrderCollection_ReadAll
… and create the connector call.
Test the Connector Call
Create the UI
I would say that we are creating a very simple app together, which displays the data of the OData service in a table. The data should be loaded by pressing a button.
- Click on the Selection Helper at items.
A dialog opens in which you have to select the connector on the left and then the Collection SalesOrder_Collection
Since the data should display three values of the OData service, we still need three Columns in the table and a ColumnListItem that contains three Text widgets.
To make it clear which data is displayed in the columns, you can add a label with the corresponding text Buyer Id, Gross Amount and Currency Code to each column in the header.
Your screen content should look like this:
Configure the Process Logic
Switch to the Process Designer and create the user story for the process logic.
Start the process with a Subscribe event of the read button (widget Event: press). Then add the Data Object connector and select the connector and the corresponding connector Call SalesOrderCollection_ReadAll.
For the Read connector Call you don’t need an Input Mapping, because you don’t have to pass a value to read all data.
Only the output mapping has to be defined.
Open the Output Mapping and drag the Parameter from the left. Go deeper into Output – SalesOrderCollection.
Select the needed fields. In this case, select BuyerId, GrossAmount and CurrencyCode by clicking on the plus.
Now go deeper into the items of the Table – ColumnListItem.
You will now see the three Text widgets as cells of the list item. For each Text, you have to select String text as property. It then appears on the right under Selected Properties.
When you have done this for all three of them, click Ok.
Now map the parameters into the table. The Output Mapping should look like this:
Connect the two shapes with each other:
After successful deployment the data will be read and displayed after pressing the button.
Creating a connector in Simplifier that accesses an OData service is not difficult. Especially the creation of connector calls is very efficient and easy, since the connector Wizard can be used for it.