Reference additional parameters via the URL

Is it possible to reference additional parameters via the URL?
I would like to be able to reference the value of CUSTOM_PARAM in the following simple example
f?p=4000:1500:3712511906556636:::RP::&CUSTOM_PARAM=12345

Hello Craig,
I dont know if you already solved the problem but as you probably noticed I had the same, if you are running on a remote host with minimum privileges this is simply not possible but if you have your personal server and database this is the solution to go(thanks to your idea).
create or replace procedure APEX_040000.f2(
P in varchar2,
P_SEP in varchar2 default null,
P_TRACE in varchar2 default null,
C in varchar2 default null,
PG_MIN_ROW in varchar2 default null,
PG_MAX_ROWS in varchar2 default null,
PG_ROWS_FETCHED in varchar2 default null,
FSP_REGION_ID in varchar2 default null,
SUCCESS_MSG in varchar2 default null,
NOTIFICATION_MSG in varchar2 default null,
CS in varchar2 default null,
S in varchar2 default null,
TZ in varchar2 default null,
P_LANG in varchar2 default null,
P_TERRITORY in varchar2 default null,
code in varchar2 default null, <-- Custom variable
error_reason in varchar2 default null, <-- Custom variable
error in varchar2 default null <-- Custom variable
+) is+
begin
--write your code here+
APEX_040000.f(P => P,P_SEP => P_SEP, P_TRACE => P_TRACE,C => C, PG_MIN_ROW => PG_MIN_ROW, PG_MAX_ROWS => PG_MAX_ROWS, PG_ROWS_FETCHED => PG_ROWS_FETCHED, FSP_REGION_ID => FSP_REGION_ID, SUCCESS_MSG => SUCCESS_MSG, NOTIFICATION_MSG => NOTIFICATION_MSG, CS => CS, S => S,TZ => TZ,P_LANG => P_LANG,P_TERRITORY  =>  P_TERRITORY);
end f2;
Then it is important to indeed grant public access to it with:
grant execute on APEX_040000.f2 to public;
Now here comes to part that actually does it and where the right privileges are needed.
create or replace public synonym f for APEX_040000.f2;
Overloading the F procedure didnt work for some reason, probably because F is a wrapped procedure.
But this worked perfect !!!

