New call-to-action
Results 1 to 6 of 6

Thread: TabbedUI Based On Logged In User Groups

  1. #1
    "Certified" Alphaholic iRadiate's Avatar
    Real Name
    Stephen
    Join Date
    Jan 2011
    Location
    London, ON, Canada
    Posts
    1,743

    Default TabbedUI Based On Logged In User Groups

    Just seeking some feedback or advice on the following change I am considering implementing:

    Background
    My application has been designed from day one, many years ago, around the TabbedUI.
    I have several groups of users, all of whom login and see the same main tab page inside the TabbedUI. The main tab acts as a status board for various conditions within the department.
    Recently another department has started using the application and now I want to change the behavior of the application so that users will actually see different things in the main tab based on their user group.

    Currently my application design works like this for all users:
    1. Standalone Login Component on an A5W page - redirect page after successful login is Login Processing A5W page (defined in Web Security Settings)
    2. Login Processing A5W page - assigns session variables (user firstname, lastname, department, etc) then redirects to the Home A5W page which holds the TabbedUI component.
    3. The TabbedUI properties define the main tab page.

    1.Login.jpg 2.TabbedUI Properties.jpg


    Changes To Modify Application
    It appears access to the main tab in the TabbedUI is through the TabbedUI property main page URL, so I am playing with this idea:
    1. Login Component on standalone A5W page remains unchanged - redirects to Login Processing page
    2. Login Processing Page gets user group then redirects to appropriate Home_Group page based on user group.
    3. Create multiple TabbedUI components and pages to hold them.
    4. Create new components (for each user group) which will display the appropriate component in the TabbedUI.

    I have played around with this at home and it works. I am just curious if any of the gurus in the community has used this type of approach?
    Is it bad practice to essentially have multiple TabbedUI components simply to have a different Main Tab displayed for a particular user group? Is there a better way to implement.

    Thanks for looking.
    Alpha Anywhere v12.4.6.1.9 Build 6488-5436 IIS v10.0 on Windows Server 2019 Std in Hyper-V

  2. #2
    "Certified" Alphaholic glenschild's Avatar
    Real Name
    Glen Schild
    Join Date
    Apr 2000
    Location
    Frome, Somerset, UK
    Posts
    1,536

    Default Re: TabbedUI Based On Logged In User Groups

    Hi Stephen

    Used both techniques! One long time application has used a single tabbed ui and has different menu options depending upon the user group assignments and has worked well. However as the application continues to grow are now testing a revision where after login all users are taken to a terms page where they have to check an acceptance box before proceeding. Exactly where they can go will depend on their user rights so for some they have only one option and for others they may have multiple options. Each option has its own tabbedui and each tabbedui has a navigation menu section which allows navigation between the different tabbedui menus dependent again on their user rights.

    Hope this helps.

    Glen

    Quote Originally Posted by iRadiate View Post
    Just seeking some feedback or advice on the following change I am considering implementing:

    Background
    My application has been designed from day one, many years ago, around the TabbedUI.
    I have several groups of users, all of whom login and see the same main tab page inside the TabbedUI. The main tab acts as a status board for various conditions within the department.
    Recently another department has started using the application and now I want to change the behavior of the application so that users will actually see different things in the main tab based on their user group.

    Currently my application design works like this for all users:
    1. Standalone Login Component on an A5W page - redirect page after successful login is Login Processing A5W page (defined in Web Security Settings)
    2. Login Processing A5W page - assigns session variables (user firstname, lastname, department, etc) then redirects to the Home A5W page which holds the TabbedUI component.
    3. The TabbedUI properties define the main tab page.

    1.Login.jpg 2.TabbedUI Properties.jpg


    Changes To Modify Application
    It appears access to the main tab in the TabbedUI is through the TabbedUI property main page URL, so I am playing with this idea:
    1. Login Component on standalone A5W page remains unchanged - redirects to Login Processing page
    2. Login Processing Page gets user group then redirects to appropriate Home_Group page based on user group.
    3. Create multiple TabbedUI components and pages to hold them.
    4. Create new components (for each user group) which will display the appropriate component in the TabbedUI.

    I have played around with this at home and it works. I am just curious if any of the gurus in the community has used this type of approach?
    Is it bad practice to essentially have multiple TabbedUI components simply to have a different Main Tab displayed for a particular user group? Is there a better way to implement.

    Thanks for looking.
    Glen Schild



    My Blog


  3. #3
    "Certified" Alphaholic iRadiate's Avatar
    Real Name
    Stephen
    Join Date
    Jan 2011
    Location
    London, ON, Canada
    Posts
    1,743

    Default Re: TabbedUI Based On Logged In User Groups

    Great, thank you for your comments Glen.
    Alpha Anywhere v12.4.6.1.9 Build 6488-5436 IIS v10.0 on Windows Server 2019 Std in Hyper-V

  4. #4
    VAR Pat Bremkamp's Avatar
    Real Name
    Pat Bremkamp
    Join Date
    Apr 2000
    Location
    Oregon, USA
    Posts
    2,649

    Default Re: TabbedUI Based On Logged In User Groups

    Here is an idea we use:
    Create a ux component with one control, a tab component. On each tab, you can put a page, a component or a tabbedUI. Also, each tab has a Show/hide property, so you can set which tabs show based on a session variable set in your processing page such as Session.GROUPID. This also can give you space above the tab component for stuff common to everyone, such as "Welcome ...." or help.
    The ux layout we use looks like:
    controls.png
    and the ux showing a tabbedUI on a tab looks like:
    component.png
    Pat Bremkamp
    MindKicks Consulting

  5. #5
    "Certified" Alphaholic CharlesParker's Avatar
    Real Name
    Charles Parker
    Join Date
    Dec 2012
    Location
    New Orleans, LA
    Posts
    2,244

    Default Re: TabbedUI Based On Logged In User Groups

    I have a single tabbedUI - what I do is put certain buttons in a frame and set security by user group that way. Very simple, single UI - each "Group" see's ONLY the buttons that they need to AND I can set up show hide based on the company_ID and or the particular user if need be - so overall a single tabbed UI can be a rock star of a UI!!!
    NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

  6. #6
    "Certified" Alphaholic iRadiate's Avatar
    Real Name
    Stephen
    Join Date
    Jan 2011
    Location
    London, ON, Canada
    Posts
    1,743

    Default Re: TabbedUI Based On Logged In User Groups

    Excellent suggestions gentlemen! Thanks for your input.
    Alpha Anywhere v12.4.6.1.9 Build 6488-5436 IIS v10.0 on Windows Server 2019 Std in Hyper-V

Similar Threads

  1. Replies: 20
    Last Post: 12-07-2015, 10:23 AM
  2. TabbedUI login feature - no Logged on showing
    By Garry Flanigan in forum Mobile & Browser Applications
    Replies: 3
    Last Post: 08-06-2013, 12:52 AM
  3. How to Set a Startup Form based on the Logged in User?
    By JetLi in forum Alpha Five Version 11 - Desktop Applications
    Replies: 4
    Last Post: 12-23-2012, 12:24 AM
  4. Color field based on user logged in
    By workaholic06 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 09-20-2010, 12:23 PM
  5. Default value based on user groups
    By catplus in forum Alpha Five Version 7
    Replies: 0
    Last Post: 10-01-2006, 01:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •