Hi,
How do i know workspace login user id in pdf form ?
I will populate items in dropdown list with workspace user id.
( ex. select from CourseTbl where userid = '< workspace logined user id >' )
Please, refer attachment files, too.
Thanks for your concerning...
You need to modify the Default Render ES Update 1 process for this.
1. For safer side, leave this process untouched and create a copy of this process and edit.
2. In the process, there is a variable called assignedUserId which will hold the unique user id (not your network user name)
3. Use this value and take the network user name from MySQL (Use JDBC component)
Query : SELECT uidstring FROM EDCPRINCIPALUSERENTITY WHERE refprincipalid = assignedUserId (replace this variable with xpath)
now the uidstring is your network user name.
4. Use your query to populate the drop-down list now.
Nith
hm...i can't that. help me... :-(
i am very very beginner to LiveCycle ES....
1. For safer side, leave this process untouched and create a copy of this process and edit.
>> In Processes tab, I selected "Default Render ES Update1" and copy that. ( "New Version" in Popup Menu )
2. In the process, there is a variable called assignedUserId which will hold the unique user id (not your network user name)
>> I found "assignedUserId" variable.
3. Use this value and take the network user name from MySQL (Use JDBC component)
Query : SELECT uidstring FROM EDCPRINCIPALUSERENTITY WHERE refprincipalid = assignedUserId (replace this variable with xpath)
now the uidstring is your network user name.
### Jasmin says:
instead of using the JDBC service to query the Adobe database, you should use the Find User service from Foundation to get
the user information back.
>> In Services tab, I found Foundation > User Lookup - 1.0 > Find User service component.
I dropped component in Process Design and defined new variables.
- for saving Logined user id in workspace => strLoginUserId: string
- for displaying strLoginUserId value => xfaTestForm: xfaForm ( pdf form or xdp form )
4. Use your query to populate the drop-down list now.
>> I met error...
i explained how do above steps through attached file (png files)
i need sample file...
thanks for your helping....
North America
Europe, Middle East and Africa
Asia Pacific