9,280
edits
Line 10: | Line 10: | ||
* Resco Cloud: Connect to another organization residing on one of the various cloud servers of Resco (including Resco Inspections, Resco Routes, etc.). | * Resco Cloud: Connect to another organization residing on one of the various cloud servers of Resco (including Resco Inspections, Resco Routes, etc.). | ||
== | == Create integration == | ||
You can manage your connections to other servers from the [[Woodford#Administration_menu|'''Administration''' menu of Woodford]]: Start Woodford and select '''Integrations (Preview)''' from the menu. | You can manage your connections to other servers from the [[Woodford#Administration_menu|'''Administration''' menu of Woodford]]: Start Woodford and select '''Integrations (Preview)''' from the menu. | ||
# Click '''New'''. | # Click '''New'''. | ||
Line 25: | Line 23: | ||
* Based on default mapping, External Primary Key fields will be added to the schema. | * Based on default mapping, External Primary Key fields will be added to the schema. | ||
== Map metadata == | |||
As the next step, you need to map external entities to local entities and external fields to local fields. | As the next step, you need to map external entities to local entities and external fields to local fields. | ||
Line 42: | Line 40: | ||
[[File:Mapping of entity fields.png|600px]] | [[File:Mapping of entity fields.png|600px]] | ||
=== Clean up metadata === | |||
Administrators of the backend servers can occasionally modify the metadata, either on the local or on the external server. New entities or fields are not a problem. What can affect the integration is when a certain entity or field used in integration is removed. | Administrators of the backend servers can occasionally modify the metadata, either on the local or on the external server. New entities or fields are not a problem. What can affect the integration is when a certain entity or field used in integration is removed. | ||
Line 51: | Line 49: | ||
* If the '''Primary Key''' field goes missing, consider setting up a new primary key. | * If the '''Primary Key''' field goes missing, consider setting up a new primary key. | ||
== Set up sync filter == | |||
Optionally, if you want to restrict what data to sync, consider setting up a [[sync filter]]. For each entity, you can define conditions. Only records that match the condition are synchronized. Click '''Sync Filter''' and enter a suitable condition, then click '''Save & Close'''. | Optionally, if you want to restrict what data to sync, consider setting up a [[sync filter]]. For each entity, you can define conditions. Only records that match the condition are synchronized. Click '''Sync Filter''' and enter a suitable condition, then click '''Save & Close'''. | ||
Line 57: | Line 55: | ||
[[File:Sync filter in integrations.png|600px]] | [[File:Sync filter in integrations.png|600px]] | ||
== Import/export data == | |||
Once the mapping is done, you can start using the integration for migrating data. | Once the mapping is done, you can start using the integration for migrating data. | ||
Line 72: | Line 70: | ||
Sample migration result: <code>RESULTS: ALL (15) : IMPORTED (13); UPDATED (2); FAILED (0).</code> In this case, 13 records were imported (created), 2 records were updated, no records failed. | Sample migration result: <code>RESULTS: ALL (15) : IMPORTED (13); UPDATED (2); FAILED (0).</code> In this case, 13 records were imported (created), 2 records were updated, no records failed. | ||
== Synchronize data == | |||
While importing or exporting data is basically one-and-done, synchronization is used in scenarios where you need to keep up the two environments in sync continuously. | While importing or exporting data is basically one-and-done, synchronization is used in scenarios where you need to keep up the two environments in sync continuously. | ||
Line 87: | Line 85: | ||
* Save all changes and activate the process. | * Save all changes and activate the process. | ||
== Import/export mapping == | |||
;Export / Import: If you have multiple similar organizations where you want to reuse an integration, you can export the entire mapping configuration to a file and then import it to a different organization. | ;Export / Import: If you have multiple similar organizations where you want to reuse an integration, you can export the entire mapping configuration to a file and then import it to a different organization. |