Integrating Sync APIs

Introduction

In the vDesigner application, the sync API (s) are integrated to insert the mobile app data into database table. As described earlier, the sync API inserts the data into two tables: tb_cop_buss_obj_txn and tb_image_data_obj. It inserts numeric and text based data into the  tb_cop_buss_obj_txn  table.

To integrate a sync API in the vDesigner application, the API should be deployed on the vConnect platform. The following set of instructions describes how to SPMBINSERTAOFOBJDATA sync API, which is already deployed on the vConnect platform.

To integrate a sync API:

  1. In the vDesigner application, locate the control/element (For example: – Submit (Bottom button)) where you want to integrate the API.
  2. To locate the control, locate the right navigation pane.
  1. In the right navigation pane, click the tab (For example: – Component) to locate the form/control where you want to integrate the API.
  1. After you locate the element/control (For example: – Submit), double-click the name of element in the right panel, element’s dialog box (For example: – Bottom Button dialog box) opens.
  1. In the Bottom Button dialog box, click Edit Action, and the Action dialog box opens.
  1. In the right panel, locate the Added Action area.
  2. Under Added Action, click ON CLICK, and the Task dialog box opens.
  3. In the Action dialog box, locate the Added Action area in the right pane.
  4. Under Added Action, click ON CLICK, and the Task dialog box opens.
  1. In the Task dialog box, locate the left navigation pane.
  2. In the Search by task box (Fig 3.3.2 (e)), enter or type sync, and the left navigation pane displays the results (Fig 3.3.2 (f)).
  1. In the list of results, click Sync Table, and the Sync Table dialog box opens.
  1. In the Service/Table Name box, enter the name of sync API (For example: – SPMBINSERTAOFOBJDATA) that you want to integrate.
  2. After you enter the name of sync API, click Save, and the sync API is successfully integrated with the vDesigner application.

Similarly, you can integrate other sync APIs.

Was this article helpful?
YesNo