Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Passing URL parameters to a Workspace startpoint form

Avatar

Level 1

Hi everybody, please take a look at this one:

We need to access a TaskManager endpoint directly through URL with additional parameters.

http://livecycle:8080/workspace/Main.html?startEndpoint=MyServiceName.MyEndpointName&myVar=MyValue

In the opened interactive PDF form, we need to read the "myVar" URL parameter somehow and use its value in one of our fields.

Is this possible with JavaScript or some other way?

Thanks for any comments...

0 Replies

Avatar

Level 10

Not possible through JavaScript coding!

You may save the parameter values in database for a short-period.

While rendering the form, these values can be read from DB and populated by Prepare Data process.

This will workout only when the URL is lanched from another client application. Typing the URL directly into the browser's address bar won't help!

Nith

Avatar

Level 4

Hi everyone,

Has anyone come accross, how to pass additional custom parameters to Workspace ES through URL like ? :

http://livecycle:8080/workspace/Main.html?startEndpoint=MyServiceName. MyEndpointName&myVar=MyValue

Is it possible to use myValue while rendering the form?

Thanks

OA