Depending on what you are trying to do it might entail more effort in some circumstances. So, for example, if you used data sources such as WSDLs or DB Schemas to build your page then you will have a lot of rules, etc. that would have been created for you. Therefore, you need to look at this activity in the context of your overall effort since anything you copy will only deal with the page structure because the data bindings and other details are stored in separate files.
In any event, you need to ensure you take a copy of your repository in case you have to reinstate your application because you will be changing the underlying meta data outside of the studio and it is not something we would not recommend.
You have a few options:
1. Select the Template tab on the right hand side of the Page Structure tab. You can Browse and Upload the structure file for the page that you are interested in reusing. Once uploaded, select this file. You should now see a tree view of your page structure and you can drag and drop elements from the tree view to your new page. The page structure files are located at:
2. You can also create your new blank page and then locate the page structure file you want to copy in the file system. Copy the file across to your new project and rename it to the new page you have just created. You can also try and do this for the data bindings, but whether it will work is totally dependent on how you created your original page in the first instance, but you will have to try it and see. The data binding files are located at:
Also, for reference, if you are copying within the same project, select the Existing Page tab on the right hand side of the Page Structure tab and select an existing page. This will show you a tree view of your page structure. You can then drag and drop different elements of the page structure to your new page. You can only use this within the same project. It will 'break' your application if you locate and load meta-data from a different project using this approach.
As I've already mentioned, we would not recommend this and you will have to individually 'walk' your new page and ensure you 'join' all the bits together wherever required.
I'm sorry I can't help further, but hopefully this points you in the right direction.
Option 1 is exactly what I'm looking for. I was able import an existing structure, then copy the structure into an existing form. Then I removed that temp structure to clean everything up. VERY simple to use.
RE: Copy form from one project to another
Sorry...
Kind Regards
Abdul
RE: Copy form from one project to another
OK. Is there a hard way? Can I copy xml/xls files from one project to another?
RE: Copy form from one project to another
Depending on what you are trying to do it might entail more effort in some circumstances. So, for example, if you used data sources such as WSDLs or DB Schemas to build your page then you will have a lot of rules, etc. that would have been created for you. Therefore, you need to look at this activity in the context of your overall effort since anything you copy will only deal with the page structure because the data bindings and other details are stored in separate files.
In any event, you need to ensure you take a copy of your repository in case you have to reinstate your application because you will be changing the underlying meta data outside of the studio and it is not something we would not recommend.
You have a few options:
1. Select the Template tab on the right hand side of the Page Structure tab. You can Browse and Upload the structure file for the page that you are interested in reusing. Once uploaded, select this file. You should now see a tree view of your page structure and you can drag and drop elements from the tree view to your new page. The page structure files are located at:
<install_dir>\design\repository\<workspace>\mvc\<project>\formStructure
2. You can also create your new blank page and then locate the page structure file you want to copy in the file system. Copy the file across to your new project and rename it to the new page you have just created. You can also try and do this for the data bindings, but whether it will work is totally dependent on how you created your original page in the first instance, but you will have to try it and see. The data binding files are located at:
<install_dir>\design\repository\<workspace>\mvc\<project>\hyfinityBindings
Also, for reference, if you are copying within the same project, select the Existing Page tab on the right hand side of the Page Structure tab and select an existing page. This will show you a tree view of your page structure. You can then drag and drop different elements of the page structure to your new page. You can only use this within the same project. It will 'break' your application if you locate and load meta-data from a different project using this approach.
As I've already mentioned, we would not recommend this and you will have to individually 'walk' your new page and ensure you 'join' all the bits together wherever required.
I'm sorry I can't help further, but hopefully this points you in the right direction.
Don't forget to backup your repository :)
Kind Regards
Abdul
RE: Copy form from one project to another
Option 1 is exactly what I'm looking for. I was able import an existing structure, then copy the structure into an existing form. Then I removed that temp structure to clean everything up. VERY simple to use.
Thanks again,
Gary
RE: Copy form from one project to another
That's great. Glad I could help.
Have fun!
Kind Regards
Abdul