Help with renderPDFForm service URL Options

Avatar

21-05-2008

Hi,<br /><br />I have a process which needs to generate a new PDF file based on the <br />originally submitted PDF, and assign it to a user. I'm using workspace, <br />so I'm using the renderPDFForm service and the FormAugmenterService.<br />Everything looks like it is working as the PDF is assigned to the user<br />and displays correctly in workspace. My problem is the submit buttons<br />don't work. I get a javascript exception stating "Operation Failed".<br /><br />After some trial and error, I'm able to get the submit buttons functioning<br />by setting the URL Option - Target URL property in renderPDFForm to: <br /><br />"http://<my ip address>:<my port>/workspace-server/submit"<br /><br />The documentation says this is the default value, but it doesn't seem to<br />work unless I explicitly set it.<br /><br />My question is how to get this value without having to hard code it. <br />I can see that when I configure the renderer for my original input <br />form I set the targetURL to "Custom Configuration -> targetUrl"<br />but I don't know how to access "Custom Configuration" from within<br />my process.<br /><br />Any help would be greatly appreciated...<br /><br />Thanks.

Replies

Avatar

26-05-2008

No, it is not resolved. I have to explicitly set the targetUrl property

of renderPDFForm otherwise the buttons in workspace don't do anything.



Not a big deal, but I don't know how to access the task level

"Custom Configuration" variables which I use to get the targetURL

for the Render Service of the initial input form.



Thanks.

Avatar

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
_Nith_
Level 7

12-08-2009

John

did you find any solution for this issue..

I'm stuck up with this problem now..

Nith