Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| synchronisation:site_import [2023/06/02 03:13] – [Importing a datafile] Mark Glover | synchronisation:site_import [2025/05/15 23:03] (current) – Gary Willetts | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Having exported an XML of your data, you can then import the data into a new datafile. | Having exported an XML of your data, you can then import the data into a new datafile. | ||
| - | ===== Pre-requisites ===== | ||
| + | ===== Pre-requisites ===== | ||
| To import data, you must: | To import data, you must: | ||
| - | | + | |
| - | | + | * <wrap em>RENAME the XML file!</ |
| - | - Be using a version of mSupply that is //the same version// as the version of mSupply that created the XML of your data. | + | |
| - | - Create a new datafile - refer to [[setting_up_msupply: | + | |
| This datafile and the XML file you would like to import must have the <wrap em>same name</ | This datafile and the XML file you would like to import must have the <wrap em>same name</ | ||
| </ | </ | ||
| - | + | * Be using a **single-user** version of mSupply | |
| + | * Be using a version of mSupply that is //the same version// as the version of mSupply that created the XML of your data. | ||
| - | ===== Importing a datafile ===== | ||
| + | ===== Importing a datafile ===== | ||
| - Open mSupply< | - Open mSupply< | ||
| <wrap em> | <wrap em> | ||
| - | </ | + | </ |
| - Click the **Import data** button. This will display a open/save window where you can choose the file you want to import. | - Click the **Import data** button. This will display a open/save window where you can choose the file you want to import. | ||
| - | - Choose the XML file you created in the sync site export, and click **OK** to confirm the import. If the XML file has the same name as your datafile, you will then see a progress bar appear.\\ {{ : | + | - Choose the XML file you created in the sync site export, and click **OK** to confirm the import. If the XML file has the same name as your datafile, you will then see a progress bar appear.\\ {{ : |
| - Reopen and start using your new datafile. | - Reopen and start using your new datafile. | ||
| - | |||
| If the data file you exported had a sync site created for the store, the import will automatically configure the sync settings. | If the data file you exported had a sync site created for the store, the import will automatically configure the sync settings. | ||
| Line 28: | Line 26: | ||
| <WRAP center round important 95%> | <WRAP center round important 95%> | ||
| Before sync can start working: | Before sync can start working: | ||
| - | * The sync site [[synchronisation: | ||
| * The datafile will need to be [[preferences: | * The datafile will need to be [[preferences: | ||
| - | <wrap em>Both of these require | + | <wrap em>This requires |
| </ | </ | ||
| - | ==== Client / Server use ==== | ||
| + | ==== Client / Server use ==== | ||
| If this data file is for use on a Single-user sync machine, then nothing more needs to be done, you are ready to go. If it needs to be used on a server in a Client / Server environment, | If this data file is for use on a Single-user sync machine, then nothing more needs to be done, you are ready to go. If it needs to be used on a server in a Client / Server environment, | ||