Similar Messages

  • GUID via the URL

    I am looking for a possibility to navigate from an eMail to a specific item in the portal. I think I would be able to navigate to e.g. the Portfolio Manager role.
    But how to display a specific item? Is there any possibility to pass the item GUID via the URL?
    And
    When i  open the portal and then click on all projects and then move on to a project.
    Instead I want a link which will directly take me to the individual project.
    Regs.

    The use of URL parameters is explained here:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7c/3545415ea6f523e10000000a155106/frameset.htm]
    hope this helps.
    rgds,
    Jeroen

  • The main part of the safari page is grey and won't respond/can't type in any commands.  I can move back through the previous pages, and even open new ones via the URL, but can't get onto the main part of the page and I can't get onto the 9 page option. !?

    The main part of the safari page is grey and won't respond/can't type in any commands.  I can move back through the previous pages, and even open new ones via the URL, but can't get onto the main part of the page and I can't get onto the 9 page option. !?
    Help, please.

    Try clearing Safari's cache : Settings > Safari > Clear Cache (and Clear History)
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • How to hide parameters in the URL ?

    Hi,
    Iam using Reports 6i on web. Now Iam calling report from a report (Drill done report) using SRW.SET_HYPERLINK.
    Iam passing lot of parameters to this detail report.
    When I call the main report the URL looks like:
    http://devreports.wwt.com/dev60cgi/runrep.sh/15369?
    But when I click on the link in this main report for details, the detail report URL looks like this.
    http://devreports.wwt.com/dev60cgi/runrep.sh/15369?emp_detail&p_emp=45&p_job=clerk&p_format=PDF
    Iam hiding userid/passwd@database in the cgicmd.dat file
    I want to hide all the other parameters also like
    the Main report URL :
    http://devreports.wwt.com/dev60cgi/runrep.sh/15369?
    How to do this ?
    Please help me if anybody has the solution.
    Thanks alot.

    Hi Ram,
    Not sure if this is possible.
    However, one workaround might be the following:
    1. Write a javascript that submits the URL using, say a POST method, and does not show the parameters in the URL. You will have to write this javascript code in the "Before Report" Report Escape. For a generic example on how to use javascript in a report, see Metalink Note 125652.1. This note shows javascript to disable the right-click of the mouse on the report output.
    2. Use the Hyperlink peroperty of the report to call this javascript function, eg,
    javascript:myfunction('http://machine:port/reports/rwservlet?report=...+server=...+empno=&empno')
    I am not a javascript expert, so I cannot give you an example of the function, but I hope someone in your team can find out.
    Navneet.

  • How to hide the parameters in the url

    Hi,
    Can anyone help me to hide the parameters being passed in the url. For example, when a link is clicked i want to pass few parameters to it, but i dont want to display those parameters in the url. Can anyone help me figure out how can i achieve this?
    Thanks
    ri

    In your CO's processFormRequest, do pageContext.putTransactionValue(name, value). You can retrieve the value using pageContext.getTransactionValue(name). Please use your own judgement to use Transaction or Session as the place holder as per your requirement. In most cases, transaction would do but if you want the values to be retained across transactions, use Session. Also, make sure to clear those values when you are done with the values so that this does not get retained across session/transaction.
    Incase, you want the values only for the next submit and not for the transaction, you can use pageContext.putParamater() and pageContext.getParameter() which has a very short life cycle.
    Regards,
    Guru.

  • How to specify more than 6 parameters in the URL or in the HTTP header?

    After applying SAP note 1105368 ,it will be availible to specify more than 6 parameters in the URL  header.
    But i haven't figured out  how to specify it yet.even though i went through the note carefully, but it really hard to understand.
    Is there someone who experienced to specify more than 6 parameters ?
    Inccording to the note,the parameter fileds look like should be
    specified like below.
    parameter1: <SAP:Record namespace="http://sap.com/xi/XI/System/HTTP" name="SAP_URL_EXTENSION">urlext</SAP:Record>
    parameter2:<SAP:Record namespace="http://sap.com/xi/XI/System/HTTP" name="urlext01">Order=4711</SAP:Record>
    parameter3:<SAP:Record namespace="http://sap.com/xi/XI/System/HTTP" name="urlext02">Object=1807</SAP:Record>
    but something about the format doesn't look right....

    Hi,
    I know we can set headers by using some tools. Neoload tool is used to set values into header.
    If Servlet after receiving the request you can set header values and send back with response.
    Check this
    http://www.unix.com.ua/orelly/java-ent/servlet/ch05_06.htm
    Thanks,
    RamuV

  • Get the parameters from the URL

    Hi all,
    In my applet I need to know the parameters that are in the URL. But I don't know how to do this.
    I started with this:
    String URL=getDocumentBase().toString();So URL has the full url, like: http://127.0.0.1./test.html?Testparam1=hello
    What I could think of is to use :
    int i = URL.getindexof("?Testparam1");
    String value =URL.substring(i);But that is not very handy when using more parameters.
    Is there an other way to get the parameters from the URL?

    You could use a regex or a StringTokenizer, but I'll bet there's a library somewhere that'll do it for you. Probably something in Apache Jakarta Commons. As far as I know there's nothing in the standard library that'll fully parse query strings for you, although you can use java.net.URLDecoder to decode the url-encoding (the %xx encoding).
    If you don't want to find a specialized library, then probably a regular expression is the easiest approach.

  • How to reference dynamic parameters in the PL/SQL script

    The meaning of dynamic parameter is the position and name of parameters will be changed based on the data structure of a referenced text file reading by the concerned PL/SQL script. Anybody can post a sample code will be very appreciated.

    The SQL and PL/SQL discussion forum is a good source for this kind of information.
    The URL is:
    PL/SQL

  • 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 Values Via the URL

    Hello all,
    First off im pretty new to Apex and the Apex forums so Hello!<br>
    Im currently trying to create an Application which contrains a report. Now the report has a Source which contains the following:
    <br><br>
    SELECT 'a href="f?p=' || v('APP_ID') || ':7:' || v('SESSION') || ':' || ID || ':P7_TBname:' || v('APP_PAGE_ID') || '" INVALIDATE</a>' Invalidate,
    <br><br>
    now this seems to be corrently passing the Page number forwards, however I'm at a loss as to how to now remove this number from the URL and place it in a text box on page 7.
    <br>
    Can any one help me out on this one?
    <br>
    Thanks a lot in advance
    <br>
    Message was edited by:
    Harkonan (removed angle brackets from hyperlink so it displays)

    Found the problem,
    For any one searching in the future:
    The URL had the item values and name in the wrong section of the URL, as it was they were in the Debug and clear cash sections. Adding two : before the name solved this. For reference see this:
    f?p=App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly

  • How to create a report which accepts parameters from the URL

    Hi,
    I am trying to create a report that would only show the rows based on a criteria. My table has the following structure:
    ID number(10)
    Review_date date
    Review varchar2(1000)
    I want the report to display the following query:
    Select Review_date, review from t1 where id=:ID;
    I need the value of the parameter ID to be accepted through the URl. As in, the requirement wants that a url like www.abc.com:7777/abc?ID=1 should display a page where the report is run for id=1 and the results are displayed.
    I have created a report in Portals where id can be entered once the customize link is pressed and the criteria is added. But the requirements state that users should not have to do this, links will be provided to them based on certain criterias, they just need to click on them. Any help is highly appreciated.

    You could try the forum for Financial Reporting - Hyperion Query and Reporting
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to pass session variables via the URL in CF10?

    Hi
    I have a client with some old Flash functionality (AS2). The SWF allows the user to upload an image. However a new session is being started when the upload script is called. I have added the CFID, CFTOKEN and JSESSIONID to the URL as I did in the past to maintain the session but I believe you cannot do this anymore with CF10, if this is correct can anyone point me in the right direction of how I would accomplish maintaining the session for the upload?
    This has a note about CF 10 - http://forums.adobe.com/thread/1178420
    Kind regards
    Shaun

    Hi Shaun
    Are you facing the same issue with all the browsers?
    Thanks
    VJ

  • Pass parameter to apex page via the URL

    Hi, I need to pass a parameter into a page that will be used in a query inside a report region,
    e.g report region query is
    select link_id, page_id, menu_parent_id, link_text, link_url
    from portal_pages
    where page_id = :page_id
    So the page will display different links depending on what value is passed to the page in the variable.
    I know with normal URL syntax it would be something like
    http://www.domain.com/page.html&page_id=1 (where page_id is a hidden variable in apex)
    but how do I do this with an apex page like :-
    http://host:port/pls/apex/f?p=123:9 <what goes here ? and what goes in the page for it to work>
    Any help appreciated - noob to Apex
    Thanks
    Phil.

    If your item to be used in the url is P1_Page_Id, the
    url should be something like:<br>
    http://host:port/pls/apex/f?p=123:9:page_id:&P1_Page_I
    d.
    Thanks for comments, understand the syntax of the apex URLs now, got the item sorted in the page now, all working.

  • How to pass APEX_UTIL.COUNT_CLICK parameters in the url

    Hello,
    I have to count clicks on the List items:
    There is a Click Counting option in the definition of each List item,
    and you can add Click Count Category there.
    However, I also need to add Click Id parameter - p_id.
    This parameter (p_id) suppose to pass a value into CLICK_ID column of the APEX_WORKSPACE_CLICKS view.
    I am constructing a url for that.
    The url without p_id works perfect:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_company=&WORKSPACE_ID.&p_user=&APP_USER.But the url with p_id does not work at all:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=Profile&p_company=&WORKSPACE_ID.&p_user=&APP_USER.Do you know how to pass p_id parameter in the url, so that it would be inserted in apex_workspace_clicks view?
    Thank you!

    CLICK_ID column of the APEX_WORKSPACE_CLICKS is a Number, so you have to pass a number, ex:
    &p_id=1
    So your url should look like:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=1&p_company=&WORKSPACE_ID.&p_user=&APP_USER.You can use a page number to associate with a click, to be more descriptive

Maybe you are looking for

  • Bluetooth no longer sees iPhone after IOS 5 install

    After completing my iOS 5 installs for both my 3GS and iPad 1, I can no longer pair my iPhone with my iPad.  Has anyone else had a similar problem?  Oh yeah, I cannot sync my ipad with iCloud, even after doing a system restore on my iPad.  Epic fail

  • Buffered Issues

    Hello everyone, Database Version: 10g R2 Platform: Server 2003 32-bit I've written a program to pass credit card information from a POS station to a satellite program that authorizes the transactions using a custom built Advanced Queue. I have it wor

  • I need help with and Error PLEASE!!

    Everytime i try to upgarde my itunes 6 to itunes 7 i get and Error Drive E:/ message and then i get a message saying The installer encountered errors before Itunes could be configured. WHAT DO I DO? I NEED SERIOUS HELP HERE!

  • HT201412 My home button does not respond on my iPad 3.  Any ideas on how to solve this problem?

    I just received a new iPad 3.  The home button does not respond.  Any ideas?

  • Middleware Adapter objects

    Hi experts,                   i am working on CRM 5.0. i need to create a customized business Adapter (for replicating relationships)object to download a custom table from R/3 to CRM (Z table replication).But i am unable to create Business object in