Cannot reset variables included in URL

It seems that I cannot reset a variable on a page if the variable is included in the passing URL.
For example, I am accessing page 99 using this URL:
http://hostname/pls/htmldb/f?p=101:99:13044079550212646718::::P99_INDEX:1
where P99_INDEX is an hidden item.
There is a report on page 99 with the region source:
select n, s from alpha where n=:P99_INDEX
table alpha is a test table with the entries:
SQL> select * from alpha;
N S
1 A
2 B
3 C
The page displayed the correct report if I pass in the right values for P99_INDEX (1, 2 or 3), such as
http://hostname/pls/htmldb/f?p=101:99:13044079550212646718::::P99_INDEX:1
returns
1 A
Now if I add an onLoad process on the page, which contains:
if (:P99_INDEX = 99) then
:P99_INDEX := 1;
end;
which should gives me "1 A" if I set P99_INDEX to 99:
http://hostname/pls/htmldb/f?p=101:99:13044079550212646718::::P99_INDEX:99
What I got when passing in this URL is:
No data found.
The above is a test page I created because I encountered the same issue with my current application pages. This test page confirmed what I saw.
Is this a bug or a limitation? Is there any workaround?
I had tried to create "computation" instead of "process" to reset the variable, but still did not work.
Thanks in advance.

Ken,
You are in the running for the "most thorough problem statement" prize. Thanks.
What you described is the intended behavior. When you set an item value in session state using the URL, that value overrides the source/default value of the item. Processes and computations that alter the item actually do get run at the specified firing points, but if they fire before item rendering, then the setting of the item with either the source/default value or the URL-passed value will take precedence.
To achieve what you want, you might try the post-computation calculation expression in the item's attributes. The PL/SQL expression that you provide here is used to adjust the value of the item just before rendering. This expression can reference items using bind variable notation and might include a call to a custom function for more complex logic. [Note: by "rendering" we mean the step where the form item is emitted as some kind of HTML, whether visible or not.]
Scott

