Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi,
A question about downloading the form as a PDF. We are using the orbeon proxy portlet within Liferay and it generates a URL which leads to the following call from the proxy portlet to orbeon: http://localhost:8081/orbeon/fr/service/<appname>/<formname>/pdf/10/<uuid>.pdf Now we'd like to invoke this URL on a different page, outside the scope of the orbeon proxy portlet. The question is: can it be done? Of course at that point we don't have a uuid - is there a way to bypass that? Thanks, Willem |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Willem,
The UUID is needed when the PDF button is used on the edit page, because the PDF is produced based on the data in the form being currently edited. If you use the PDF button on the summary page, another link is used, of the form (following your syntax): http://localhost:8080/orbeon/fr/<appname>/<formname>/pdf/<documentid>?fr-language=en This retrieves the saved version of the form data first. You should be able to use that format instead. -Erik On Thu, Dec 20, 2012 at 4:11 AM, WillemV <[hidden email]> wrote: > Hi, > > A question about downloading the form as a PDF. We are using the orbeon > proxy portlet within Liferay and it generates a URL which leads to the > following call from the proxy portlet to orbeon: > > http://localhost:8081/orbeon/fr/service/<appname>/<formname>/pdf/10/<uuid>.pdf > > Now we'd like to invoke this URL on a different page, outside the scope of > the orbeon proxy portlet. The question is: can it be done? Of course at that > point we don't have a uuid - is there a way to bypass that? > > Thanks, > Willem > > > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/download-PDF-construct-the-URL-tp4656142.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > 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 > ... [show rest of quote] ... [show rest of quote] -- 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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Erik,
The URL you've recommended is in the context of the Form Runner application. Is there a REST API URL to download the PDF? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CONTENTS DELETED
The author has deleted this message.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks, Bruno. We have written a Java client API for accessing the REST services which is configured with a base/context URL. We can special case this one with a different context. But I wanted to know if there was a URL under the REST service context for the PDF.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
What do you call the "REST service context for the PDF"? Do you mean under /fr/service? If so, currently not, the only URL is under /fr without /service.
-Erik |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thanks, Erik. Yes I mean under /fr/service.
|
Free forum by Nabble | Edit this page |