Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi,
I have the same problem. I need to fetch the username (current logged in workspace) and put his name ( Or username ) to a field in PDF form programitically.
Did you get the solution for this problem?
Thanks.
-
Abhinav
Views
Replies
Total Likes
The solution for your requirement is very very simple.
If you have learnt the Action Profile basics, you could find it much easier to do.
Quick steps:
1. Create a Prepare Data process
2. You can find the TaskContext variable already created for you.
3. get the currently logged in UserId, Name, email or whatever from the TaskContext object and set the Email/Name/UserId on a field in PDF using XPATH.
Nith
Views
Replies
Total Likes
Hi Nith, Thanks for your reply.
As you told I tried to do the same but was unable to make it work properly. May be I am doing something wrong. I am new to LC it's lil harder to understand the things.
The Steps I had done:
2. I am unable to use this variable. Please help.
My Process:
PDF Form at each assign user:
Can you please guide me how to use that variable inside my process. It's really urgent for me.
Thanks in advance.
-
Abhinav
Views
Replies
Total Likes
You are almost there.
Just follow the few more steps listed below to reach your goal!
1. Open your prepare data process
2. Add a SetValue inside of it.
3. now set value = expression
where
value is something like: /process_data/xmlPrepareData/form1/page/yourTextField (You must set the actual XPATH of your field here)
expression is /process_data/taskContext/object/user/userId
You are done now.
In the same way you can set the User Name using the following expression
/process_data/taskContext/object/user/CommonName
I hope this may help you!
Nith
Views
Replies
Total Likes
Hi Nith,
I did the same but again it doesn't work.
When I am running this process inside the workspace it doesn't kick off and exits with an error.
An error occurred creating the form (task 203, form 0). (ALC-WKS-007-040)
What I am doing wrong?
Please tell me how to integrate mine process with this one.
Thanks.
-
Abhinav
Views
Replies
Total Likes
Hi Abhinav,
The error that you get seems like the form is not viewable. If that is the case, then you may have to check the part where you use the Render Service to render the form. It may be something in the variable:
Variable > xxx.xdp (name of the variable that calls the form) > Advanced Setting > Render Service > Service Name and its Service Input & Output.
Hope it help.
HD
Views
Replies
Total Likes
Something have gone wrong with your prepare data process.
Enable Record & Playback and find out the activity which is causing this issue.
Or send your LCA. I will have a look at it.
Nith
Views
Replies
Total Likes
Hi Nith, Thanks a lot.
I re-deployed the application & It worked. It was strange but working now....
This issue is solved but another issue is coming (related to Prepare Data process). I will start a new thread for it [ @ http://forums.adobe.com/thread/772932?tstart=0 ]
Thanks
-
Abhinav
Message was edited by: Abhinav_Sharma
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies