This topic is locked

Copying from one application to another

3/8/2012 9:32:06 AM
PHPRunner General questions
M
mrl40 author

Hi
I have two applications using phpRunner 5.3 and I want to copy a chart and some reports from one application to the other, to save me rewriting them. Is this possible?
Thanks

Mike

Sergey Kornilov admin 3/8/2012

Mike,
you my want to try saving one of projects as a template and then adding this template to your second project. Make sure to create a backup copies of both projects just in case.

C
ckapote 3/9/2012

Very interesting how can I import one project to one other ?
quote name='admin' date='08 March 2012 - 09:15 PM' timestamp='1331234109' post='64824']

Mike,
you my want to try saving one of projects as a template and then adding this template to your second project. Make sure to create a backup copies of both projects just in case.

[/quote]

M
mrl40 author 3/9/2012



Mike,
you my want to try saving one of projects as a template and then adding this template to your second project. Make sure to create a backup copies of both projects just in case.


Hi It's even more important to make a backup of the database(thankfully i was able to restore it).
What happens is when you bring it in as a template it overwrites the data in existing common tables (actually seems to delete it)
My advice is as well as backing up project back up database or make sure u can restore it easily
Oh and by the way other then that it worked!!
Thanks

Mike

Sergey Kornilov admin 3/9/2012

Mike,
yes, template consists of tables/data and project files. If your project share the same tables you can save project as a template first and then modify files db.sql and tables.txt removing unnecesary tables. These files can be found in template's database directory.

M
mrl40 author 3/27/2012



Mike,
yes, template consists of tables/data and project files. If your project share the same tables you can save project as a template first and then modify files db.sql and tables.txt removing unnecesary tables. These files can be found in template's database directory.


Just noticing problems with copying template across, reports created in the old template are not showing new records, so i've decide to rebuid those reports. If I was doing it again I certainly would NOT save one app as a template and bring it in, i would just rebuild it.
Thanks

Mike

M
mrl40 author 4/2/2012



Just noticing problems with copying template across, reports created in the old template are not showing new records, so i've decide to rebuid those reports. If I was doing it again I certainly would NOT save one app as a template and bring it in, i would just rebuild it.
Thanks

Mike


Is it possible to actually delete a template after installing it? I have big problems with forms when adding extra fields and been able to see them in SQL but when i go into editor the field is not there.