Optional URL Redirect using REQUEST

I can pass REQUEST values by populating the 'Request' field on the Edit Page Button page.
But I want to add a new twist.
I want to include the URL in my select statement.
Is it possible to pass a REQUEST value in the URL.
For example:
This is the URL in my select statment-
a href="f?p=&APP_ID.:3000:&SESSION.::NO:3000:P3000_BLDG_ID,P3000_CLST_ID,:&P2000_BLDG_ID.,&P2000_CLST_ID."
I also want to pass Page Item :P2000_CONNECT_ID to P3000_CONNECT_ID, but it will not pass using the typical example above.
I think I need to use REQUEST.
But I dont know if its possible,
and
If it is, I dont know where, in the URL to plug it in.
Can someone please help me out here?
Thanks- Gary

Gary:
The 'REQUEST' is specfied as the 4th element in an APEX URL.
The URL syntax is documented at http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEIJCIAG
So your URL that includes the 'REQUEST' variable will look like a href="f?p=&APP_ID.:3000:&SESSION.:&REQUEST.:NO:3000:P3000_BLDG_ID,P3000_CLST_ID,:&P2000_BLDG_ID.,&P2000_CLST_ID."Varad

Similar Messages

  • Optional URL Redirect Question

    I just created a button and in the "Optional URL Redirect" section I am redirecting to the same page. Then I set the "Set these items/With These values" properties with a particular item that I want to remain populated with the same value that it had before the redirect.
    Problem: When I run the app and enter a value in that item and then click the button, the value in that item disappears. Why is this happening if I set the "Set these items/With These values" properties, as described above? Thanks.

    Patrick,
    ...there is a "Request" property that had to be set to the name of the button, in order for it to work correctly, i.e., in order for the region that needs to be displayed when I click this button to actually display.
    Okay, that implies that whoever built the page uses the request value during page rendering to conditionally show/not show certain elements. If that's the requirement then setting the request value in URLs produced by certain branches might be appropriate.
    If I choose to clear the cache for the branch, as soon as I click the button and am redirected to the same page, the permit number disappears once again.
    This would be a case where you wouldn't clear cache in such a URL. But when you navigate to that page from other pages in the application, say from a menu, list, tab, etc., you might want to in order to prevent stale values from displaying in the form items that use "Only, ..." for Source Used.
    Scott

  • Optional URL Redirect - choice

    I have a form with 3 check boxes
    1 report 1
    2 report 2
    3 report 3
    I have a button with an optional url redirect
    it's request is (PRINT_REPORT=fundi1)
    but depending on which check box is checked
    I wanted
    PRINT_REPORT=fundi1, PRINT_REPORT=fundi2, PRINT_REPORT=fundi3
    how can i have a choice, Thanks, Doug

    You could have an event off the checkbox that would populate a hidden variable (RptNum) with the fund1,fund2,fund3 values and in your request have PRINT_REPORT=&RptNum.
    Give that a try and see what happens..
    Thank you,
    Tony Miller
    Webster, TX

  • Region Buttons with Optional URL redirect?

    Hi there,
    Is there anyway to have a button that is created using
    "Create a button displayed among this region's items"
    but that also can have an Optional URL redirect?
    Why is this option not available for these types of buttons?
    Thanks in advance!

    Hello but that also can have an Optional URL redirect?Why is this option not available for these types of buttons? That's just how it is. The action taken by a button of the kind that is shown amongst the region's items is not usefully configurable. What I generally do when I need a button to align with a page item is to simply stick some HTML into the 'Post Element Text' of the item after which I need a button to show up. Something along the lines of <input type=button value='Redirect' onClick=doRedirect()>
    varad

  • Url redirects using the BC domain

    My url redirects are using the BC domain name instead of my "added domain".
    eg : 
    Inside the url directs section it shows
    http://mydomain.businesscatalyst.com       
    instead of
    http://www.mydomain.com
    as the source destination.
    Should that be happening?  Ind oing so its causing a few of my redirects not to work correctly.

    Hello Sydney,
    Thanks for the help.  We never used the .businesscatalyst.com domain as a link reference when building the site and looking over it again, as far as we can see, we've used all relative urls.
    The only way the .businesscatalyst.com may have been inserted is if BC itself inserted it somewhere (maybe a stray link somewhere). 
    I can add a screenshot of the reference but BC and CC seem to be down as its not logging me in (constantly loading).
    The reference itself is appearing in the "Url redirect section" of BC, in the "add redirect" window.
    For the source destination it asks for folder/filename and below that it is the auto generated url which is using the system url instead of the "added domain".
    I'll try and add a screenshot once Adobe let me log in.

  • Optional url redirect

    Hello,
    I have a button on a page, by clicking this button there should appear a small pop-up window with the question if the user agrees the data.
    For the moment, I have the following:
    javascript:confirmDelete('By pressing this button, you confirm the following headcount numbers for... Are you sure?','APPROVE');
    Instead of the 3 dots, there should be some data. Actually I want the site name, together with the headcount numbers / category. It should be possible to put the name and the calculations in a hidden field somewhere on my page, but can someone tell me if its possible to display the value of those items in the pop-up window?
    If I now just put the name of the item instead of the ..., I got the name of the item in my window and that's not what I want :-)
    Sofie

    Hi Sofie,
    You can do something like the following:
    javascript:confirmDelete('By pressing this button, you confirm the following headcount numbers for ' + $x("fieldname").value + '. Are you sure?','APPROVE');
    This will retrieve the value of the fieldname field and concatenate it into the rest of the string.
    Regards
    Andy

  • The best way to URL Redirect

    Hello,
    I noticed that couple different linking with a Button.
    Home>Application Builder>Application 111>Page 1>Edit Page Buttons
    Optional URL Redirect
    Another is
    Home>Application Builder>Application 111>Page 1>Edit Branch
    Which one is better?
    How many ways is there to URL Redirect?
    Which way is the best and why?
    Thanks,
    NY, NY

    One option would be to redirect all your users to the same landing page, which then redirects the users to the actual required page depending on the value of a header variable set by OAM. The header variable could, for example, contain the userid and then the landing page works out which page to redirect to depending on this value. In this scenario, all the logic about which page to redirect to needs to be within the landing page, or some back-end that it connects to.
    I suppose it would also be possible to store the required target url (or a value which identifies it) in an attribute the users' profiles, and pass that as a header variable to the landing page - but obviously then you have the admin of maintaining that attribute value.
    If you only have two possible target pages (eg one for all internal users and one for all external users) then you could use redirect on authorisation success/failure within OAM to send users to the right page.
    Hope this helps,
    Colin

  • Cisco ISE - Not use FQDN in url-redirect parameter

    Hi,
    I am using Cisco ISE Central Web Authentication for Guest Wireless. Clients are redirected for web authentication to: https://ip:port/guestportal/gateway?sessionId=SessionIdValue&action=cwa as it is specified by the url-redirect parameter in the Authorization Profile.
    The “ip” field in the url is now replaced by the FQDN of the Cisco ISE, but I want to use the IP address instead of the FQDN. Is there any way to do that?
    As far as I know in version 1.2 you can use the “ip host/no ip host” command to indicate what you want to use in the URL. However my Cisco ISE is running version 1.1.1.268.
    Thank you very much.
    Joana.

    Available in 1.2, and available as a "bit of a bodge" in 1.1.x  (read "a lot of a bodge")
    If you only have one PSN then you may be able to get it to work, but after that you lose the ability to get the session to be pointed automatically at whichever PSN they hit initially so it would break.
    Copy the settings that are applied when you use CWA, then create your own based on the same settings but using the ip address pasted in there instead.

  • Does using self-signed cert. on ISE server has anthing to do with url redirect being not working

    Hi,
    I am setting up wired ISE environment. Everything is going fine, except url redirect is not working.
    I just wondering, if using self-signed certificate on ISE server has anothing to do with the problem ?.
    Appreciate your input.
    Thanks

    Hi,
    As long as you have not changed the hostname or the domain name (and dns is accurate). You should only receive the certificate warning but still get redirected without any issues.
    Thanks,
    Tarik Admani
    *Please rate helpful posts*

  • IpodT auto redirects to the power off (slide) option while in use. Then while not using it, it will not power off to conserve the battery. I have to enable the assistive touch to save battery life. Software is up to date with 6.1.6.  PLEASE  HELP!

    version 6.1.6(10B500); model#MC547LL/A; 60GB (40 used/20 avail)
    IpodT auto redirects to the power off (slide) option while in use. Then while not using it, it will not power off to conserve the battery. I have to enable the assistive touch to save battery life. Software states up to date with iOS 6.1.6.  PLEASE  HELP!

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar

  • How does ISE choose which IP to put in URL redirect response?

    Hello,
    does anyone know how does ISE choose which IP to put in URL redirect response if it has more than one interface with an IP address and all interfaces are enabled in the portal configuration?
    I have a single ISE 1.3 PSN with all four interfaces configured, enabled, each on unique VLAN, and each with unique IP address.
    In the CWA portal configuration, all four interfaces are enabled.
    Wired clients connect to NAD, NAD sends RADIUS request to ISE, ISE responds with a RADIUS response including the URL-Redirect parameter which specifies the web redirect URL. ISE configuration uses "ip:port" in the URL. 
    My question is how does ISE choose which of its four interfaces to put in this URL? Is it always the same interface that RADIUS packets were received on? Or does it always choose the first portal enabled interface? Or is there another logic? Configurable or unconfigurable?
    Thanks!

    ISE uses the first interface enabled for that portal, so if want to use a specific interface, then only enable that interface.  If interface is GE0, then default behavior is to redirect with ip value set to node's FQDN.  If interface other than GE0, then default behavior is to return the IP address of the associated interface. 
    Aliases can be configured for each interface using the CLI 'ip host' command to associate a hostname/FQDN to the IP address of a given interface.  When configured, ISE will return that value rather than IP address in redirect.  This is critical if want to avoid certificate trust warning on connecting clients.
    Be sure that certificate assigned to interface includes the correct FQDN or optionally wilcard value in the CN or SAN fields to avoid cert warnings.

  • URL redirection config in PI SOAP receiver communication channel

    Hi,
    I am working on a similar scenario where I my consuming an external web service using https protocol from PI.
    I have configured a soap receiver channel to call the target url of this web service as https://portal.xyz.org.uk/webservice_alt.
    I am getting an error HTTP 302 suggesting that PI is not able to follow the re-direction to the target URL as the service resides not on that URL but on https://portal1.xyz.org.uk/webservice_alt or https://portal2.xyz.org.uk/webservice_alt.
    This is their server fail over handling mechanism which is very common. But PI 7.0 is not able to handle this.
    So if I change the target URL on the SOAP receiver channel to  https://portal1.xyz.org.uk/web service  or  https://portal2.xyz.org.uk/webservice_alt , PI works fine without errors . But this is not the right approach because, every time the web service provider takes one of these systems down for upgrade/patching etc, they inform us and then I manually go and change the target URL to the available server on my production PI system config.
    My problem is I want to resolve this redirection error in PI. I have tried raising a call with SAP itself and they pointed out to use Axis adapter which is still not working.
    So I am here asking for help. any suggestions please from the experts?
    Thanks
    Jhansi.

    Hi guys,
    I am sorry if I have not been clear so far!!
    What I am talking about is a URL redirection capability of PI. what i mean is , when you call any service in general using a browser/soap ui etc, it pings that url and follows the redirection.
    For example when i try to test this external web service directly using soap ui tool, it also returns HTTP 302 error. But when I set the 'Follow redirect' property to 'true' , it follows the redirection and calls the service on 'portal1' or 'portal2' .
    You assume PI is a test tool like SOAPUI. When the address or URL changed in WSDL and if you load the latest WSDL in soapUI it post the request to the latest URL. YOu import WSDL only in ESR not in IR. Dont forget it. Though WSDL has soap address location, it will not impact the wsdl changes directly in ID.
    It makes no sense to complain regarding the behaviour of PI when the reason for the problem is outside (WS provider).
    please note that the target url is fixed which is  https://portal.xyz.org.uk/webservice_alt.
    so we are not talking here about the service provider altering the service and sending us new wsdl's etc.
    All users of this webservice have been non-sap users so far and consumers use java, .net etc platforms and are easily able to handle the redirection.because this redirection is a part of failover mechanism.
    I hope i am able to picture my problem.
    thanks
    Jhansi.

  • ISE url-redirect CWA to Gig1

    Hello,
    say I want to have five ISE 1.3 nodes behind load balancer, I want only only G0 behind LB, and G1 interfaces will be dedicated for certain things. Specifically I want to use G1 interface for Redirected Web Portal access (could be CWA, device registration, NSP, etc). RADIUS auth will happen through LB on G0 of some specific PSN, and that PSN will url-redirect user to the CWA URL.
    How do I tell ISE to use specifically Gig1's IP address or Gig2's IP address? When I check result authorization profile, there is no option there, it's just ip:port. Obviously, that's not the right place, because which PSN is used to processed the policy is unpredictable.
    So then I go to guest portal, and specifically Self-Registered Guest Portal that I'm using. So here I see Gig0, Gig1, Gig2, and Gig3 listed. My guess is that if I only leave Gig1 selected then I will achieve my goal, is that correct?
    But then, why does it let me choose multiple interfaces, what happens if I select all of them?
    Am I missing another spot in ISE admin where I can control this?
    Additional question. I know that in ISE 1.2 you could configure "ip host" in ISE's CLI, which would force URL-redirect response to be translated to FQDN:port. Is that still the right method in ISE 1.3?
    Thanks!

    Take a look at the following document:
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-3/installation_guide/b_ise_InstallationGuide13.pdf
    Towards the end of the document you will find a section called: "Cisco ISE Infrastructure" and there you will see the following:
    • Cisco ISE management is restricted to Gigabit Ethernet 0.
    • RADIUS listens on all network interface cards (NICs).
    • All NICs can be configured with IP addresses.
    So, you can take an interface, give it an IP address and then assign it to the web portal that you are working with. 
    I hope this helps!
    Thank you for rating helpful posts!

  • Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    keep getting this error:
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    I've also tried in IE and got this page can not be displayed.
    Cleared cache, deleted cookies.
    I'm trying to access grrlzrock.com I was using it about an hour ago, and now it doesn't work. any idea?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Cannot reliably use request.getRequestURL() in my backing bean

    I am using jDev 11.1.2.3.0.
    In my backing bean to my ADF JSF page fragment I get mixed results from different web browsers when trying to retrieve a URL from the request object. The java code I use in my bean is like this:
    FacesContext fc = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)fc.getExternalContext().getRequest();
    String URL = request.getRequestURL().toString();
    Depending on whether I use IE, Firefox or Chrome, sometimes the URL = null. What's wierder is that different computers in my office get different results. One computer can get URL = null in IE and FF, and another would get null using Chrome and IE. It's so bizzare, I don't even know where to start debugging this issue.
    But I'm wondering if it's the way I am retrieving the request object using request = (HttpServletRequest)fc.getExternalContext().getRequest(); Is this the right way to get the request object?

    Hi,
    if you are in a page fragment then the request is partial anyway. So can you give us an idea of what the use case is for which you need the URL ? Maybe its easier to fix the desired use case implementation then to fix access to the URL just to find out you cannot use the result (the URL is not identifying the page fragment and thus doesn't allow redirects or bookmarks)
    Frank

Maybe you are looking for