Hi
What is the easiest way of implementing the functionality where form is stored as a PDF file to server's local filesystem when user submits the form (in form runner)? Or has Orbeon already a REST interface for getting the PDF? Harri -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Harri,
There is an option to store the PDF in the persistence layer (at the moment eXist, Oracle, MySQL, or your own if you write your own service). There is not built-in option to store the PDF in the filesystem, but to do this I would implement a custom persistence layer: http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes#TOC-Persistence-API If using the persistence layer, then the PDF is easily accessible through the REST persistence API. -Erik On Thu, Jun 10, 2010 at 6:44 AM, Harri T. <[hidden email]> wrote: > Hi > > What is the easiest way of implementing the functionality where form is > stored as a PDF file to server's local filesystem when user submits the form > (in form runner)? > > Or has Orbeon already a REST interface for getting the PDF? > > Harri > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
On 11.6.2010 1:11 Erik Bruchez wrote:
> > There is an option to store the PDF in the persistence layer (at the > moment eXist, Oracle, MySQL, or your own if you write your own service). Thanks for the answer! This is good news! How can this option be switched on? I didn't find it from the documentation. Is the feature supported in Community Edition? Harri -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
You know, I think I was just wrong! You can email the PDF, send it to
Alfresco, or make the PDF available to a confirmation page, but not save it into the persistence layer. It would be good to figure this out though. What is your exact use case? -Erik On Fri, Jun 11, 2010 at 2:03 AM, Harri T. <[hidden email]> wrote: > On 11.6.2010 1:11 Erik Bruchez wrote: >> >> There is an option to store the PDF in the persistence layer (at the >> moment eXist, Oracle, MySQL, or your own if you write your own service). > > Thanks for the answer! This is good news! > > How can this option be switched on? I didn't find it from the documentation. > Is the feature supported in Community Edition? > > Harri > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Can I find some documentation about Alfresco and email interfaces from orbeon.com answering to questions below?
On 15.6.2010 4:34 Erik Bruchez wrote: You know, I think I was just wrong! You can email the PDF, send it to Alfresco, or make the PDF available to a confirmation page, but not save it into the persistence layer. It would be good to figure this out though. What is your exact use case? -Erik On Fri, Jun 11, 2010 at 2:03 AM, Harri T. [hidden email] wrote:On 11.6.2010 1:11 Erik Bruchez wrote:There is an option to store the PDF in the persistence layer (at the moment eXist, Oracle, MySQL, or your own if you write your own service).Thanks for the answer! This is good news! How can this option be switched on? I didn't find it from the documentation. Is the feature supported in Community Edition? Harri -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] OW2 mailing lists service home page: http://www.ow2.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Erik Bruchez
Hi! Form runner seems to have a REST address (if I understand REST in
right sense) for getting the PDF: http://[host]:[port]/orbeon/fr/[application-id]/[form-id]/pdf/[document-id]?fr-language=en I can use tools like wget for saving it into the server file system. Harri On 15.6.2010 4:34 Erik Bruchez wrote: > You know, I think I was just wrong! You can email the PDF, send it to > Alfresco, or make the PDF available to a confirmation page, but not > save it into the persistence layer. > > It would be good to figure this out though. What is your exact use case? > > -Erik > > On Fri, Jun 11, 2010 at 2:03 AM, Harri T.<[hidden email]> wrote: > >> On 11.6.2010 1:11 Erik Bruchez wrote: >> >>> There is an option to store the PDF in the persistence layer (at the >>> moment eXist, Oracle, MySQL, or your own if you write your own service). >>> >> Thanks for the answer! This is good news! >> >> How can this option be switched on? I didn't find it from the documentation. >> Is the feature supported in Community Edition? >> >> Harri >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> >> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
PDFs seem to be generated in US Letter format. Is there a configuration
option (properties-local.xml) for changing it to A4 format? Harri On 27.6.2010 15:56 Harri T. wrote: > Hi! Form runner seems to have a REST address (if I understand REST in > right sense) for getting the PDF: > > http://[host]:[port]/orbeon/fr/[application-id]/[form-id]/pdf/[document-id]?fr-language=en > > > I can use tools like wget for saving it into the server file system. > > Harri > > On 15.6.2010 4:34 Erik Bruchez wrote: >> You know, I think I was just wrong! You can email the PDF, send it to >> Alfresco, or make the PDF available to a confirmation page, but not >> save it into the persistence layer. >> >> It would be good to figure this out though. What is your exact use case? >> >> -Erik >> >> On Fri, Jun 11, 2010 at 2:03 AM, Harri T.<[hidden email]> wrote: >>> On 11.6.2010 1:11 Erik Bruchez wrote: >>>> There is an option to store the PDF in the persistence layer (at the >>>> moment eXist, Oracle, MySQL, or your own if you write your own >>>> service). >>> Thanks for the answer! This is good news! >>> >>> How can this option be switched on? I didn't find it from the >>> documentation. >>> Is the feature supported in Community Edition? >>> >>> Harri >>> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] >>> mailing >>> list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> OW2 mailing lists service home page: http://www.ow2.org/wws >>> >>> > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Adding
@page { size: A4; } to CSS resolves this issue. Harri On 28.6.2010 13:04 Harri T. wrote: > PDFs seem to be generated in US Letter format. Is there a > configuration option (properties-local.xml) for changing it to A4 format? > > Harri > > On 27.6.2010 15:56 Harri T. wrote: >> Hi! Form runner seems to have a REST address (if I understand REST in >> right sense) for getting the PDF: >> >> http://[host]:[port]/orbeon/fr/[application-id]/[form-id]/pdf/[document-id]?fr-language=en >> >> >> I can use tools like wget for saving it into the server file system. >> >> Harri >> >> On 15.6.2010 4:34 Erik Bruchez wrote: >>> You know, I think I was just wrong! You can email the PDF, send it to >>> Alfresco, or make the PDF available to a confirmation page, but not >>> save it into the persistence layer. >>> >>> It would be good to figure this out though. What is your exact use >>> case? >>> >>> -Erik >>> >>> On Fri, Jun 11, 2010 at 2:03 AM, Harri T.<[hidden email]> wrote: >>>> On 11.6.2010 1:11 Erik Bruchez wrote: >>>>> There is an option to store the PDF in the persistence layer (at the >>>>> moment eXist, Oracle, MySQL, or your own if you write your own >>>>> service). >>>> Thanks for the answer! This is good news! >>>> >>>> How can this option be switched on? I didn't find it from the >>>> documentation. >>>> Is the feature supported in Community Edition? >>>> >>>> Harri >>>> >>>> >>>> -- >>>> You receive this message as a subscriber of the [hidden email] >>>> mailing >>>> list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>>> >>>> >> > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Harri,
Excellent; thank you for sharing this back with the community. Alex On Wed, Jun 30, 2010 at 11:47 PM, Harri T. <[hidden email]> wrote: > Adding > > @page { > size: A4; > } > > to CSS resolves this issue. > > Harri > > On 28.6.2010 13:04 Harri T. wrote: >> >> PDFs seem to be generated in US Letter format. Is there a configuration >> option (properties-local.xml) for changing it to A4 format? >> >> Harri >> >> On 27.6.2010 15:56 Harri T. wrote: >>> >>> Hi! Form runner seems to have a REST address (if I understand REST in >>> right sense) for getting the PDF: >>> >>> >>> http://[host]:[port]/orbeon/fr/[application-id]/[form-id]/pdf/[document-id]?fr-language=en >>> >>> I can use tools like wget for saving it into the server file system. >>> >>> Harri >>> >>> On 15.6.2010 4:34 Erik Bruchez wrote: >>>> >>>> You know, I think I was just wrong! You can email the PDF, send it to >>>> Alfresco, or make the PDF available to a confirmation page, but not >>>> save it into the persistence layer. >>>> >>>> It would be good to figure this out though. What is your exact use case? >>>> >>>> -Erik >>>> >>>> On Fri, Jun 11, 2010 at 2:03 AM, Harri T.<[hidden email]> wrote: >>>>> >>>>> On 11.6.2010 1:11 Erik Bruchez wrote: >>>>>> >>>>>> There is an option to store the PDF in the persistence layer (at the >>>>>> moment eXist, Oracle, MySQL, or your own if you write your own >>>>>> service). >>>>> >>>>> Thanks for the answer! This is good news! >>>>> >>>>> How can this option be switched on? I didn't find it from the >>>>> documentation. >>>>> Is the feature supported in Community Edition? >>>>> >>>>> Harri >>>>> >>>>> >>>>> -- >>>>> You receive this message as a subscriber of the [hidden email] >>>>> mailing >>>>> list. >>>>> To unsubscribe: mailto:[hidden email] >>>>> For general help: mailto:[hidden email]?subject=help >>>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>>>> >>>>> >>> >> > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |