How Do I Export a Program or Table While Keeping Its Models? (Magic xpa 4.x)
Because models are so useful, your tables and programs are likely to make extensive use of them. However, this makes exporting and importing tables and programs a bit more complicated, because the models must exist in the project you are importing into.
An easy way to handle this is to use the Export with Models option on the Export/Import dialog box. When you use this option, the models that apply to whatever you are exporting will be exported along with your data sources or programs.
-
Export as you usually would, but be sure to check the Export with Models check box.
-
When you import the file, the models will be appended at the end of any models currently in the Model repository. The references to those models will also be updated, so the data sources and programs will still be correct.
In our example, we imported the table shown above into a new project that already had 30 model entries. The result, as you can see below, is the same table, even though the model sequence numbers are different. A total of 10 models was added to the new project.
How Do I Transfer Objects from One Project to Another?