Redirect to the Page if not set application

Would like comments on how best to achieve the following objectives:

I have a P_ORG_ID of point of Application that the user is located on the first page after logging into Apex - click on the Org of interest.

Sometimes, users can connect without going through the entire Org page - what is the best way to redirect a user to the page Org if P_ORG_ID is null?

Wouldn't be easier to have a process Application that fires when loading before header, containing javascript?


Any help appreciated.

Hi Matt,

Create a PLSQL 'On Load - after the region' process. (At this time there, the page is already covered and all parameters are resolved).

Then put code somehting like below

      IF (V('P_ORG_ID ') IS NULL) THEN  --Check wthether item is set
            OWA_UTIL.REDIRECT_URL ('f?p='|| v ('APP_ID')|| '::'|| nv ('APP_SESSION'));
      END IF;

*:* - Put the ID page or Page Alias that you want to go when this element is not defined

Alex

Tags: Database

Similar Questions

  • elements on the page do not set when called via the hyperlink in graphics

    Hello to anyone who can help me on this thorny issue,

    I have a barchart on one page (page 39), where if you click on the bar graph, open the page 40 and variables are placed on the elements of page 40. variables depend on what bar was clicked. somethiing looks like this:

    Select ' F? P = 102:40 :'|| : APP_SESSION |': NO::P40_DATE, P40_JAHR :'|| TO_CHAR (reference, 'yyyy.mm.dd') | ',' | link to_char (reference, "yyyy"),
    TO_CHAR ("reference, ' dd.mm.yyyy"),.
    Avg_mips
    go... a few sql queries...

    It works usually - BUT, once in a while, good page, but the elements have the value NULL.
    only when I press F5 to refresh the page, the variables pass correctly for items and the appropriate query is made...
    After a few tests, it seems to happen when I click on fairly quickly. quickly return to page 39, a new bar and click on I'm back on page 40.
    If I do this slowly, maybe wait a few seconds, it works in general.

    for example, the URL looks something like this:
    http://Daidalos:7777/pls/Apex/F?P=102:40:2118535974571692::no::P40_DATE,P40_JAHR:2008.12.16,2008
    -I know that the variables are correct when I look at the URL
    -However, the new graph page 40 shows null values, and a click on the button 'session' confirms that items are null!
    -Once I press F5, the URL is the exact same onle, items are now "refreshed" and appropriate treatment can take place.

    so, can someone tell me what is happening here and how can I avoid this?
    the elements are defined as 'hidden' (unprotected). There is no calculation or the default settings for elements, and they are not reset to null at any time.

    Kind regards
    Mike

    Mike:

    Validations are those interpreted by the SPECTACLE of the APEX and ACCEPT the process.
    The idea here is to force a 39 page ACCEPT and then see HER return the table on page 40.
    This is achieved by replacing the graphic link to a redirect by a form submission followed of a branch on page 40.
    Thus, Javascript must be on page 39 and the part on page 39 must specify page 40 as target. You will need to do P40_DATE and P40_JAHR hidden items from page to page 39 so JS can set values for these.

    CITY

  • In the Amazon, I get error message that the page is not redirecting properly

    When I try to view the details of an item in the Amazon, for example, a book, I get an error saying that the problem loading page. The page is not redirecting properly Firefox has detected that the server redirects the request for this address in a way that will never end.

    Year example of the URL causing this problem is https://www.amazon.co.uk/gp/product/0692394028?redirect=true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & ref_ = gb1h_img_m-3_4447_e77918ec & smid = A3P5ROKL5A1OLE

    I tried an update of Firefox, I tried to remove and reinstall it. I tried to delete cache and cookies, but I still get the same problem. I use v42.0.

    Any help would be appreciated.

    Thanks for your reply.

    However, now that I have a working stable system I will not even try 42.0 but will wait until a newer version is released. Back to 41.0.2 also stopped all site accidents I knew (and reported) with 42.0 - sort of IMO, there are certainly issues with v42.0

  • Search for a product on the site of Muse-BC will not redirect to the page of results of product - return an error.

    I built a site of e-commerce in Muse and linked with BC. The site works fine, but it needs a search function.

    I added the "Site Search" form successfully and it was working fine, but the results page does appear as a list. After some research, I found that the 'Search' module product is what I need. I've added to the site, and I see that I have followed each step of the tutorial correctly, but the results page (which is a redirect in the code) will not work. He brings just the error message:

    Page not found

    We could not find the requested Web Page. This is either because:

    • There is an error in the address or link.
    • You have entered the address or link incorrectly.

    Click here to return to our Home Page.

    The search code is added to the header of a page in Muse, and module results {module_productresults} is added to the page of redirection in Muse.

    The site is www.thecookshopross.com, and the search box is currently in the header of the 'Sale' page while I'm working on it.

    Can need a very urgent correction - anyone help?

    Thank you

    Karine

    Hi Mika,

    Check this screenshot

    Change the PageID = / Search - Results.html to ID = / Search - Results.html

    Let me know if you have any question.

  • Can not import a copy of the application to our workspace. The page is not found

    Hello
    We have an existing schema and workspace called track 2 and everything was fine. We could export a copy of the application of prod and import it under a different number, so we could test some changes.
    Then, we created a new workspace and schema called track3 and I tried to export a copy of prod and its import in track3 workspace.

    It gave the error:
    The page is not found
    The page you are looking for has been removed, had its name changed, or is temporarily unavailable.

    The URL, he found himself on after that the error was http://ourServer:7778/pls/apex/wwv_flow.accept

    In troubleshooting, we went back track 2 environment and cannot import copy of this old workspace more either.
    This has happened before on another post (contract), I was on and fixed it himself.
    Then we tried to bounce the server HTTP, did not work. I tried to bounce the database server has failed.
    What can do us?

    Please, any help is appreciated. Bill

    To debug the problem using SQL * Plus, you must connect as KMX2 in the production database. If the script fails, there will be no harm. You can remove the validation of the end of the script and replace it with a restore where the script is not and you want to ensure that there are no changes to your db prod.

    Don't you think that the version 3.2 upgrade would fix our problem?

    I do not know.

    Scott

  • Scrolling the page does not properly respond to BlackBerry Curve9360

    Hello friend

    I have developed applications for BlackBerry (JqueryMobile, Phonegap) the application works fine in BlackBerry Torch 9800.

    But once I've installed in BlackBerry Curve9360, scrolling of the page does not properly, that I am not able to view the complete list of items and long text.

    Help, please

    I came up with the solution, the problem occurs because BlackBerry Curve 9360 isn't a touchscreen, there fore scroll doesn't work.

    In my applications, I add 2 pages "index.html."

    on the first page, you have to test if the device is not touch and redirect to the second page.

    Do not use the page for "BB Curve" scroll and any other animation like CSS "" - webkit - transform: translate3d "»

    The other js script go without a problem.

    The page "BB Curve" to redesign the html for use with the cursor,
    For example, the menu is smaller, the police is smaller.
    the size of the screen is fixed.
    Dimension height is better indicate a value min eg 300px
    etc...

  • I have a problem connecting on ebay if you use firefox, I get a message saying that the page does not not despite having cleared my cache and cookies.

    I have a problem connecting on ebay when you use firefox, it has been fine for years, but since a few days, I get a message saying that the page does not when I try to log in. I tried to clear my cookies and cache, but it makes no difference. This does not occur in google chrome and I can log on fine there so what's the problem with firefox?

    Do you also have this problem if you temporarily switch to private browsing mode?

    • Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Select: [X] 'always use private browsing mode '.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

    See also:

  • Toshiba 4400 KE - download does not work - the page does not exist

    I bought a blu - ray Toshiba 4400 ke, which is smart TV. I have connected to the internet as youtube see preinstalled applications. But when I try to download, it tells me that the page does not exist and cannot enter cloud tv.

    I hope you can help me.
    Thank you

    Do you use the internet via LAN cable connection?
    Are you sure that you have configured the network settings correctly (network password)?

    I have a device similar to the House. It is not a Toshiba but the principle remains the same and network configuration is easy and I didn t notice any problem.

  • In the Pages, you can set crop marks printer?

    In the Pages, you can set crop marks printer?

    Printer crop marks are not implemented in any version of Pages using v5.6.1. Export to PDF and open it in the designer of the affinity. Once again export to PDF and apply the printing marks in the menu export. The following has been open in the designer of the affinity and exported in the form of a PDF/A-1 a with all the points you see here:

  • Why don't the bars of links or search on the top half of the page does not work on any site when I use firefox but work fine in Internet Explorer?

    links and bars research on top of half of the pages do not work and is not that I click on them and they don't work, but it won't let me click on it it's like he doesn't see the

    Recently, the Yahoo toolbar and the extension of Babylon have been reported because of this problem. They appear to overlap invisibly on the top of the display of the web page. If you have one or both, uninstall or disable them/it or see if an update is available that solves the problem.

    If this does not resolve the problem:

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • Click on the buttons as disconnect the top 2 inches of the page does not? Solution?

    Have used firefox for years. Done nothing wrong. Recently, if I use firefox to access web pages such as the market data of the bbc enterprises, the page appears but do not activate the buttons click at the top of the page, but not further down the page. No problem with other web browsers!

    The top of the Firefox window is unresponsive, inadmissible toolbars - see also the problematic extensions

  • Account of Hotmail, when I connect to the page will not download?

    Once I connect to the page will not download?

    Hello

    Please provide all the information we need to help us help you.

    How to ask a question
    http://support.Microsoft.com/kb/555375

    -------------------------------

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you can ask your questions there.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    I hope this helps.

  • Is there a quick and easy way to the entrance of calendar days in a day / diary of the page, instead of setting each page?

    Is there a quick and easy way to the entrance of calendar days in a day / diary of the page, instead of setting each page?

    If you make a text for the day of the page master frame, you can put on a single story that contains every day across all pages of the document. If you separate the days with a paragraph return, you can set the keep Options to start each paragraph in a new frame, and they will all go one-to-a-page.

  • RoboHelp 2015 - the Page is not found

    I am trying to create a topic that links to a Web page in Robohelp 2015 using the sensitive HTML5 output; However, every time that I discovered the output and select the topic, I get the error below the screenshot of the properties of the Table of Contents Page. The link works if I paste it in a browser, however. Can someone help me understand what I am doing wrong? I often do this in Robohelp 10.

    More info: I want to this Web page to be displayed without opening a window separated.

    Thank you in advance for your help!

    Where I paste the web address

    ERROR

    The page is not found

    The page you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Please, try the following:

    • Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    • If you have reached this page by clicking a link, contact the Web site administrator to warn them that the link is badly formatted.
    • Click on the back button to try another link.

    Error HTTP 404 - file or directory not found.
    Internet Information Services (IIS)

  • I went to Adobe BrowserLab to preview and Internet Explorer was told that the page could not be found, how can I access BrowserLab?

    I went to Adobe BrowserLab to preview and Internet Explorer was told that the page could not be found, how can I access BrowserLab?

    Browser lab is long gone.

Maybe you are looking for

  • Satego P100-10F: how to turn off the lights in blue speakers?

    Who can tell me, how can I turn off the blue lights of Harmann/Kardon speakers? I would be very appreciate comments helping! Thank you!

  • Satellite A200 (PSAE6E) - Impossible to recognize the WLAN driver

    Hello I have a Satellite A200 PSAE6E with Vista.I want to just install WXp and erase Vista. When installing Xp, everything is Ok, except that my computer does not recognize my wireless card...Still, after the boot sequence, windows desktop appeared a

  • Windows Vista SP2 has failed twice to install (KB948465)

    Original title: my windows automatic update is on sp2 for vista has failed 3 times to download, patch and the reg. updates are still to come, please notify Windows SP2 failed twice to download (KB948465)

  • LaserJet M2727NF

    Installed network printer keeps going offline without warning.  Running Vista 32 bit and tried the two automatic IP and characterized by IP.  When it disconnects, it disables all THE physical buttons also so there is no way to printer "wake up" and r

  • Update Windows 10 is a failure

    Original title: brine of Ms. shirley-anne Why do I find windows 10 who tried to download the audit, but a failure, this happens every day