User Defined Action with Destination

User Defined Action with Destination

I want to create a user action that will run a simple check to see if a user is logged in (Session.Username = "") and if no one is logged in, I want to have the system redirect the person to the login page. The problem I'm having is that when I go to build a user action, the destination widget is gone.

I understand that it is setup that way so that the action can be shared across eSpaces without a problem, but on the other hand, that means that I would have to create an if check with a destination on each page behind the login screen, which would not only be a big pain, but, would also make the web flow of the eSpace really messy and hard to follow.

How can I integrate a destination into an action instead of having to hand-code each page, and clutter up my web flow?



Hi Joshua,


You can take a look into the StyleGuide Template.

There you have an example of screens that need registered users and a security error handler on every web flow that redirects to the login screen.



Tiago Simões

Thanks Tiago,

I'll take a look at it and see if that helps clear everything up.