Link data sources in Jitterbit App Builder
Overview
In App Builder you can link Data Sources. One scenario where you want to link Data Sources is to create cross platform CRUD Rules.
To link data sources
If your scenario is to use a cross platform CRUD Rule, you'll need to link the Data Sources you want to use in your CRUD Rule. To write from Data Source A to B, add Data Source B to your Linked Sources in Data Source A. In this example, SalesProcessManagement is Database A and CRMFileIn is Database B.
- Navigate to App Workbench > Data Sources
- Select the desired Data Source
- Click the Link Sources button
- Click Create to add a Data Source (Data Source B) to Linked Sources
In Data Source B, make sure that the Table or Object you are Targeting in the CRUD has Public Read/ Write access enabled.
- Navigate to App Workbench > Rules
- Set the App Data Source accordingly (Data Source B)
- Select the By Table navigation tab
- Locate the Table you are using in the XP CRUD Rule
- Click Open Record
- Click More > Edge Case
- Under Public Access, make sure both Allow Read and Allow Write are checked
For a Business Object, you must allow public access in the definition of the object.
- Navigate to App Workbench > Rules
- Set the App Data Source accordingly (Data Source B)
- Locate and open the Business Object you are using in the XP CRUD Rule
- Click More > Edge Case
- Under Public Access, make sure that both Allow Read and Allow Write are checked
Now you will create the cross-platform XP CRUD Rule.
- Navigate to App Workbench > Rules
- Set the App Data Source accordingly
- On the Business Rules panel, click + Rule
- Name should include information on Rule's purpose
- Choose XP CRUD for Purpose
- Choose Action Type. For example: Insert
- Select Business Layer
- Choose the Data Source you are pulling data from (Data Source A) as Source Data Source
- Choose the Data Source you are targeting (Data Source B) into as Target Data Source
- Click Save
At this point it is a standard CRUD Rule and you can proceed to define the mvSQL logic. Select Tables and Objects from your source Data Source and Target Columns on the target Data Source table you selected.