Expand my Community achievements bar.

Fragments from Designer in previous versions of Forms?

Avatar

Former Community Member
Hi all



Before we get our test environment up with the Livecycle ES version, I've got a question concerning the use of fragments if anybody can answer it.

If I create a form and use fragments to keep scripts etc up to date in multiple forms, how would that work if I render it in Forms 7? I'm well aware of the fact that the "update" functionality wouldn't work, but I would be able to just reopen the xdp and save it with the updates. It would be nice to be able to start using fragments although it would take some time before we get the complete environment up and running. If not, we will have more forms without fragments which will mean more work later...



Thanks in advance for any input.
1 Reply

Avatar

Level 10
A little bit of theory on fragments.

When you design a form with fragments, the main XDP contains references to the fragments (which are also XDPs). Those references are resolves by LiveCycle Forms (fragment XDPs are imported into parent XDP) before the PDF is generated. So we really pass an XDP with no fragments to LC Forms, therefore the PDF doesn't have a concept of fragments.



Now back to your question. If you design you XDPs with fragments and do a PDF Preview, before the PDF is rendered, the fragment will be resolved and the resulted PDF will not contain any fragments. You can save that PDF back to the file system and reopen it in Form Designer and save it as an XDP. This way you'll end up with an XDP that looks exactly the same but with no fragments (all the fragments were resolved by the creation of the PDF).



Then save that new XDP and you should be able to pass that XDP to LiveCycle Forms 7.x since it doesn't contain fragments.



On a different topic, if you use the turn key install of LiveCycle ES, you can get it up an running pretty quickly (hours). You can get a trial version and play with it. Maybe you can do that while you get you complete environment up and running.



Let me know if that works.



Jasmin