I want to copy .page file and also want to ensure that the component ID, page ID etc. all get updated in the copied page. Is there a CLT or a java class through which i can do that. I cannot use the User Interface copy option as the number of pages to be copied is really high and it would really be a cumbersome process.7.2.1 Environment on Windows
What I can tell you(not recommended) that I have copied the .pages from one server to another by simply copying from one server to another along with the components.HTH.
Hi,Don't forget to submit the components folder as well as to do get latest components on all the pages.HTH.
what do you mean by simply copying? simply copying a TS file from one server to another means ftp upload or scp which won't work as you already know (missing EAs...). so you probably want to spell out more details about how you did it.if you are migrating/copying from one server to another, just submitting components folder won't work unless you have the exact same number of versions for each component in both servers. the common case is that components in TS DEV have higher version numbers than in TS PROD. if component version in component branch is smaller than component version in .page, OOTB get latest component won't work. you will have to reset the component version in .page manually.
are you trying to copy from branch to branch or from TS server to another?
Hi,If he is in the same server then why not to use copy to?Thanks.
i am trying to copy a page within the same branch on the same server.
Hi Santosh,We are able to copy within the TS Server but will it not leave its attributes when I will try to WINSCP it to different server.
Hi,Then I hope you will not face any kind of problem and can do it through Copy to only.Is the Copy To not working?Thanks.
Please see my post above. Using Copy option in UI is not an option as volume is really huge.
Whether or not you run into issues with built-in component IDs is another issue (one that I cannot answer at this point, but someone else here with more explicit SP/LS experience should be able to do so)