I have a process "FlexriverInvoice" that contains two steps the first one change a valule ID and pass it to the xfaForm, then a second step use the render service that return a pdf.
I created a new process "InvoiceCall" , it use "FlexriverInvoice" service in the first step and in the second step it use a writeXml service that put a hardcoded XML to my "c:" , in the advanced settings of xfaForm of my "InvoiceCall" process, i enable rendering with "FlexriverInvoice".
When i call the process from the workspace, i have the submit button on the pdf file and when i click there is no action.
When i set the render of xfaForm of the InvoiceCall" process to default, i have the finished button and if i click i have the xml wriiten to my "c:".
the process .lca is attached to this message, (please remove pdf extension)
Thanks for your help
Solved! Go to Solution.
If you take a look at the Render PDF Form ES 1 service within Process Management, you'll see that there's a "Enable PDF form for Workspace ES" step added after the renderForm operation. This operation that takes care of hidding the submit button on the from and to show the Complete button in Workspace. You probably need it in your process as well.
I would suggest to check the Render PDF Form ES 1 service within Process Management and try to mirror it as much as possible.
Sorry but i didn't understand how to find the submit url,
i added an alert in the code behind of the submit button "xfa.host.messageBox(sURL);" and it gives me this value :
is it the correct value?
That was a great tip. It actually works. But what worries me is really the lack of documentation. I have read lots of documents around this topic,
and I have never seen anywhere mentioned that URL...Would you have any 'magic' online doc
You'll find it in the javadoc for the URLSpec object (http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/javadoc/index.html). Check the function setTargetURL.
You don't have to worry about it when you use the default renderers (Default or Render PDF Form ES Update1), but if you create your own, you have to either start from the defaults one and expand or set those settings manually.
I agree the information is hard to find.