Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dynamic Template Url in xfaForm


Level 3

In a xfaForm variable, under Template Url, how would I be able to make this dynamic?

I would like to use different xdp forms depending on the input.

Thanks in advance.
3 Replies


Level 10
When you create your xfaForm variable you need to configure a render service (under Advanced Settings).

The render service is responsible to render the actual form (xdp) into a PDF. Usually you choose the renderPDFForm from the Process Management to render the pdf.

If you look at that renderPDFForm process, you'll see that it uses the variable /process_data/@formUrl to specify the url to the xdp. This variable is set when you configure formURL property of the render service (under Advanced Settings).

Usually we set it to Task->Form URL, but you could use your own variable there that contains the path to your XDP.



Level 9
Another way is to just use a Set Value step to set the xfaForm variable's formUrl value to the URL of the form you want to use. Then you don't need to mess with the Render process parameters.<br />From memory, it would be something like:<br />/process_data/my_xfa_form/object/template_url = <URL of your template><br />Howard<br />