Similar Messages

  • How can I include a captivate variable in the URL of the website widget?

    I am using the website widget to bring up some customized content during the course.
    The URL contains a variable which will be different for every user.
    I can't find the option of including a variable in the URL with the widget.
    Has any figured out how to accomplish this?

    I am using Cp8.
    I publish in both swf and html5 formats so that the course functions on all device platforms.
    A swf only solution would preclude IOS since it doesn't support flash.

  • How to set a value to a Presentation Variable using GO URL?

    Hi All,
         I am working on a drill (GO URL) from Dashboard page1 to Dashboard page2.
         The problem I am facing is, I am not able to pass a value to the presentation variable through GO URL. (I have to pass "Customer Category" static
    value to The presentation variable present in Dashboard Page2 ).
         The Dashboard page2 is having a view select in which we are using presentation variable to select the report based on the value selected in
    View Select.
         For example: If the user selects "Customer Category" value in View select and clicks on GO button Customer Category report will show the out put.
         When i am drilling from Dashboard Page1 I have to pass a value to the presentation variable used in view select and also pass some filter condition in
         GO URL.
         Please let me know if it is feasible to pass a value to the presentation variable through GO URL in OBIEE 10.1.3.4.
         It will be greate if you can provide me with the syntax to set a value to the presentation variable of dashboard page2 through GO URL.
    Thanks and Regards,
    Sagar Vishwanathwar.

    1) You have to navigate to dashboard page, not to answer request = you have to use "Dashboard URL API" not GO URL API.
    2) On the target page, you have to place dashboard prompt, which sets required presentation variable.
    3) Refer to the target using Dashboard URL API and set filter on prompt column using URL parameters. Example: http://localhost:9704/analytics/saw.dll?Dashboard&PortalPath=%2Fusers%2Fadministrator%2F_portal&Page=page%201&Action=Navigate&P0=1&P1=eq&P2=D_TIME.YEAR_CODE&P3=%221996%22
    Do not forget to use Action=Navigate. The syntax for setting filters using url parameter is the same as for GO URL API described in Business Intelligence Presentation Services Administration Guide.
    This is the way, you can implement navigation to parametrized direct SQL reports including passing filter values...
    Regards K.

  • Screen is frozen. Cannot do anything, including shutting down.

    Screen locked. Cannot do anything, including shutting down via power button.

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Reset variable screen

    Hello Experts,
    How to re-set the variable screen to default in a WAD. I tried using option reset variables to default in WAD but its still not returning the variable screen to default.
    For ex:
    I have couple of variables to select on the variable screen. I select one of the mandatory variables and leave the others blank. It’s properly displaying the data but when I click on option back to variable screen. its eliminating the selected mandatory variables and displaying the rest unselected.
    Would it be possible to display all the variables again on the variable screen?
    Please help.
    Thanks
    Londoner

    Please create a variant in BEx Query level.
    and include the variant technical name in the webtemplate.
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_4"/>
             <param name="QUERY" value="ZSD_QUERY_NAME"/>
             <param name="INFOCUBE" value="ZCUBENAME"/>
             <b><param name='VARIANT' value='ZVARIANT'/></b>
             DATA_PROVIDER:             DATAPROVIDER_4
    </object>
    if you have multiple queries in webtemplate , you may have to use same variable name for the same field in all the queries , else it will show 2 entries in selection screen.
    Else you may have to use personalization to save the values.
    Hope this helps.
    Thanks
    Martin

  • HT5312 i cannot reset the security questions?

    I have been trying all the info on apple site for last 1 hr and cannot reset my sec questions, I do have and remember apple ID  & Password.. ???

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (97317)

  • When I want to organise my bookmarks most of the options are greyed out and cannot be used including create new folder! Help

    '''''''''bold text'''''''''
    When i want to organise my bookmarks most of the options on the organise bookmarks menu are greyed out and cannot be used - including create new folder etc. Help please.

    Make sure you are not in the Private Browsing Mode:
    File > Private Browsing is UNCHECKED.

  • Text input as variable in a URL

    I want to create a simple flash document with a text input
    field, and a button that will go to a URL. The trick is that the
    text input field needs to replace an element in the URL for
    personlaization purposes. I got the field, and I got the button.
    What is the method for getting it into the URL.

    I think you should be able to do something like, I use it for
    loading variables from a URL a lot and im pretty sure will work the
    same using getURL
    something like this, just change the variables to yours
    getURL("
    http://www.test.com/cgi-bin/scripts.pl/flash/search?name="
    + input_name_text.text + "&category=" + category + "&type="
    + category);
    Whatever is in those variables will be inserted into the
    URL.

  • HT5312 I forgot my security question and my rescue email are the same as Apple ID so cannot reset my security question. Any advice on how to reset m security or add a rescue email ? Thanks

    I forgot my security question and my rescue email are the same as Apple ID so cannot reset my security question. Any advice on how to reset m security or add a rescue email ? Thanks

    If you don't have a rescue email address then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use

  • HT1349 I have an old apple ID # that I used to purshase hundreds of dollars of I-Tunes.  Unfortunately I cannot reset the PW because the email account no longer exists so when it says it is sending information to reset PW to email account it is going nowh

    I have an old apple ID # that I used to purshase hundreds of dollars of I-Tunes.  Unfortunately I cannot reset the PW because the email account no longer exists so when it says it is sending information to reset PW to email account it is going nowhere.  How am I able to reset the PW.  Also, when it asks for my birthdate in order to reset it that way I use the birthdates of everyone in my family and not one works.  Please help.

    Try contacting iTunes store support: http://www.apple.com/emea/support/itunes/contact.html.

  • How do I reset the included calendar on iphone 4s.

    How do I reset the included calendar on iphone 4s.  It currently shows the date as Jan 1, 2513BE, and since it is an "included app" do not know how to delete it and reinstall.

    You can't delete it. If you really don't want to see it, stick it in a folder and then stick the folder on a distant home screen.
    But you might find it easier to just set the clock (date and time) on your iPhone.
    http://www.dummies.com/how-to/content/how-to-set-the-date-and-time-on-your-iphon e0.html
    It should be happening automatically, but if it's not, the above described how to do so manually.

  • Error while passing ODI variable in JNDI Url for JMS Queue XML

    Hi,
    Facing a weird problem while passing ODI variable in JNDI Url for JMS Queue XML.
    Below is the JNDI Url configured under ODI Topology:
    JNDI Url: t3://<host_location>?d=#TEST.SCHEMA_FILE&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    where,
    #TEST.SCHEMA_FILE --> ODI variable storing xsd name and location
    Issue Description:
    If we restart ODI server then for the first run of any ODI interface using JMS Queue XML, it is unable to get the value for ODI variable present in JNDI Url (d=#TEST.SCHEMA_FILE).
    It throws error message saying: No XSD found
    Temporary Resolution:
    As a temporary fix if we hard-code and pass the value in that ODI variable as shown below, it will successfully go through.
    eg: JNDI Url: t3://<host_location>?d=C:\XSD\test.xsd&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    Reverting it back to variable later will have no issues and subsequent run will succeed.
    But again anytime later if server is restarted then first run will have this issue.
    Want to have permanent fix for it.
    Any one having idea on it please share. Appreciate your help!

    What ODI version are you using? It could be related to the bug in the older version as described in support note Doc ID 1290326.1

  • Just upgraded to latest iOS and my iPad does not come back up.  It displays a line to an iTunes logo and then goes off and after some minutes comes back on.  I cannot reset it or anything else.

    Just upgraded to latest iOS and my iPad does not come back up - the following appeared as the first thing after turning back on.  It displays a line from the power/USB connector to an iTunes logo and then goes off and after some minutes comes back on.  I cannot reset it or anything else.  It is completely non-functional.

    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
     Cheers, Tom

  • Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory.

    HI
    i restored a sharepoint web 80 application in our test domain
    and after when i browse the new web application 
    it says 
    Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory. 
    adil

    Hi  adil,
    According to your description, my understanding is that you encountered the error “Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file
    exists under the layouts directory.” .
    The issue happens in
    We have customized master page
    In the master page, we use path the script/style file like this: <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/coe/mainCOE.css%>"
    runat="server"/>
    While using the dynamic path in a multiple languages enabled site, language Id(1033 etc) will be added to the path automatically. That cause the file to be not found.
    To solve the issue, please download  the Arabic language pack http://www.microsoft.com/en-us/download/details.aspx?id=3411 ,
    install it on  your SharePoint and refresh your browser.
    Reference:
    http://sharepoint-community.net/profiles/blogs/cannot-make-a-cache-safe-url-for-1036-sytles-themable-corev4-css
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How do I include custom URLs in a Sharepoint Search?

    I have links pointing to files on our file server.
    I would like to have these links show up in a Sharepoint search.
    Any idea how to accomplish this?

    Hi Packard,
    To include the URLs pointing to files on the file server in SharePoint search, I recommend to store the URLs in a list and then you can search the keywords in the list to get the corresponding items.
    However, if you want to display the URLs in search results, you need to modify the search result display template to show the field value which is used to store the URLs.
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/11/how-to-display-values-from-custom-managed-properties-in-search-results-option-1.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/12/how-to-display-values-from-custom-managed-properties-in-search-results-option-2.aspx
    And you can also use Content Search web part to show the URLs in search results.
    Please edit the web part and then edit the Property Mappings to add the managed property for the field which is used to store the URLs(you need to create the managed property for the crawled property of the field in Search service application first and remember
    to do a full crawl).
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • Creative Cloud-Abonnement

    Hat jemand Erfahrung, ob ich weiterhin die Programme auf meinem Computer anwenden darf, nach dem ich bei Adobe mein Creative Cloud-Abonnement gekündigt habe?

  • How can i make a linking column in a report

    I basically want to add a column to the end of my reprot that contains the test more info and then make this linkable for the attrubuites of that particualr row. I know how to make a column linkable and how to link it to the id of the row, all i need

  • Fixed row in JTable

    Dear All Does anyone know how to fix a row in a JTable, for example, to fix the bottom row in a JTable, so that users can scroll through the rest of the rows in the table without affecting this row. But when if a column size is changed, it will resiz

  • This should be an easy one for you experts ;-)

    Just took my vintage 2009 Macbook pro that was having trouble running Lion back down to Snow Leopard. (formatted drive and reloaded SL) How do I get iPhoto, Garage Band, Imovie etc.... in other words the apps that came installed on my 2009 machine wh

  • Is it possible to maintain the last AO value after the DAQmx task is done on device DAQ USB-6341 ?

    Hi all, I use the device DAQ USB-6341 to generate the desired voltage waveform by the "finite samples" sample mode. I notice that the channel resets to zero volts after the DAQmx task is done and the DAQ USB-6341 does not have  the property AO.idleOu