Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Passing URL parameters to a Workspace startpoint form

Avatar

Former Community Member

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...

2 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