Passing parameters in the f?p URL

Hi,
I am trying to add a link from a Bar Chart to a
report such that information from the chart
"context" can be passed to the report page.
(Following the "Create a drill down pie chart" How-to)
The sql for the bar chart is like this:
select
'f?p='
||:APP_ID || ':3:' || :APP_SESSION || ':::'
||:P1_SHOW,P_YEAR,P_B:'
||:P1_SHOW,my_t.year,my_t.b link,
a label,
b value
from
select a, b, year
from MY_TABLE my_t
where lower(a) = lower(:P1_SHOW)
where :P1_SHOW is a selection list.
The problem is that the application builder errors with
'ORA-00904: "MY_T"."YEAR": invalid identifier'.
If I have only a single item name and a single item value
(eg. omit the P_YEAR and P_B names and values) then
all is well. The target page 3 can be linked to but the
report is hard wired with "good" values for B and YEAR.
I am using the 1.6 verion of html db.
All and any help would be appreciated thanks = )
sinclair

Sinclair,
The syntax for passing multiple items through the URL is as follows:
P1_ITEM1,P1_ITEM_2:value1,value2Thus, you need to make some changes to your SQL in order for it render your link & parse correctly:
select
'f?p='
|| :APP_ID || ':3:' || :APP_SESSION || '::::P1_SHOW,P_YEAR,P_B:'
|| :P1_SHOW || ',' || my_t.year || ',' || my_t.b link,
a label,
b value
from
select a, b, year
from MY_TABLE my_t
where lower(a) = lower(:P1_SHOW)
)(I haven't tested the above code, but with some luck, it should work.)
Thanks,
- Scott -

Similar Messages

  • Launching a page by passing parameters in the URL

    My app has a page sentry function that sets the APP_USER using the Apache mod_ntlm module to the Windows domain user. I check security for each page in a custom table that I maintain.
    If I try to launch a page by passing parameters in the f?p= URL like
    f?p=100:1:::::P1_ID:10
    since I dont have a session yet, the page sentry generates a session for me and redirects to the page (100:1), but I lose my parameters (P1_ID)
    How can I preserve the entire URL in this case?
    Thanks

    I modified the page sentry function like you suggested.
    Launched f?p=102:51:::::P1_ID:1234
    This got redirected to
    f?p=102:51:2458638498649564102
    My debug table has 8261051781657854662
    When I inspected session state for 2458638498649564102 using Workspace XXX>Manage Workspace>Session State Management>Recent Sessions>Session State
    it had no entry for FSP_AFTER_LOGIN_URL. All it had was
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    There is no entry for 8261051781657854662
    Thanks for your continued help. Appreciate it.

  • Passing parameters to the url which navigates to oracle applications

    Hi All,
    My requirement is i need to display a link in the email message, so that user can click it and can navigate to a form in oracle applications.
    The link will be like http://shine.apps.com/function_id=670&language=US etc
    I am able to display the form which the user wants, but they want the form to be queried with a value. so can anyone help me to how to pass parameters to the above url.
    Thanks in advance
    Srinivas Dodla

    I achived the same thorugh workflow. In the workflow define a attribute of type form and then pass the formname, applicaiton name, resp name and any other form parameters to it.
    You can mix forms personalization to achive best results.
    Thanks
    Prudhvi
    www.erpschools.com

  • Passing parameters to the reports server

    Query on passing parameter from URL to the report server and then to the graphic report builder. We are able to pass the parameter from URL to the report server but we don't know the way of passing this parameter from report server to the graphic bulder or
    writer module. We do not know the API call for passing the same from report server to
    the graphic builder.

    Can you tell me how to pass parameters to report server within URL.Thanks!

  • Passing parameters to the process chain

    Hi friends,
    I want to know ,how to pass parameters to the process chain. Suppose i want to pass parameter to my DTP in my process chain in order to filter the data and do the delta upload in my cube .

    Hi,
    I dont think there is any direct way to achieve this.
    There is a work Around which can be achieved with help of abap.
    You need to write ABAP routine to get the selection values from user and store them in the table TVARVC.
    Then you need to write a routine in the DTP filter to fetch these values.
    In the ABAP program where you get the values, you can trigger the process chain once the values are entered for the selections using an event,
    Regds,
    Shashank

  • Passing parameters into the Oracle form

    I want to pass some paramaters into the .fmx file which i invoke through the applet. like say, in the following line
    serverArgs="module=abc001.fmx userid=user/pwd@dbuser useSDI=no"
    i want to pass parameters in the following manner:
    serverArgs="module=abc001.fmx(param1,param2) userid=user/pwd@dbuser useSDI=no"
    since one cannot pass parameters to a .fmx file before invoking it, it does not seem possible.
    But is there a sort of a workaround? A java wrapper for oracle forms?? so that i pass parametrs to the java class and it passes this info to the form.
    i need to pass these parameters because these param1,param2 are the username/password for my oracle forms-based application which implements its own in-house user validation logic and i need to display the menu in the applet based on the user without prompting him for this application username/password
    thanks
    Any help will be highly appreciated.

    In the form FNDRSRUN which is the Standard Request Submission form there are parameters CHAR1-CHAR5, NUMBER1-NUMBER5, and DATE1-DATE5. I was wondering if i populate the parameter NUMBER1 with my value how can I access this parameter when the form is brought up. This is more of an applications setup issue I will be creating a function that calls the FNDRSRUN form this function will force this form to use a single request not a request group. In the request setups there is a parameter. When I set up the request parameter I have to select a value set and then for Default Type I can select Constant, Profile, SQL Statement, or Segment and then I have to give a default value. Can I default this parameter to use NUMBER1 or another parameter in the FNDRSRUN form.

  • Can you pass parameters to the Dashboard in a URL?

    Hi,
    I'm trying to launch a dashboard from a weblink in a new window but I can't figure out how to pass any parameters into the dashboard. I would like to set the prompt or the presentation variable or anything that could be used to filter the results of the 4 reports running in the dashboard. Right now the dashboard comes up with all results from all accounts and I want just results from the account with the weblink.
    Is this possible?
    thanks

    Ok,
    I just tried that and it still doesn't pass anything to the prompt.
    I changed the prompt to an edit field and I made the following weblink but when i click the link from an account it doesn't put anything in the prompt and all data for all accounts is shown.
    This is the URL maybe I messed something up...
    https://secure-ausomx###.crmondemand.com/OnDemand/user/Dashboard?OMTHD=ShowDashboard&OMTGT=ReportIFrame&SelDashboardFrm.Dashboard Type=%2fshared%2fCompany_########_Shared_Folder%2f_portal%2f360+Report&Option=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Name%%%
    thanks

  • How to open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    if v_id > 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • HTTP POST method does not pass parameters to the server

    Hi ,
    I am using SSO using VSJ product and implemented using a filter.
    I have problems as below
    1. Every request to the web server will be intercepted by this vsj filter and if sso does not succeed it will send 403
    2. my system will detect 403 in web.xml and redirect to login page
    3. user key in username and password and log in
    4. after successful login set the HttpSession and redirect to homepage
    Problem is subsquent form submit / ajax call using "POST" method cannot pass any parameters to the servers ( parameters sent using POST will be null in the servers )  ? GET is okay
    If i comment out the vsj filter altogether , everything works as per normal.
    My Question is
    1. Is there anyway to overcome come ?
    2. Is there any method to clear off whatever this sso vsj has set ( clear cookies / start new browser instance / etc ) in order to forget the state
    Any idea?
    Thanks

    Yes.
    here to illustrate
    public MyFilter extends VSJAuthFilter
    *public void doFilter(){*
    *if(session.getAttribute("loginSucces") != true){*
    super.doFilter(); //call VSJ Auth filter to perform SSO in order to get User Principal populated.
    *}else{*
    chain.doFilter(); // normal filter
    My Filter only intercepts *.jsp and *.do
    Basically here is the pattern that i observe
    1. If i hit default url (homepage.do) for the first time it will trigger the super.doFilter() , it will then throw 403 and redirect to login.html , after success and go to homepage , subsequent POST parameter is missing
    2. if i hit the external login page directly just to simulate ( eg : login.html ) it wont trigger this filter , after success and go to homepage , subsequenet POST parameter is okay
    3. GET is always ok
    I am using weblogic server 10.x btw
    Thanks

  • Adding and reading the parameters from the WebDynpro Application URL

    Hi,
    I have a WebDynpro Application with two views. Based on the values populated by the user in the first view, I am pulling the data from database and populating the data in the second view. I do have a scenario where I have to skip the first screen and show the second screen directly. But, for the values that has to be populated in first screen, I am planning to append the  parameters in the url and provide the link to the users via email.
    Is it possible to add parameters to URL and read those Parameter values when user clicks on the URL.
    Thanks & Regards
    swetha.

    HI,
    Code for accessing params in webdynpro java:
    String urlParamVal = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("URL_PARAMETER");
    if((urlParamVal != null) && (urlParamVal.trim().length() > 0))
    <Write the code>
    Reading parameters:
    Re: Reading URL Parameter
    How to pass and fetch multiple parameter in the URL of the Web Dynpro
    Regards,
    Lavanya.G

  • Passing parameters between WDA and Iview URL.

    Hi,
    I've a Iview type URL and I want to passing parameters through of code of my WDA. I Know to call a Iview for code  but I don't know passing parameters. I used this method for call the iview:
    CALL METHOD l_portal_manager->navigate_absolute
    EXPORTING
    navigation_target = path
    navigation_mode = if_wd_portal_integration=>co_show_external.
    (path = roles//....idiview).
    Thanks.

    Look at this thread..
    Re: Get URL Parameter Starting With underscore '_' (_sapwiid)
    <i>*Reward each useful answer</i>
    Raja T

  • How to call a BW WEB template from R/3 and pass parameters to the report

    Is it possible to call a BW web template from an R/3 system, through an abap program?
    I have a BW WEB report template. This works very good, and i have 3 variables in the query.
    Now, i need to invoke the BW web template from inside of an abap in R/3..
    And i want to pass 3 variables from the R/3 ABAP to the BW WEB TEMPLATE.....
    Is possible to call BW web templates from R/3??
    PLEASE!!! HELP ME..
    Carlos E. España
    ADATSA
    [email protected]

    Thank you very much for your valuable help, i checked your suggestion and looks great. But i need to pass 3 parameters from an ABAP to the wad query report.
    How can i pass the parameters to the web template???
    another issue: My WAS (Web Application Server 6.20) is not public, is currently working for a local area network.
    The access to this report is from outside of the office, so we need to access this through the PORTAL.

  • Problem while passing parameters for dashboard prompts in URL

    Hi,
    We have created a dashboard on OBI which has some dashboard prompts. We have a requirement that we shall open the dashboard from an external application. We are doing this by invoking an URL. We want the dashboard to turn with prompts already being applied.
    I was trying to open the dashboard with the following URL
    http://<servername:port>/analytics/saw.dll?Go&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview
    But when I use the above Go URL the dashboard is not coming up. It shows the following error
         No Columns
         The request cannot be performed because it contains no columns.
    When I use the following URL(which has the keyword 'Dashboard' not 'Go') the Dashboard is coming up fine
    http://<servername:port>/analytics/saw.dll?Dashboard&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview
    There are dashboard prompt defined in dashboard. When I try to send the filter value via URL(given below) it is not working. I just see the Dashboard coming up.
    http://<servername:port>/analytics/saw.dll?Dashboard&NQUser=Administrator&NQPassword=SADMIN&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview&P0=1&P1=eq&P2=Supplier."Supplier%20Name"&P3=1+AccessMicron
    when we use the keyword Dashboard in the URL , can we pass the parameter for the dashboard proimpt ..? If we can do that .. how to do that ..? Is it the same manner that we do for Go URL. ..?
    Please let me know if you need any more information on this.
    Thanks in advance for your time,
    Raj Kumar
    Edited by: Raja Kumar on Jan 22, 2010 3:29 AM

    Hi Raj,
    Raghu is correct, you need the Action=Navigate to make prompts work, otherwise you get move to the target dashboard without prompts.
    I think you figured it out your self, but the ?Go is for Answer Requests and ?Dashboard is for navigating to dashboards.
    I would also recommend using col1="COLUMN_NAME" and val1=value syntax instead of the P0,P1, etc, etc. It's a little easier to read and implement.
    Try this:
    http://<servername:port>/analytics/saw.dll?Dashboard&Action=Navigate&NQUser=Administrator&NQPassword=SADMIN&PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance&Page=Overview&col1=%22Supplier%22.%22Supplier%20Name%22&val1=1+AccessMicron
    Good luck!
    Best regards,
    -Joe

  • How to pass parameters to the list of ESS Jobs that are in a Job Set?

    All,
    Oracle Fusion Application Version: 11.1.7.0.0
    I am new to Fusion Apps (I was ADF Developer before this), got some hands on with Fusion Application. Need some help/guidance related to ESS Job. I have 2 custom ESS Job created (1st of type Sql Plus to query and spool the result into a file into local server and 2nd of type host script that accesses the spooled file and sends it to destination server). I've put these two job together in a Job set (Serial execution) and it works fine.
    Requirement:
    Whenever the Job set is executed, generated file should be appended with System Date and Time. Following are the two ways that are coming into my mind to achieve this.
    Way 1. First job has to read the systimestamp (in desired format) from DB, do actual query execution, spool the resultset into a file named with time stamp details, place it in a local directory. As a part of completion of the 1st Job, 1st Job has to pass this systimestamp value to the 2nd Job (How?) so that it can pick the right file from local directory for its work.
    Way 2. We should be able to create parameters at Job Set level (and this too should not be a constant value but dynamic, say sysdatetime) so that both the job can access this value.
    Though I am getting some thought on how the communication between these two jobs should be happened, I don't know whether they are possible, if so, how to do.. Can anybody suggest? Your help would be appreciated!

    Is the timestamp used in the processing other than uniquely identify the file ? If it is then do note that you may need to take into account timezones, slight differences in the time etc. in your processing  If not you could potentially use the request identifier or some other unique identifier instead.
    In any case you can pass information between the jobs; for details refer to:
    Defining and Using Job Sets Supporting Input and Output Forwarding in Job Sets
    Using Parameters and System Properties
    Using System Properties
    SystemProperty (Oracle Enterprise Scheduler Service API Reference)
    So depending on your requirements you could define job set step parameters, input / output forwarding or name value pairs on the ENVIRONMENT_VARIABLES system property.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Wesite Login and navigate to reports page and pass parameters to the forms page and download file

    Hello,
    New to C# scripting in SSIS. Everyday I download data file from a website. I need to schedule a page to include a script to auto download from the website everyday by navigation to reports page and submenu for a particular report. After I click it opens
    a webpage where I need to select my criteria and download the file to a table. This is what so far I got
    Object mySSISConnection = Dts.Connections["websiteConnectionManager"].AcquireConnection(null);
    MessageBox.Show("Success")
    I got the success message. After login, I need to navigate to select reports and then from submenu select the everyday report and pass the input parameters to the webpage and download the file and export to a tables. Any help. Not much coding I know. Learning!!
    Any help really appreciate it.
    Thanks
    Jagan

    Whoever instructed you to so is not prudent, once the report definition changed the package will break.
    This is not the proper data interexchange.
    Here is though an example on how to generate a SSRS report and download as a file: http://sandeep-aparajit.blogspot.ca/2010/02/how-to-execute-and-save-ssrs-report.html
    And then to load the file into OLEDB destination http://www.daimto.com/ssis-lesson-2-first-package/
    Arthur
    MyBlog
    Twitter

  • Is it possible to pass parameters for the action in the confirmation dialog

    I tried it but a null pointer exception is occuring. Is it possible to pass parameters ,if s give the solution....
    Thanks and regards.
    Karthik.

    Hi Karthi,
    Directly it is not possible. You can achieve it by this way.
    1>     Create 2 Event Handlers  say “OK” and “OKTest”.
    public void OK(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin OK(ServerEvent)
        String param = "abc";
        wdThis.OKTest(wdEvent,param);
        //@@end
    public void OKTest(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String paramtest )
        //@@begin OKTest(ServerEvent)
         wdComponentAPI.getMessageManager().reportSuccess("Param : "+paramtest);
        //@@end
    2>     Code for popup.
                    String dialog = "No of Rows : ";
                    IWDConfirmationDialog confDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialog,wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("OK"),"OK");
                    confDialog.setTitle("Test Window");
                    confDialog.show();
    /thread/66776 [original link is broken]
    Regards,
    Mithu

Maybe you are looking for

  • Payment Consolidation Feature

    Hello -- We have several accounts where we use the Payment Consolidation feature in the Accounting Tab.  We would like to be able to see the total sales generated by these accounts (i.e., the sum of all the individual accounts that are consolidated w

  • AppStore Clerk - Parse iTunesConnect Sales Reports

    For those of you who have an app on the App Store you might find this useful. I created a little app to parse the iTunesConnect sales reports. It is free too! http://blog.fieryferret.com/2008/10/appstore-clerk.html Thank You, Bridger Maxwell

  • Mobile Challenge 2/25/2013 – 3/8/2013

    Participate through your Cisco Technical Support Mobile Apps! Which statement is true about using IPv4 and IPv6 together in a  network? A   IPv6 and IPv4 can be simultaneously assigned to a host but not to a  router’s interface. B  IPv6 provides for

  • IMac 600 mhz battery change

    I have a 600 mhz iMac and I need to change the internal battery. Could someone give me a good link to some information on how to open up the case and change the battery, plus stores that have a decent price on the replacement battery. Radio Shack cha

  • Smart phone compatability

    I want to sync my new Nokia to my contacts. Cingular tells me that it is not compatable with I-Mac, just Windows. Is there software I can install that will make it compatable? I'm also thinking of installing Outlook on my I-mac. Can I buy Outlook for