Skip navigation
Currently Being Moderated

Workspace logined user id ?

Oct 21, 2009 9:01 PM

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...

Attachments:
 
Replies
  • Currently Being Moderated
    Oct 22, 2009 1:19 AM   in reply to mirazero

    Hi,

     

    One approach in this case could be to get the user id (from AWS_ASSIGNED_ID value using Find User service) and then populate the value in dataXML before rendering the form.

     

    Thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 25, 2009 10:38 PM   in reply to mirazero

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 5:15 AM   in reply to $Nith$

    On #3, 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.

     

    Jasmin

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 6:05 AM   in reply to Jasmin Charbonneau

    Many thanks for the information Jasmin.

     

    I don't know how why did I miss this simple logic on all my applications

     

    Thanks a lot.

     

    Nith

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points