How to get the home page for a user using  Pl/sql code ?

Hi,
I have a pl/sql procedure which runs after a form submission on a dynamic page. At end of completion of the procedure I want to send user to his/her home page. I am trying to write at the end of procedure to redirect the user to the home page. How do I do that ? What is way to redirect to a page using pl/sql and how do I know the user home page url ?
thanks,
Mainak

Hi,
Try <portalschema>.wwv_redirect.url('<portalschema>.home');
Please replace portalschema with the name of your portal schema.
Thanks,
Sharmila

Similar Messages

  • Personalize the home page for every user.

    Dear CRM guru's,
       I would like to personalize the home page for all users by hiding some of the sections(My open tasks and Alerts). I don't want the users to enable these 2 sections when they try to personalize the page. Can you please suggest me how I can achieve this.
    Thanks!
    Surya.

    Surya,
    This is very easy.  The homepage is another view in an application component.
    For the sales home page, you would go to application WCC_SLS_HOME and configure the view WCC_SLS_HOME/SalesHome.
    You can then restrict what applications show up on that home page.
    You just need to find out what "home" application your role is using and configure that one accordingly.  Most follow the WCC_*_HOME pattern.
    Take care,
    Stephen

  • How to get the root node for a child using connect by prior

    Hi,
    I searched at many places to do this but not able to get the exact o/p sp posting my question here.
    I have a table with parent_id and child_id columns. The levels of this parent_child can be many but my aim is to find the ultimate parent ( dont know the right term)
    like if I have a child_node= xyz and its parent= pqr and its parents=lmn which might be ultimate parent which doesnt have any further parent.
    So if i start with child_code= "xyz" then i should get the parent as "lmn" and not the immediate parent "pqr".
    Please help.
    Thanks,
    Aashish

    To find the Parent on emp table:
    select empno,ename,level
    from emp
    where level=3
    start with empno=7934
    connect by  empno= prior mgrTo find the Child on emp table:
    select empno,ename,level
    from emp
    where level=1
    start with empno=7934
    connect by prior empno=  mgrBut you need to know the level or position to specify the level of parent or child. But there are some other possible options available if we can know the requirement properly.
    Edited by: Vasista on Jan 11, 2011 2:27 AM
    Edited by: Vasista on Jan 11, 2011 2:30 AM

  • How to get the addition DML Error information when using PL/SQL?

    Given the following statements:
    drop table bob;
    create table bob
    col1 number(6,2),
    col2 number(6,2) not null
    insert into bob(col1, col2) values (123.12, null);
    insert into bob(col1, col2) values (123.12, 12345.12);
    commit;
    I get different behavior from Oracle error messages.
    Here is the sample output:
    Table dropped.
    Table created.
    insert into bob(col1, col2) values (123.12, null)
    ERROR at line 1:
    ORA-01400: cannot insert NULL into ("BOB"."COL2")
    insert into bob(col1, col2) values (123.12, 12345.12)
    ERROR at line 1:
    ORA-01438: value larger than specified precision allows for this column
    Commit complete.
    Note that in the first error (1400) the generated error message contains the name of the problematic column ("BOB"."COL2"). Also note that in the regurgitated statement the error pointer (*) is at the far left. In this case, the regurgitated statement is of no use to me because the error message identifies the culprit column.
    However, in the second error (1438) the generated error message is very generic and does NOT indicate the problematic column. In addition, in this case the error pointer (*) of the regurgitated statement has moved to point to the troublesome column. In this case, I must use BOTH the error message and the regurgitated statement to completely understand the problem.
    This difference in how error messages are constructed causes difficulty within PL/SQL. If PL/SQL happens to generate a 1400 error message, then simply capturing the error message and giving it to the user provides enough information for him/her to solve the problem. However, if a 1438 error is generated then the resulting error message has insufficient information for the user to pursue the problem.
    So my question is, within PL/SQL do you know how to get your hands on Oracle's regurgitated statements so that they can be presented to the user to assisted him/her in problem resolution?
    Thanks.

    I don't think it's that easy. Notice that if you put the insert into an actual pl/sql block, you don't get the correct column pointer anymore.
    BEGIN insert into bob(col1, col2) values (123.12, 12345.12); END;
    ERROR at line 1:
    ORA-01438: value larger than specified precision allows for this column
    ORA-06512: at line 1
    Richard

  • How to Change the Alias name for Internet user in SU01 tr code through cod?

    Hi Guys,
                 My req is we have to change the Alias name(SU01 tr code) for the existing users thru code.So can anybody tell me how to change the Alias name like which we do it in SU01 tr code thru code or FM.?
                Is there any FM for tha changing Alias Name?
    Thanks,
    Gopi.

    Hello Gopi Anne ,
                                 You can use the following FM / BAPI :
    BAPI_USER_CHANGE
    MY_BAPI_USER_CHANGE
    For BAPI_USER_CHANGE :
    You need to make use of the IMPORT parameter :
    ALIAS     TYPE     BAPIALIAS                               User Name Alias
    ALIASX     LIKE     BAPIALIASX                               User alias change flag
    Thanks,
    Greetson

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • No matter which page i run... i should get the home page first

    Hi,
    i have some jspx pages in my application
    No matter which page i run... i should get the home page first
    Because there is a chance that the user might remember the url of a certain page and copy paste that one in the browser... in such type of scenarios also home page should come first
    After i implemented Adf security in the redirect upon successful login i took the home.jspx page... but it is not going to home.jspx when i run some 'x' page and give the credentials for authentication.
    This for our project they dont want to implement at taskflow level for each and every taskflow... is there any higher level where we can implement such feature because home page is common for all.
    Thanx,

    No matter which page i run... i should get the home page first
    Because there is a chance that the user might remember the url of a certain page and copy paste that one in the browser... in such type of scenarios also home page should come first
    After i implemented Adf security in the redirect upon successful login i took the home.jspx page... but it is not going to home.jspx when i run some 'x' page and give the credentials for authentication.Just create a filter and put some logic like the one below:
      if(!request.getRequestURI().contains("homePage"))
                 ((HttpServletResponse)servletResponse).sendRedirect("http://server/yourApp/faces/homePage");
      else
          filterChain.doFilter(request, servletResponse);You can easily search for how to create a web application filter and register it in web.xml ..

  • Add Notification Worklist to the Home page for a responsibility

    Hello All,
    How do you add Notification Worklist to the Home page for a responsibility?
    Thanks,
    Bradley

    Query the responsibility that you want to add the worklist to get the menu associated to it, then query up the menu and add the Advanced Workflow Worklist function to the menu along with a prompt like Worklist.

  • Howcan I set the home page for new tabs?

    When I open a new tab, it opens up as a blank page. How do I setup Firefox so that the new tabs open in my home page?
    ''locked by a moderator due to age and that Firefox 13 has a new feature for a new tab''

    Thanks, but the problem I'm trying to solve is to get my home page to open automatically when I am already in Firefox and click on the new tab "+" sign to the right of my most recent tab. I have not found a solution to this in the link "How to set the home page" nor in the various help pages on new tabs.

  • How to change the "home" computer for a iPod touch 3G (iOS 4.2.1) and an iPad 2(iOS5)? Music library has been already moved to iTunes on the new computer.

    I have a iPod Touch (3rd gen) that has not upgraded it's OS beyond iOS4.2.1 even if I have tried connecting it into iTiunes I have a iPad2 which has been recently upgraded to iOS5 . Both were connected to a laptop computer that my husband will take with him when he moves to a different city. I will most probably buy a second laptop sometime, but meanwhile I want to tether my iPod touch and iPad 2 to my desktop PC for now. Before I took the plunge, I had a few questions which I am hoping this forum will help me answer
    1. How to switch the Home PC for these devices? I have already transfered my Music library on to my Home PC and then downloaded and reorganised with iTunes. Since I am reorganising the library anyway I don't minding removing all my music from the iTouch and set it up from scratch for the music. However, I removed all musci from theiTouch, changed it to manual mode and connected it to the desktop- It's detecting it fine- but it still is not the home computer for the iTouch- everytime I try to put new music in it- it is deleting everything old- I can't see the same controls as I see from the laptop at all- how to rectify this? To I need to set this up as a new iPod (restore route)?
    on the touch I have very few apps and don't care about them. on the iPad I do have a couple of valuable apps that I want to hold on to- so have n't tinkered with it at all- what is the smoothest way for thsi transition? The iPad doesn't have any music on it at this time, but what to do if I want to transfer some?
    2. Is there a way I can store the organised iTunes info in any way- like I said I might buy a new laptop in a few months but do not want to reorganise my iTunes over agaoin- it' a fairly large collection most of which is n't purchased from the iTunes store.
    3. Why sin't my iTouch 3G upgrading- it's stuck on iOS4.2.1 but iTunes doesn't show any updates- even with chck updates button iTunes show that it is a current version.
    thanks for reading through and any help that I can get to sort this mess out.

    The recent release of iBooks 1.2.1 has corrected the problem of the missing Dutton edition of Winnie-the-Pooh. It may have been there with the previous install of iBooks but it would never display in the bookshelf. After updating iBooks to 1.2.1, the Dutton version (the one included with iBooks) suddenly appeared on the bookshelf. So it was a software glitch after all and not a fix Apple chose to document explicitly in the update.
    Message was edited by: Rick Lang

  • I have recently had a problem when turning my iPad on from shutdown, in that it takes at least four attempts to slide my finger across to get the home page. The screen is clean, and when I do eventually get the home page it all works perfectly. Any ideas?

    I have a problem getting my IPad to start from shutdown. I get the Apple logo then when it is ready for me to slide my finger across the lower part of the screen to get the home page, it takes at least four attempts. When it does eventually open the home page, all works perfectly well. The screen is clean so I cannot see any reason for this annoying problem. Any suggestions will be gratefully received. Thank you. Colin.

    i would reset it, then restore as new

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • I downloaded the new version of Mozilla and tried to install an add-on to allow me to set the home page for new tabs. The app says it has downloaded but does not open new tabs as my home page (google) - any suggestions what I can do?

    I downloaded the new version of Mozilla and tried to install an add-on to allow me to set the home page for new tabs. The app says it has downloaded but does not open new tabs as my home page (google) - any suggestions what I can do?

    I've been working on this all day!!! I've tried everything I know of and can't get it to load either. Sounds like lots of people are having problems. Here is what I have so far...I have uninstalled EVERYTHING on my pc from apple and reinstalled itunes to no avail. I have tried all sorts of things I've read as fixes online. NOTHING has worked. Here is something interesting that i have noticed though. my main pc (which is the one i have always managed my itunes account with for years) is a 32 bit system running windows 7. Yesterday I installed itunes for the first time on my new netbook which is a 64 bit (windows 7) system and it works just fine. i have three other laptops (all window 7) in my household that are all 64 bit operating systems and ALL have updated to 10.5 and THEY ALL work fine. this is FOUR 64 bit systems ALL updated w/10.5 that work and ONE that is a 32 bit that will not. Can't get any help from apple. their suppot *****! I want to get someone on the **** phone or a live chat but cant. *** APPLE????? please let mw know if you find SOMETHING i can try next. I'm out of ideas and patience!

  • Start page lacks menu items - unlike "How to set the home page" view

    I have just downloaded the beta of Firefox 4 and am attempting to reproduce opening home page from previous version. Directions on accomplishing this (loading the NY Times front page) depend on a menu bar with "File, Edit, View, History" etc. There are not visible. They are shown in the directions on Firefox Help but not on my computer. How to do this??

    Click the Firefox button, then click Options. This will open the options dialog that the [[How to set the home page]] article refers to.
    When viewing the support articles, in the right-hand column there is a section titled "Help With:", make sure it is set to Windows and Firefox 4 to get help relevant to the version you are using. In some articles you get different content when you select Firefox 4.

  • HT204416 safari though I blocked the pop tabs I keep getting the home page is always unconfigures and does not let me banks I do?

    safari though I blocked the pop tabs I keep getting the home page is always unconfigures and does not let me banks I do?

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.Safari.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

