Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Use generic form for User Assignment

Avatar

Level 8
Level 8
Hi all,



I am wondering if it is possible to have a process which according to a filename of a pdf-file to choose an empty template that corresponds to this pdf-file and use this in the User Assignment service.



My idea is that I could create a process that takes any file and according to the name fill the correct template with the data from the file. In this way the form would not be tied to the process...



Is this possible - if yes how?



Sincerely

Kim
2 Replies

Avatar

Level 9
I believe you can explicitly set the "template" part of an XFA Form variable to a particular value using the SetValue component. You would thus override the default template.

I haven't tried this... :-)

Howard

http://www.avoka.com

Avatar

Level 10
...or if you have a PDF already rendered, then you can put it in a Document Form variable (/process_data/myDocForm/@document) and use that variable on your user step.



Jasmin