Hi,
I have some 300 forms with image field set in them. I now need to import images into these image fields. The images are present on my local machine. If required i can upload these into my repository.
The issue is i am not able to create a batch process which will do this. Can some one please help me out with this issue.
Thanks in advance
Views
Replies
Total Likes
This is possible if all your 300 forms has the similar fields hierarchy.
One of the several possible ways:
1. keep your forms & images in folders within livecycle server.
2. create a process to read all these form and images and set the image content into Image field using XPATH expression (SetValue activity)
Iterate through the number of forms available. You are done.
Make sense?
Nith
Hi Nith,
I understand what you are saying. But my doubt here is how can i refer the particula image field which i need to assign the image to?
With a read resource i will be able to read the whole file. But how can i get a particular field that is required?
Views
Replies
Total Likes
You are almost there. The readResouce activity will read the whole document. Save it to a document variable.
Then use exportData to export the XML content. Now you must be able to refer the image as usually.
Got my idea?
Nith
Views
Replies
Total Likes
I have created a demo on how to attach image dynamically into form template.
The LCA is attached here which may useful to other readers of this post.
Nith
Views
Replies
Total Likes
Views
Likes
Replies