I100 – Modules (import, export, diff)
What you will learn ?
How to import an existing module to a new instance.
Import a module
First, click on the XML Import quick link at the right top corner :
Then you got 2 choices to import a module
- by uploading an xml or zip file
- by setting an url file
For example, choose a module link on our module page, then click on Import
You will get a result page and could review log file in case of Import KO status;
Export a module
To export a module:
- choose the “Administration” -> “Module” menu
- choose your module name
You can export your module as an unique XML files (pictures will be transformed in BASE64 code) or a ZIP files (which contains all script and pictures individually).
We may also need to export all business data from your module objects. To do so, use the Data Export action.
You can change the order in which it is exported through the Export order column on Business Object menu.
Compare 2 modules
It may be useful to compare 2 versions of the same module. For example, to compare a development and a production instance.
To do so, choose the “Operation” -> “Module Diff” menu.
You have 2 ways to compare a module :
- By uploading 2 XML files of exported module (see previous chapter)
- By comparing 2 URL instances. You have to get the same module name.You can’t compare an XML file with an URL.
Click on next to get the difference between the 2 versions (NEW, UPD or DEL Object).
At the end of the list, you can generate an XML Patch to be applied on the target.
Generate a documentation up to date
A PDF with all the configurations can be exported.
It contains all the object configurations, the rights and all the model that have been implemented.
Save module to git repository.