Can we customised the pdf file name generated by Orbeon ?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Can we customised the pdf file name generated by Orbeon ?

Ansh88
Is it possible to use parameters passed by service as the file name of the pdf generated by orbeon ?
If yes, what need to be done in "properties-local.xml" ?

Regards,

Animesh Nanda
Reply | Threaded
Open this post in threaded view
|

Re: Can we customised the pdf file name generated by Orbeon ?

Erik Bruchez
Administrator
Animesh,

Currently this is not possible: the file name is the unique (and randomly generated) XForms document id.

Changing this/making this configurable could make sense, but that would be a new feature.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Can we customised the pdf file name generated by Orbeon ?

Aaron Spike
+1

Ran across this in the last two weeks. Statically configurable PDF file name would be nice. Being able to craft a name based upon values in the form would be even better. I think this would be a significant improvement in usability for the final consumer of the PDFs.

How many different places are there from which PDFs get names? (send() and PDF button are different, right?)

Aaron Spike

This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Can we customised the pdf file name generated by Orbeon ?

Ansh88
In reply to this post by Erik Bruchez
Thanks Erik. It would be better if we can have this feature in future version of Orbeon.
Regards,

Animesh Nanda
Reply | Threaded
Open this post in threaded view
|

Re: Can we customised the pdf file name generated by Orbeon ?

Erik Bruchez
Administrator
In reply to this post by Aaron Spike
The `send` action will point to the URL specified, which can be dynamic, while the PDF button points to a predefined URL format, which use the UUID of the document.

-Erik