Wednesday, September 7, 2011

Moving a whole project from USR layer to BUS layer

If you do not have to pay attention to data in tables (theses will be
deleted in this solution), i think you can do the following:

1. Logon in the Layer where the customisation is made (i.e. USR Layer).
2. Export the whole development project into a .xpo file (without ID's!).
3. Delete the all customisations/objects belongs to the development projekt
in the current layer.
4. Logoff
5. Logon in the Layer where you will move your customisation to (i.e. BUS
Layer).
6. Import the .xpo file (see also step 2).
7. Check that your customisation has no error (compile it) and that it's
working correctly.

But, keep in mind, that all objects get new ID's when you import them into
the new Layer.
As far as i know that cause problems if you have:

1. Data in the tables or fields which are getting new Id's
2. If you build references between between tables over table id and recid.
3. If you use "hardcoded" ID Refernces between object. I.e. if you use a
hardcoded table id insted of tablenum().
Regards,
/Ashlesh

No comments:

Post a Comment