Extracting parameters from URL for forms 6i

Is there a way to get the portal logged in user
in a 9ias forms 6i web form. Also if I pass user-defined
parameters through a link to forms 6i is there a way
I can extract these parameters from the URL and get
forms 6i to read them?
Any ideas will be greatly appreciated.
Thanks,
Suzanne

Hi Suzanne,
all that you need to do is parse the url string
It is made up of:
?[Parameter Name]=[Parameter]
&[Parameter Name]=[Parameter]
&[Parameter Name]=[Parameter]
&[Parameter Name]=[Parameter]
I have some code that converts a url string into a form and then submits the form.
you could use this as a base to work from.
Regards Michael
CREATE OR REPLACE PROCEDURE FORWARD_TO_URL_P (P_URL IN VARCHAR2) IS
     vParameter VARCHAR2(4000);
     vValue VARCHAR2(4000);
     vProcedure VARCHAR2(1000);
     vString VARCHAR2(4000);
     vLength NUMBER(10);
     vQ VARCHAR2(4) := '?';
     vE VARCHAR2(4) := '=';
     vA VARCHAR2(4) := '&';
BEGIN
     htp.p('<HTML><HEAD><TITLE>ASP 3</TITLE>');
     htp.p('<META HTTP-EQUIV="PRAGMA" CONTENT="No-Cache"></HEAD><BODY bgcolor="#f1f1f1">');
     vString := p_url;
     IF INSTR(vString, vQ) > 0 THEN
          vProcedure := SUBSTR(vString, 1, INSTR(vString, vQ) - 1);
          vString := SUBSTR(vString, INSTR(vString, vQ) + vLength);
     ELSE
          vProcedure := vString;
     END IF;
     vQ := vA;
     htp.p('<FORM METHOD=POST action="' || vProcedure || '">');
     WHILE NVL(INSTR(vString, vE), 0) > 0 LOOP
          vParameter := SUBSTR(vString, 1, INSTR(vString, vE) - 1);
          vString := SUBSTR(vString, INSTR(vString, vE));
          IF INSTR(vString, vE) = INSTR(vString, vE, -1, 1) THEN
               vValue := SUBSTR(vString,vLength+1);
               vString := '';
          ELSE
               vString := SUBSTR(vString,vLength+1);
               vValue := SUBSTR(vString, 1, INSTR(vString, vQ) - 1);
               vString := SUBSTR(vString, INSTR(vString, vQ) + vLength);
          END IF;
          htp.p('<INPUT TYPE=hidden name="' || vParameter || '" Value="' || vValue || '">');
     END LOOP;
     htp.p('</FORM>');
     htp.p('<SCRIPT>');
     htp.p('document.forms[0].submit();');
     htp.p('</SCRIPT>');
     htp.p('</BODY></HTML>');
END;

