Expand my Community achievements bar.

Invoking a LiveCycle process with multiple input variables using REST

Avatar

Level 8
Level 8

Hi all,

A simple scenario brushup:

I have an LC process that takes as input 2 parameters:

- formID

- formXML

The user starts out with an empty interactive form and fills out some info in this form. In the end he/she clicks submit and now I want to invoke my process to create a flattened form from the XML just entered in the interactive form.

The process returns a flattened form with the data merged with the XDP template referenced in formID. Simple as that.

What I basically need is to do something similar to the following in a LiveCycle Designer Form:

------------------------------------Snippet from http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8-7fe5.html ---------------------------------------------------------------------

<html>

<body>

<form name="input" action="http://localhost:9080/rest/services/RestTest3" method="post" 

         enctype="multipart/form-data">

Doc: <input type="file" name="inDoc">

String 1: <input type="text" name="inListOfStrings" value="hello">

String 2: <input type="text" name="inListOfStrings" value="privet">

<input type="submit" value="Submit"/>

</form>

</body>

</html>

------------------------------------End snippet from http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8-7fe5.html ---------------------------------------------------------------------

Now my question to you is (hope you can help out here):

How do I invoke this process from my form using the REST endpoint - I need to specify 2 input variables for my process. One string (formID) and some xml (formXML). How is this done in Designer?

Thanks in advance

Kim Christensen

Dafolo A/S

Denmark

1 Reply

Avatar

Level 8
Level 8

Bump...

Nobody who has an idea of how to do this?

Thanks in advance

Kim Christenen

Dafolo A/S

Denmark