cancel
Showing results for 
Search instead for 
Did you mean: 

How To Pass A Unity Form Value To A Doc Comp Placeholder

Keith_Malek1
Star Contributor
Star Contributor

Hello All,

 

I have a unity form with the field ID txtTesting1. When the Unity form is submitted it goes through workflow and composes a document in Doc Comp. I would like it to put the values entered in txtTesting1 into a placeholder on the Doc Comp document but I can not figure out how to do this.

I've tried using the Type = Eform Value with the Value = txtTesting1 with no luck.

I can through it into a property in the workflow but I don't know how to reference that property value in Doc Comp.

I also don't want to save it to a keyword I would have to create a keyword type for every value and that would be a lot when all is said and done.

 

Any ideas or help would be great.

Keith

1 ACCEPTED ANSWER

Keith_Malek1
Star Contributor
Star Contributor

The answer is that you can in 16 but none of the previous versions.

View answer in original post

6 REPLIES 6

Doug_Paull
Confirmed Champ
Confirmed Champ

I can only speak for version 14, but in order to accomplish this we had to write a Unity script called from workflow.  It takes some fairly serious coding that involves extracting all the form data to XML, mapping your placeholders using XPath, and then composing the Doc Comp from the XML. It's not for the faint-of-heart, but it works really well for us.

Keith_Malek1
Star Contributor
Star Contributor

The answer is that you can in 16 but none of the previous versions.