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

Prepopulate Form with Logged in user info in LiveCycle ES

Not applicable
We have a requirement where I need to prepopulate xdp form before it renders in my application. I found this article on how I can achieve this



http://www.roland-lopez.com/blog/index.cfm?event=showEntry&entryId=ECB034DA-3048-5304-BA9BB7B0DEDC72...



I followed it up to the point but I am getting stuck at step 4. I am not able to assign value to fields using xpath. I am using xdp form and storing it in a xfaform input variable. Can someone please help me out with this problem? Is this the correct way of achieving prepopulation in this type of form?
3 Replies
Not applicable
Thanks for your help. In your example you have defined schema of your xml file. My problem is I am getting xml schema from document and then trying to update this form. I am not able to set value of field with a string value properly because I am not able to address it properly.
Not applicable
Adding following values to my main process made it work



Prefix NameSapceURI

xfa http://www.xfa.org/schema/xfa-data/1.0/

jav http://www.adobe.com/2006/JavaTypes