Similar Messages

  • Passing parameters from URL to Forms 9i

    Hi,
    Can anyone tell me how I can pass a user-defined parameter into an Oracle 9i form running within a browser? I have tried passing it in the URL, by itself and as 'otherparms' parameter (otherparms=parm1=xxxx), but it does not seem to work. The documentation has no mention on how to do this (at least that I have seen). I'm sure there is a simple, obvious way to do this that I have completely missed!

    Anthony,
    it work the way you say it. The problem may be because you are running Oracle9iAS on Windows2000. There is a bug in accepting parameters passed in the request URL, requiring you to apply patch 1 (see metalink for patch 2705870).
    If you are on iDS then this should work. So let me knwo if this problem occurs on iDS or iAS
    Frank

  • How do I use the Parameters from URL to filter on Content Query in ItemStyle.xsl?

    Hi, I might need your help with code that Content Query under <xsl:Template...> that I need a filter for 3 parameter from url (from date, to date(for date range) and type.
    eg: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports
    I've google for help and not sure they seem working so far.

    Hi,
    If you want to filter a Content Query Web Part with the parameters from URL, we can achieve it with OOTB of Content Query Web Part by adding "Additional Filters" in "Web Part Properties"->"Query". We can add
    three filters like:
    date is greater than [PageQueryString:DateFrom]
    And
    date is less than [PageQueryString:DateTo]
    And
    type is equal to [PageQueryString:Type]
    Then redirect to the URL: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports, the query results will be filtered.
    Please reply freely if I misunderstand your meaning or there any other questions.
    best regards
    Patrick Liang
    TechNet Community Support

  • Pass data parameter from URL to Forms

    Hi
    Is it possible to pass a data parameter from asp to Forms?.
    In my asp I have a url to call a form (eg. http://servername:port/forms90/f90servlet/form=testform.fmx). In my testform.fmx I accept 'account no' as a parameter for querying the records. Since I am calling this form from asp, I already have the account no in my asp. I would like to pass this account no to the form automatically.
    Is it possible to pass this data parameter from url to forms?.
    If possible, what changes to be made in the form. Please help.
    sreekumar

    Create a parameter in your form, there's a node for it in the Navigator window. Imagine it is called myParam.
    Pass it on the URL like this:
    http://host/forms90/f90servlet?config=myApp&otherParams=myParam=somevalue
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Extracting data from a pdf form

    Hi,
    livecycle es2, workbench 9.0
    I'm new to workbench and have a problem extracting data from a pdf form submitted to a short lived process.
    I have set up the following very simple process :
    default startpoint >  ProcessForm > exportData > set value > set value > Write Document
    The intention is to update the document and write it to disk. So far, each step works except for the 'export data' where I cannot get the pdf to extract to xml.
    The Input to the 'export data' step is a variable (myDoc), Data Type: Document,  created from the incoming PDF form.
    If I write out myDoc it is an exact copy of the incoming document, so I guess the start and finish steps of of the process are OK.
    The incoming (PDF) form I was given had no data schema, but  I thought I could access the form data by exporting to an xml variable....
      Service : FormDataIntegration  / exportData
    input (PDF Document)    variable : myDoc
      output(Data extracted)     variable : myXMLData
    Then in the next step (set value) access the xml element I am after ..
    Mappings
    Location:  /process_data/@groupId      Expression: /process_data/myXMLData/xdp/datasets/data/form1/mainPage/groupId
    This is did not work, so I got the incoming form, exported the form data to an xml file,  and created a schema using  Stylus Studio. I then imported that into the myXMLdata definition. ( BTW - Do I need to specify the root node after importing it ? )
    Still not working !
    Extra info : The XML view of my incoming  form shows I have a minimal dataset definition- is this OK ??
    <connectionSet xmlns="http://www.xfa.org/schema/xfa-connection-set/2.8/">
       <?originalXFAVersion http://www.xfa.org/schema/xfa-connection-set/2.4/?></connectionSet>
    <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
       <xfa:data xfa:dataNode="dataGroup"/>
    </xfa:datasets>
    The schema created by stylus studio has none of the xfdf, xfa settings I have seen on other schemas - is this OK ?
    Any help to get this fixed greatly appreciated
    thanks
    steve

    hey thanks for the offer, but I am now sorted after I found a simple working example on line.
    This is a similar process to the one I am working on, and is clearly described and easy to follow...
    http://eslifeline.wordpress.com/2009/04/25/extracting-data-from-signed-pdf-using-livecycle -server/
    girish bedekar - I thank you !

  • Passing parameters from URL to multiple iViews on a page.

    Hi Everyone,
    Could you please point me to a guide or howto, which explains on passing parameters from URL to multiple iViews on a page. I already know how to pass parameters from URL to a single iView (wiki).
    Thanks!
    Indy

    Hi Indy,
    Currently, passing parameters to the page which contains VC iViews is not supported, only directly in the iView's URL.
    Regards,
    Natty

  • Passing parameters from REPORTS to FORMS.

    Hi,
    Could anyone help my on this, I'm trying to pass parameters from reports to forms is it possible? could anyone give me an idea how do I have to proceed.
    thank youk,
    bino

    http://technet.oracle.com:89/ubb/Forum4/HTML/009647.html

  • PL/SQL - Masking Parameters on URL with Form Post vs Get

    I am inquiring about the PL/SQL functionality of passing focus from one procedure/function to another
    via HTML web pages, using FORM ACTION="post" against "get".
    I've successfully written a good bit of code using the "get" functionality, where the parameters are passed
    on the URL, but security really wasn't an issue on that phase of the application. Now that it is, I'm researching
    further on how to use the ACTION="post" to mask the parameters from the URL and not receive failures in the process.
    I've seen multiple references in books showing the simple process of calling the procedure/function
    which does not explicitly require parameters, and using the ACTION="post", but when doing so, it returns
    the typical PL/SQL message that the page can not be found.
    We are running 9i, but not running 9iAS. Is it necessary to have 9iAS in order to reap these benefits,
    or is it not as simple as it's seems and I should just use Java Servlets/JSPs instead?
    Any information, or direction, would be appreciated.
    Thanks in advance.

    Encrypt the value of parameter and decrypt it back in processRequest of target page ??
    -Idris

  • Getting parameters from URL: use of Special Chars

    I'm unable to retrieve the Special Chars from URL parameters.  Does someone have an idea where to look for?
    Examples where no Special Chars is retrieved :
    ...App?param=Aménagement
    ...App?param=Am<é>nagement
    ...App?param=Am%E9nagement
    I'm using this code :
              IWDProtocolAdapter protocolAdapter =
                   WDProtocolAdapter.getProtocolAdapter();
              IWDRequest request = protocolAdapter.getRequestObject();
                                    String param = request.getParameter("param");
    Thanks!

    okay, So if I use :
    ...App?param=Am%E9+nagement
    How would you then integrate URLDecoder.decode in the following code?
    IWDProtocolAdapter protocolAdapter =
         WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    String param = request.getParameter("param");

  • Need to pre-populate and Extract data from static PDF form

    Hi Jasmin or Jayan or anyone else that can answer.
    I have a requirement to use Digital Signatures.  Because of that, the forms must be static PDFs and the form variables will be “document form”.  I want to pre-populate the form via an SQL query and custom render process and render it as PDF so that the submitter can apply a digital signature when he/she is done and ready to submit for approvalSubsequent approvers will also digitally sign the form.  I know that I will specify the custom render to render only once and thereby preserve the signature(s) on the form.  I do, however, need to extract data from the form to control the business process.  I cannot access the data in the form the same way I do with an xdp and I also cannot pre-populate the same way I do with an xdp. 
    Any suggestions on how to attack this?

    Parth, one problem with your approach is he will submit PDF and therefore you won't be able to put the PDF in a variable that's suppose to contain just xml.
    The prepopulation should be the same. If you start off with an xdp, then you will call a render service that merges data with your xdp to create a PDF.
    Now when you submit, you will submit the entire PDF back in the Document Form variable. In Workbench, you can use the FormDataIntegration service to extract data from that PDF that's being stored under Document Form var/object/document and put it in an xml variable. Then you can just use xPath to do your condition.
    I'm assuming you'll just pass that same Document Form variable to the next step, because if you do any change to the PDF it'll brake the signature.
    Let me know if I missed anything.
    Jasmin

  • URL for Forms

    i have seen Forms working on a single url like http://www.xyz.com:8000
    How can i have single url to start my forms instead of URL like
    http://server_ip/forms/frmservlet?login.fmx
    Can some one send me the exact configuration for this? For domain name (www.xyz.com) i can use my IP address.
    Thanx in advance.

    Dear Grant!
    I'm explaining you the problem here again.
    CASE :A
    We are running an application developed in forms 9i and deployed on oracle 9i AS.
    In this application we have built an utility named UDCALL, which is fetching some data from a SYBASE database server. For this we have written a Pro * C programme which is making connection with Syase database and puts the data fetched from Sybase int Oracle database.
    A Java bean is used for running this Pro * C programe.
    We are passing the URL of server where this compiled Pro * C programe exists.
    Now
    CASE B:
    The requirment we have that, we have to run the same application for a group of users thrugh a proxy server.
    The URL for this case is not same as in case of CASE A.(Because we are using proxy server & the URL used here is that of that proxy server)
    Therefore I want to access the URL of the form so that we can decide wheather we have to pass the URL that of CASE A or URL that of CASE B as a parameter to the JAVA beana used to call the Pro * C programe.
    Please let me know wheather the situation is clear or not. otherwise I'll send you a mail with screen shots.
    Regards
    Amit

  • How to extract certificates from IE for digital signature

    hi
    how to extract certificates from the cert store provided by Internet Explorer 6.0 and use it to read & verify the digital signatures present in the pc.this is needed in my web based application n i have no idea!!!
    pls help me out
    i have studied a lot about all JCA n JCE but the extraction part still baffles me!!!
    my application will be java based so i can make an applet/ servlet/ jsp
    drop your ideas as soon as u get time as i am stuck in the initial phase itself
    priya_16

    hi
    i've the same problem. i've found this solution, but you need download a JCE Provider that allow you to read the explorer certificate store.
    You can try this one: https://download.assembla.se/jceprovider/
    and the code:
    import se.assembla.*;
    public class Listcerts {  
         public static void list() throws Exception{
              java.security.Security.insertProviderAt(new se.assembla.jce.provider.ms.MSProvider(), 2);
              KeyStore ks = KeyStore.getInstance("MSKS","assembla");
              ks.load(null,null);
              X509Certificate cert=null;
              String alias=null;
              int count=0;
              for (java.util.Enumeration e=ks.aliases();e.hasMoreElements();){
                        alias=(String)e.nextElement();
                        cert=(X509Certificate)ks.getCertificate(alias);
                        System.out.println("\n Certificado alias"+alias+":");
                        System.out.println(cert);
                   count++;
              System.out.println ("NUM CERTS="+count);
    now, i need the same solution for Firefox browser XP
    good luck
    Message was edited by:
    meteko

  • How to - Extract data from Cloud For Customer into SAP HANA system

    Hello Community,
    I have a requirement for extracting the existing data from Cloud for Customer into separate SAP HANA Box.
    Is it possible to achieve the same ? If yes, Please guide me for the same.
    Awaiting quick response.
    Regards
    Kumar

    Hi Kumar,
    In addition to what Thierry mentioned you could also use the C4C integration via standard Operational Data Provisioning (ODP) interfaces. This integration was acutally built for SAP BW and allows you to access any C4C data sources. From my perspective you can also build upon that for a native SAP HANA integration. Please also have a look at this guide: How To... load SAP Business Suite data into SAP... | SAP HANA.
    Besides that question let me also add the following: SAP Cloud for Customer already runs on SAP HANA since Nov. 2013. You may also use the powerful built-in analytics within C4C for analyzing data and any of your reporting demands. If your report should consider external data as well, you can combined the existing C4C data source with an external, so-called Cloud Data Source. More infomation is published in the C4C Analytics Guide: http://help.sap.com/saphelp_sapcloudforcustomer/en/PDF/EN-3.pdf.
    I hope this helps...
    Best regards,
    Sven

  • Split or extract pages from a PDF form?

    Once I convert my PDF into a form in LiveCycle Designer I am unable to then extract or split pages from the PDF in Adobe Acrobat Pro. Does anyone know if this is possible?
    Thanks for your help!
    Megan

    LiveCycle PDFs aren't really PDFs so there are a lot of things in Acrobat you can't do with them.

  • Passing parameters from HTML to forms 9i

    I am currently trying to design an application which is called from the web but the application is on forms 9i.
    Once the URL is called the user id needs to be entered and then this needs to be passed on to the main form . As I understand it this user id needs to be passed form HTML into the first form on 9i.
    Can anyone help me with the way this can be done
    Thanks in anticipation
    Surojeet

    Thanks for all your replies but I still am not sure. Let me expain my problem in a little detail. I have an apps server which connects to the database using an user id and password. This is what is defined in the formsweb.config.
    However the users are given non database userids which are authenticated before they connect to the main form. I need to pass this user id to the main form as i use this user id to write into audit columns , the user id password entered in formsweb.config is fine but the one i am looking for is something that I authenticate with before calling the main form which is not the database userid.
    All in all when i enter a user id and password on a webpage and click a button when the url to call the mai n form start working as it has the label associated with the .fmx and defined in the formsweb.config and calls the main form so I need to pass that user id to the main form????
    Does this give a better idea of my problem???
    Many thanks in anticipation
    Surojeet

Maybe you are looking for

  • App tabs dissapearing when clearing history on shutdown

    Hello all, the problem is that when I shut down firefox, I have it clear all history. It seems when I have the 'clear browsing history' box checked all of my app tabs disappear. Any workarounds?

  • How to display a unicode character in a list ?

    Hi, sorry if the question seem to be really easy but I doenbt found of to diaply a special character in a list. I thank that it was easy : 1) display tha windows character map 2) copy paste the charatcter in the ABAP Program to obtain something like

  • Lock Condition for posting

    Hello We have a requirement to lock certain conditions in a contract for posting. The workaround is to take note of such conditions in a contract and exclude the same while running the RERAPP but this is not feasible in our current scenario as billin

  • ISU IDE Template

    Hi , anybody having ISU IDE template development examples ? Rgds Laxman

  • Look for beginner tutorial WebDynpro / iView

    Hello, first of all I would to say that I am new in SAP and EP. (I am a student who is writing his thesis) I just downloaded and installed the SneakPreview and now I would like to develop a simple demo application. I like to develop it in Java/WebDyn