How to change users' initial page based on a condition

I'm using SSO on my application, and have two types of users who will be logging on - I want one set (admins) to go straight to one page, and the other set (users) to go to a another page after logging in. These two sets of users are stored in the database, so I can want to use that to check against.
I get the impression this would be easy enough if my users went via the 101-login page, but as I'm using SSO I don't think they do. I can change the default starting page, with the home link setting in the application's security attributes, but you can only set one of those.
I don't mind having it all default to one page, and then redirect away from that if the username meets a particular condition, but can't see how I can do that.
Can anyone suggest how I can work this to achieve what I need?

Tim,
First I would create a HOME_PAGE application item. Then I would create an application computation on new instance that sets that item accordingly. something like this:
with user_table as(
    select 'TIM' user_name, 'ADMIN' user_role from dual
select case
           when exists(select *
                         from user_table
                        where user_name = :APP_USER
                          and user_role = 'ADMIN')
           then
              102
           else
              103
      end
  from user_tableI would make a landing page all people go to. Page 150. On that page i would make a branch before header which references your HOME_PAGE application item.
Cheers,
Tyson Jouglet

Similar Messages

  • How to change the initial page without open safari

    Hi everybody,
    I have problems opening my safari because of the plugin silverlight. I defined a tvair.swisscom.ch page as initial and it makes an error open it. it means that my safari doesn't work at all.
    i want to know if somebody knows how to change the initial page from safari without open safari and solve this problem.
    thx
    cheers
    nun

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.Safari.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test. Optionally, restore the file from a backup that predates the problem.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to change a single page orientation in pages

    I would like to know if anybody knows how to change a single page orientation in Pages.
    Thanks.

    Of course it unrotates the text if I'm editing the text box, but not when I'm resizing or changing font properties.  And when editng the text and there is an image beside it, the image obscures the text which makes editing exasperating. And since I got a table on landscape that exceeds 7.5" width, when trying to edit the last 2 columns,those become invisible on portrait, hence I'm unable to edit. And so has to set the doc to landscape, set to 0-deg, edit, set it again to portrait and 90-deg, and repeat if I happen to need to edit those invisible columns.  Really a great and efficient way to write my technical doc!  Which you would know IF YOU HAD TRIED IT -don't appreciate your sarcasm!
    You can defend this blatant failure all you want but this kind of inadequancy continues because people don't speak up and demand this reasonable function and instead are satisfied with work-arounds that makes things hard for relatively easy task. I'm a systems and applications designer, this is the type of "missing feature" that would cause our app to be rejected by our clients.  Surely you realized that because the users demanded, since 10.7, window resizing can be done from all corners instead of just right corners (or was it only bottom right)?  I was shocked when I discovered this 2yrs ago when I switched to Mac and started using Snow Leopard. I'm grateful that I can now resize on 4's.

  • I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.h

    I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.how to do that in xml file ?

    Thanks john for you are reply.
    I had tried what you sad.I open shared service in that foundation project i had export shared service.after that in import-export file.In that role.csv,user.csv,group.csv.Like this file have.When i open user file added some users after i trying save in excel it shown messgse
    I click yes and save the .csv file and import from share servie. i got error like this
    am i doing right way john.or explain clearly

  • How to change user account's Short Name

    Hopefully this is a fairly simple question.
    When I installed OX 10.3 I mispelled my short name, and now I'm can't find how to change it.
    Reffering specifically to: System Preference>Accounts>Short Name
    It's not super important, but would be handier to have it displaying correct for networking.
    If anyone can let me know how to change the short name, and any issues that may result from changing it, it would be great.
    Thanks for any input

    Hi baobhanjex!
    Here is a direct link that usually works, to the utility ChangeShortName by Dan Frakes.
    Read all of the instructions carefully, and proceed cautiously, as an improper change can result in unwanted results.
    Such as;
    Return to Default Desktop, Apparent "Loss" of Home Directory
    Mac OS X 10.3 Help: My home folder and desktop are different than before
    Also, here is a KB Article on How to change user short name or home directory name.
    ali b

  • When downloading an update from app store, password is requested from a different user.  How to change user?

    when downloading an update from app store, password is requested from a different user.  How to change user?

    Unfortunately there's no way around this.  you will need that password to update the apps. If he won't give it to you, then i'm not sure what to say.
    You should have kept the account with the Apps you bought yourself.
    Otherwise, as I said, delete the Apps, and buy them again.
    Sorry.

  • Firefox 4 and the previous 3.x version fail to update changed user home pages? After reboot the ancent home pages reappear and the replace the now ones. Why & how to fix this software bug?

    - Firefox 4.0 is used as preferred browser
    - One can change the user home pages. The new homepages are found & work ok after closing and reopening Firefox.
    - However, after rebooting the laptop (HP Elitebook), old Firefox home pages reappear, they replace the new ones.
    - If I remember correctly this bug appeared already prior Firefox 4.0, this malfunction/ bug was noted in some last winter version before the v 4.0.
    - Help/ Bug fix is appreciated!

    - Firefox 4.0 is used as preferred browser
    - One can change the user home pages. The new homepages are found & work ok after closing and reopening Firefox.
    - However, after rebooting the laptop (HP Elitebook), old Firefox home pages reappear, they replace the new ones.
    - If I remember correctly this bug appeared already prior Firefox 4.0, this malfunction/ bug was noted in some last winter version before the v 4.0.
    - Help/ Bug fix is appreciated!

  • How to change a Code Page in SAP SCRIPT ?

    I have a specific requirement, would need your help :
    There is a <u><b>CODE PAGE</b></u> which is getting assigned to the <u><b>SAP SCRIPT FORM</b></u>. <i><b>For E.g : 1100 is generally used for SAP SCRIPTS.</b></i>
    I would like to know if there is a possibility to change the <u><b>Code Page</b></u> based on certain conditions ??
    Also i would like to know how and where is a <u><b>CODE PAGE and SAP SCRIPT FORM linked.</b></u>
    I have analysed that a <b>default code page</b> can be set in the <b>SAP LOG ON PAD</b> but not able to find the issues mentioned above.
    Kindly help me out with your valuable suggestions and solutions.
    Thankyou
    Brijesh.

    Hi,
    MDMP means Multi Display Multi Processing. See the note system for details. The problem of MDMP is that the different languages use different codepages and not all characteres can be displayed in every codepage.
    A solution would be a unicode conversion of the system. In unicode there is only one internal codepage, which contains all special characters of the individual languages. However the migration needs several hours of down time and unicode systems need more memory and disk space. I can't tell you a percentage for that. You need at least R/3 4.7 for unicode.
    In non-unicode system I believe you can't change the codepage inside a SAPscript document directly. I would have to end form processing an start a new form. To change the language you can try the ABAP-command SET LOCALE. Also see the language parameter in START_FORM.
    If that doesn't work I would try using RFC-Connections. Make RFC-Connections in your system which contain the system it self as target system, but with the desired language filled in. You do not need to provide a user or password, that would be taken form the logged on user.
    Inside your printing program you put the real printing into a function module. Your report then can call the function via RFC using a connection in the correct logon language.
    Greetings

  • How to change default vertical page co-ordinates from center, to top?

    Hi There,
    We're having trouble understanding why InDesign centers the page instead of aligning the view to the top when switching pages (and copying and pasting) - and how to change this behavior.
    To understand what I'm talking about, do the following:
    Create a new document (any size)
    Use the page tool to to change the height
    Create a new page and use the page tool to make the height a lot taller
    Now switch between the pages
    Notice how InDesign always shows you the center of the page?
    This is frustrating in many situations like copying and pasting - try the following:
    Create a box on the first page and align it to 20mm from the top and 20mm from the left
    Copy the box
    Switch to the second page
    Paste using CMD + OPT + SHFT + P
    The object should be pasted in the same spot (20mm from the top and 20mm from the left) but it isn't - on the vertical, it's pasted relative to the center of the page for some reason.
    It surprising how annoying this becomes when you're constantly re-positioning pasted items or when switching between web layouts of different heights - it becomes a two step process instead of one.
    Does anyone know how to change this behavior?
    Any pointers in the right direction would be much appreciated - we're using CS5.5
    Cheers
    Ben

    Thanks for the replies - sorry I didn't reply earlier but they went to junk.
    Why in the same spot if pages have different size?
    In general, sure - but what about letting the user define a point of reference? For me, it's always the top left corner like the rulers - I completely understand if that doesn't work for others but it would save me so much wasted time constantly repositioning objects.
    Also, in a lot of documents with different page-sizes, setting the reference to top left (or whatever you set your rulers to) actually works a lot of the time - granted, probably only for those that use the numbers to position objects.
    Anyway, what I'd like to do is find out how to set a document-wide reference point for co-ordinates - obviously you can't do this right?
    Another thing that wastes time (in a similar vein) is the ability to set defaults for translation, rotation and flipping etc.
    Almost without fail, I find I want top left when moving (because I set rulers to top left) but center for rotation and flipping. Being able to set a default per translation type would save a lot of pointing and clicking.
    Is this possible?

  • How to change user group of a query (sq01)

    Hi,
    I'm working with SAP Queries (SQ01) and I don't know how can I change the user group assignation of a query. We did only one user group for all users and queries and know in order to arrange it a bit we've created three user groups.
    We know how to assign users to new user groups but for each query of the old group we neet to move it to one of the new user groups, how could we do this?
    thanks in advance

    Hi
    pls go through these links
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same

  • How to change standard start page of AS Java

    Dear experts,
    could you please tell me - is it possible to change the start page of the SAP J2EE server (which is shown when you go to the http://<server name>:50+<system number>*100  page -
    SAP Help Portal, System information, User Management etc.)?
    Is it possible to change it to the customer page?
    I thought it is connected with HTTP provider service, but the root directory pointed where
    doesn't exists in the server (.../j2ee/docs),
    so I don't understand, from what source the standard page is retrieved and shown to the user.
    Thanks a lot!
    Andrey.

    Hello Ventsi,
    thanks a lot for clearing of the situation.
    In fact we have a question - how to show the static web page which is stored on the J2EE server instead of the standard index.html. It is not an application, but simple html page.
    In HTTP provider help we can see the following lines -
    Root Directory
    The root directory for this host. The installation program does not create the main directory for the HTTP files automatically. It must be created additionally, or the path must be redirected to an existing directory. 
    Value  ../../docs
    Start Page
    This page is displayed when the browser establishes a connection with the host. The server searches the root directory for a file that appears in the Welcome Files list. The first match found is returned to the client browser.
    So does it mean that we have to create docs directory manually and put our file into this directory? 
    Or it is the wrong approach?
    Thanks!
    Regards,
    Andrey.

  • How to change/update one page and all others at once?

    I'm quite new to Dreamweaver. I am trying to add some things to my sidebar and I would like it to appear on all of my other pages. I used a template for the index(homepage) then I just saved the page so I could create other pages for it to have the same logo and such on those pages. So how do I go about editing one page and all others at once?

    If you used DW Templates to create your child pages, open your .dwt file. 
    Make changes to the sidebar.
    Save and populate changes to child pages.
    Unfortunately, making changes to child pages will not populate to other child pages.  Only the master template.dwt in DW can populate changes across to child pages.
    Nancy O.

  • How to change the opening page, when we open a new tab?

    When I open a new tab, it opens the babylon search (which is annoying). How to change it to the thumbnail view showing most visited pages?
    PS: I have not installed anything Babylon related to my PC. I checked the control panel nothing Babylon related is there.

    Hi,
    You can try to right-click and '''Reset''' the '''browser.newtab.url''' key in [http://kb.mozillazine.org/About:config about:config].
    [https://support.mozilla.org/en-US/kb/new-tab-page-show-hide-and-customize-top-sites New tab page]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    If the problem persists please see [https://support.mozilla.org/en-US/kb/removing-babylon-searchqu-or-mystart Removing Babylon, SearchQU or MyStart].

  • How to change the web page title of a web dynpro app?

    Hello,
    I would like to change the HTML page title of a web dynpro application without renaming the application component itself - but how?
    Thanks for your comments!

    Hi M Walter,
    Assuming you are using Web Dynpro Java, you can change the title of the Web Page for Web Dynpro App by adding the title to the main window of your app.
    Go to Windows and open the properties. There will be a field called 'title'. Give the title you want, save, build, DC->Build and deploy.
    The title you gave to this Window will be displayed as the title of your Web page.
    Regards,
    Ajay

Maybe you are looking for

  • How to install Windows 8 on MSi Wind Box DC110?

    I bought the DC110 without realising it is delivered without Windows 8 pre-installed. So I need to install it myself But I have no idea how to do it! There is no cd player in the DC110 so how can I then install Windows 8? Maybe a very sily and stupid

  • LCM in csv File Format 11.1.2

    Is it possible to export dimension metadata into a .csv file using LCM in 11.1.2? I can only see it as .xml format and no options to change to .csv.

  • Mail sender is mixed up

    I have 3 different mail accounts - whatever mail sender i choose, it seems it picks a random one as sender. I think it is new after upgrading to Yosemite. Any suggestions?

  • Applying patch to fix the forms problem

    Hi, I have some issue with mouse so following this note *12.1.1 Mouse Navigation on Receipts Workbench Does Not Work. Users Need to Use Keyboard Tab Key [ID 873720.1]* to apply 9044638 patch to fix this. I want to confirm that i am applying it to the

  • 10.4.6 upgrade killed my G5. how to fix?

    hi. i installed 10.4.6 via software update. i chose "shut down" when it was done. came back the next day and started it up. it wont starrt. just gets stuck on the apple logo screen. no rotating progress bar. cant start up from any of my start up CDs