Maybe you are looking for

  • HT3053 Can I run my MacBook Pro Late 2008 without battery forever? Is it bad in long term or anything? Does it make the system less stable?

    Can I run my MacBook Pro Late 2008 without battery forever? Is it bad in long term or anything? Does it make the system less stable? My battery got swollen (and I unfortunately noticed it very late and might have be running with it for months, which

  • Null value in Datetime field

    I have a form that inserts data, but the date fields are getting a default value (1/1/1900 12:00:00 AM) even though I don't insert a value for that field. How would I insert a NULL value in the datatime fields in MSSQL.instead of the default value (1

  • If I get a new MBA can I put ML on another Mac

    I'm considering a 13" MBA which of course will come with ML installed. My wife, however, has a 2010 MacBook with SL on it. If I get the MBA would I be able and entitled to put ML on my wife's MacBook or would I have to purchase it separately in order

  • Subscription Confusion

    Hello Ok yesterday I was confused because a lot of ondemand shows that should be FREE were suddenly showing up as £1.10 charge to watch them and after reading a few messages and the price change information in january which reduced all packages (Bron

  • BDC question help me

    hi abapers guide me. for example i am having 50 records i am using call transaction and session method. in 31st and 32 records are error records and remaining all are correct records. if i use call transaction how many records will be update and if i