Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Workflow TabSubDialog Component

Created: 31 Dec 2013 | 4 comments

I am building a workflow that requires a lot of data to pass to the end user and I am using the TabSubDialog component to organize that data. I will also have several levels of users (Example: End User-only a little data visible, Data Owner - Most data visible, Site Admin - All data visible). Any ideas of how to make a tab visible or not? The only thing I can think of is to either make a form for each user type or make a single form with an I-frame component and set the visibility of that I-frame based on the user type then just pull up different pages in each I-frame. Neither seem very clean so any ideas would be appreciated.

Operating Systems:

Comments 4 CommentsJump to latest comment

michael.george's picture

When I need to do something like this, I create an array of usernames that should be treated as site admins. When a user logs into the system, I check the username against the list of admins. Set a boolean variable to false if it doesn't match and true if it does.. Then in the web form editor, set the visibility property of the tab sub dialog to be based on the variable instead of the default constant true value.

If a post solves your issue, please mark it as a solution. It makes these forums better for everyone.

Shawn Gregory's picture

Thanks for picking up this thread, but I may not have given enough info. I am trying to hide a specific tab versus all of the tabs in that one tabsubdialog.

michael.george's picture

Ah, I see now. I somehow missed the fact you said tab subdialog and not just subdialog. With the tab subdialog, I don't see any way to make what you want happen.

It might be kind of silly, but I suppose one option would be to check the username against your list of admins, then direct them to one of two (or three, whatever) different form builder components that are identical except for the tab subdialog component therein. The downside to this is that if you make a change on one, you'd really want to make the other match. If you had five or six different forms, it would likely get tedious trying to make sure the changes where across the board.

If a post solves your issue, please mark it as a solution. It makes these forums better for everyone.

Shawn Gregory's picture

I guess i will put this in the ideas forum and maybe symantec can add that in the future.