Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Retrieving user data from a Flex application

Avatar

Level 2

Hi! I need to use a Flex application (not a form guide) in the Workspace.

I'm able to make a Flex application who is workspace-enabled, but I don't know how to retrieve user data.

I know that if I use a Form Guide, I can use a custom Render Service which can retrieve user data, but how can I do the same if I'm not using Form Guide, but a pure SWF (i.e. type variable is Form)?

Thanks,

Alessio

1 Accepted Solution

Avatar

Correct answer by
Level 10

There is a way you can get to the user information from the Flex application. You can get the user name, email address and that kind of stuff.

You can check the following blog on how to do that: http://michael.omnicypher.com/2008/12/get-current-user-for-workspace-enabled.html

If you need other data, you might need to do a web service or remoting call once the Flex form has loaded.

In the next release of LiveCycle, you'll be able to use the same concept as the render service.

Jasmin

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

There is a way you can get to the user information from the Flex application. You can get the user name, email address and that kind of stuff.

You can check the following blog on how to do that: http://michael.omnicypher.com/2008/12/get-current-user-for-workspace-enabled.html

If you need other data, you might need to do a web service or remoting call once the Flex form has loaded.

In the next release of LiveCycle, you'll be able to use the same concept as the render service.

Jasmin