To synchronize data between the DynaRent Mobile app and D365 FO, dual-write is used. The dual-write connection links the D365 FO environment to the Dataverse environment as used by the DynaRent Mobile app.
This flow explains the dual-write setup to be done in D365 FO.
Name | Responsible | Description |
---|---|---|
Link D365 FO to Dataverse |
Rental Administrator |
The first time you set up dual-write in D365 FO for the DynaRent Mobile app, you must link D365 FO to Dataverse. To link D365 FO to Dataverse, follow the applicable instructions for your scenario: Guidance for dual-write setup. |
Import 'DynaRentMobile Dual Write Entity Maps' solution in Power Apps |
Rental Administrator |
To synchronize data between the DynaRent Mobile app and D365 FO, dual-write is used. The dual-write connection links the D365 FO environment to the Dataverse environment as used by the DynaRent Mobile app. Whether you set up dual-write for DynaRent Mobile for the first time or you want to upgrade, in Power Apps, import the latest version of the 'DynaRentMobile Dual Write Entity Maps' solution. Import the 'DynaRentMobile Dual Write Entity Maps' solution as provided by To-Increase. For more information, refer to Import solutions. |
Apply dual-write solution |
Rental Administrator |
Apply the (latest version of the) 'DynaRentMobile Dual Write Entity Maps' solution. Make sure this solution is already imported in Power Apps. For more information, refer to step 7 in Use the dual-write wizard to link your environments. Note: Each time you have imported a new version of the 'DynaRentMobile Dual Write Entity Maps' solution, you must apply the solution again. |
Stop running dual-write table maps and select latest version |
Rental Administrator |
If you have applied a new version of the 'DynaRentMobile Dual Write Entity Maps' solution, you must stop each already running table map for this solution. You can recognize the applicable table maps by the 'ti_dnrmobile' indicator in the name. If you have stopped a table map, you must select the latest applied version of the table map. |
Run dual-write table maps |
Rental Administrator |
Run each dual-write table map of the 'DynaRentMobile Dual Write Entity Maps' solution. As a result, the dual-write table map status is changed to 'Running'. For more information, refer to Enable table maps for dual-write. Note: For each applied new version of the 'DynaRentMobile Dual Write Entity Maps' solution, you must run the table maps again. |
Solve pre-existing data error |
Rental Administrator |
If you encounter an issue while you copy pre-existing data between D365 FO and Dataverse, an initial sync error is given: “Copying pre-existing data completed with Errors. For additional details, go to Initial sync details tab”. Investigate the error and choose how to solve it:
For more information, refer to: Error management and alert notifications. |
Solve missing data schema error |
Rental Administrator |
If you run a dual-write table map, you can encounter an issue called: "Missing data schema". In this case, the entity list in D365 FO must be refreshed. |