I have two forms in Planet Press Connect Designer that I now need to merge into one. In Planet Press Suite we used to be able to open two instances of the application and copy elements from on instance to another. Very handy when you wanted to copy an entire page from one to the other (As I need to do now). After getting the pages into a single document I need to trigger which pages are used based on tags in the XML data that is being passed.
It appears that you can only open 1 instance of the Connect Designer application.
This raises two questions:
1 - Is there a way to copy entire pages or sections from one form to another?
2 - is there a way to make entire pages conditional?
Thanks!
Yes there is…entire page are in fact HTML code (as you can see if you go on the Source Tab in your template. Simply copy and paste the content of that page into a text editor and open the destination form. Add a new section and on the source tab of the new sectiopn, copy the HTML previously saved from your text file.
Of course, snippet, CSS and script from the old form will need to be done the same.
Thanks! I had already started down that path but I was hoping for something similar to theold way.
What about making entire sections conditional?
Look at this link and scroll down for example.
I think I follow that. I will try it and see if I can work it out.
It states “Note that even if a section is disabled, the part and restartPageNumber fields are still effective to define the parts division and page numbering over multiple sections when applicable.”
I have this control script running because the number of pages in the individual sections can vary (It was provided by Planet Press). Will this still run accurately?
// Sample script to continue page numbering over all print sections
var printSections = merge.template.contexts.PRINT.sections;
for (var i = 0; i < printSections.length; i++) {
var section = printSections[i];
section.restartPageNumber = false;
Yes that script will still run because you have no condition based on whether a section is enabled or disabled. You simply go through all sections.