Passing 2 varibles through a URL

I don't know how to pass 2 variables through a URL. I am
familiar with ASP
but it doesn't work the same. Please help
<cflocation
url="payment.cfm?username=#FORM.username#&email="#FORM.email#"">
Wally Kolcz
Developer / Support

It looks like you've got an extra set of quotes:
Take out the double quotes around #FORM.email#
I think that will solve the problem you are having with them
not showing up in the hidden form fields as well.

Similar Messages

  • Problem in passing Modified date through Go url

    Hi All
    I am trying to pass parameters through url to report.
    Its working fine and passing row id of the record but when i try to pass modified date also, it takes me to no result view where i can see that value has been passed to report but the results are not filtered, instead no result view.
    While passing date in url as parameter do we have extra consideration?
    Anybody has faced smilar kind of scenario.

    I am getting the following error when trying to pass modified date for oppty.
    Error getting drill information: SELECT Opportunity.Name saw_0, Opportunity."Opportunity ID" saw_1, Opportunity."Sales Type" saw_2, Opportunity.Priority saw_3, Opportunity."Last Modified" saw_4 FROM "Opportunity Lists" WHERE (Opportunity."Opportunity ID" = 'AAPA-6EEC9X') AND (Opportunity."Last Modified" = timestamp '0000-00-00 00:00:00')
    Error Details
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46048] Datetime Month value 0 from 0000-00-01 is out of range. (HY000)
    SQL Issued: {call NQSGetLevelDrillability('SELECT Opportunity.Name saw_0, Opportunity."Opportunity ID" saw_1, Opportunity."Sales Type" saw_2, Opportunity.Priority saw_3, Opportunity."Last Modified" saw_4 FROM "Opportunity Lists" WHERE (Opportunity."Opportunity ID" = ''AAPA-6EEC9X'') AND (Opportunity."Last Modified" = timestamp ''0000-00-00 00:00:00'')')                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Passing prompt filters through an URL

    My report has very long results table.
    The user ask to have, instead of the table view (which sometimes crashes the browser), a way to execute the report and download it to xls.
    I want to add section in the page, below the prompts, which will display the user a URL link to this report.
    I've read that I can add in the end of the URL the xls format: https://myip/analytics/saw.dll?Go&Path=mypath&format=XLS
    The issue is how to pass the presentation variables, which the report require.
    For example, the report has filter:
    day>@{p_day}
    The p_day is populated by the prompt in the upper side of the page, when the URL link should appear.
    I read the http://gerardnico.com/wiki/dat/obiee/url_filter, where he mentioned the case of 'Data Quality Metrics is prompt', but he didn't show the solution.
    How can I pass the presentaiton variable value in the URL link?

    Nir,
    You should really search through the forums before posting your questions as this/similar question has been answers a few times.
    But I'll take the points that you are going to award me though for providing you with the information and answer to your question. : )
    Towards the bottom of this blog post you will find the answer you seek on how to pas the presentation variables in the URL,
    http://www.iwarelogic.com/blog/integrating-oracle-obiee-content-using-go-url-850
    Other Forum Threads:
    Filter a dashboard prompt using GO URL
    Code snippet from iwarelogic's blog post:
    You can also pass Presentation variable in form @{variable_name} as a filter using GOURL.
    And static variable in form VALUEOF(static_var_name)
    Ex :
    '<a href=http:// '||VALUEOF(domain_name)|| ' :9704/analytics/saw.dll?GO&path=/shared/Operational%20Reports/Scorecard&Options=d&Action=Navigate&P0=3&P1=eq&P2=%22Reporting%20Line%22.%22Reporting%20Line%20Domain%22&P3='||REPLACE("Reporting Line"."Reporting Line Domain",' ','%20')|| '&P4=eq&P5=Geography.Dominion&P6='||REPLACE('@{DominionPromptVar',' ','%20') ||'&P7=eq&P8=Geography.%22Country%20Name%22 &P9='||REPLACE('@{CountryNamePromptVar}',' ','%20') ||'>' || Link || ''
    Note : Passing Parameters to the Report using GO URL is optional argument
    Cheers,
    Christian
    http://www.artofbi.com

  • How to pass form value through URL?

    I have a page set up so that pressing the submit on a form will execute a certain page. For certain reasons I also have a URL HREF link that performs a different function. I need to get the value of a radio button group (all with the same name) and pass that value through the URL if it is pressed. So if someone clicks on the second radio button in the list which has a value of 2, I need to somehow set that to a variable to pass through a URL link. Each time the user changes the radio button I need to dynamically change the variable too.
    Is there any way to do this?

    Thanks for the suggestions everyone. Here is what I have so far:
    I have a cfInput that binds to the radio buttons so the value of the cfinput changes dynamically.
    I have a CFDIV that binds to a separate .cfm page that passes the cfinput through as an argument.
    The .cfm is very basic:
    <cfoutput>
        <cfif isdefined("url.InputText") AND url.InputText NEQ "">
            <cfset FeedVar = #url.InputText#>
        <cfelse>
        </cfif>
    </cfoutput>
    This method appears to work and it sets the Feedvar variable to the appropriate value. However on my first page with the cfdiv tag when I try to pass the #FeedVar# variable through a URL it says it is not defined.
    Any clue if I am doing something wrong passing the new variable back?
    Here is the CFINPUT and CFDIV tags:
    <cfinput type="text" name="update_typeURL" bind="{update_type}" bindonload="true" />
    <cfdiv bind="URL:setURlVar.cfm?InputText={update_type}" ID="theDiv" bindonload="true"  />
    Any ideas on how to read the newly set variable?

  • Passing a UUID through URL

    I am having trouble passing a CreateUUID() through a URL
    because of the hyphens
    Is there a quick and easy way to get around this or do I need
    a script that will strip hyphens for the URL, and then add the
    hyphens back in once the page has changed locations?
    thanks for your comments in advance

    Adam Cameron wrote:
    >> i pass this
    >> &selection=D8660E35-1372-69E5-F732112DB40A7696
    >>
    >> and get this
    >> [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC SQL Server
    >> Driver][SQL Server]Invalid column name 'D8660E35'.
    >>
    >> i guess this is more of a sql problem than a CF
    problem
    >
    > Yeah. Your query sounds screwed, as if you're using the
    VALUE (ie: the
    > UUID in this case) in place of a column name. Which is
    what the error
    > suggests.
    >
    > What's your query SQL?
    >
    Actually that is the error one gets when one forgets the
    quotes around a
    string with dashes in it. The SQL parser is trying to
    subtract what it
    perceives as one column name "D8660E35" from what it
    perceives as
    another "1372".
    Try putting single quotes around your string value.

  • Commas not correctly processed when values are passed through the URL!!!!!!

    I think this is a bug. Any information about this will be greatly appreciated. Here's the scenario:
    There's a single page with 2 regions. The first region contains a simple SQL report. The second region is and HTML region that contains text and date form elements. The SQL report has a column link "Edit" that when pressed it populates form elements in the HTML region. The population of the form elements is done by passing the column values of the select row as variables along the URL. The problem is that commas within column value text are processed as delimiters in the URL. From my understanding and documentation, variables and their values are supposed to look like this:
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:1234,,5678
    where MY_ITEM1 will be set to 1234, MY_ITEM2 will be set to null and MY_ITEM3 will be set to 5678 (The URL was copied directly from the Apex 3.0 documentation without modification).
    However if the first value is text (lets say "some,thing") that contains a comma, then MY_ITEM1 will be set to the text preceding the comma in the first value (some), the MY_ITEM2 will be set to the text that comes after the comma in the first value (thing) NOT null and MY_ITEM3 will be set to null NOT 5678. Clearly, one would think that the comma in the first value should be escaped given that commas are used as delimiters of values in this URL scheme.
    The URL looks like this:
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:some%2Cthing%2C%2C5678
    However the URL should look like this:
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:some%2Cthing,,5678
    where MY_ITEM1 is set to "some,thing", MY_ITEM2 is null and MY_ITEM3 is set to 5678
    What does all this mean? This means that the escaped commas (%2C) are used as delimiters for the values. Additionally, any information that is passed that contains a comma will have it's comma escaped as well AND still considered as delimiters for values in the URL. Not to mention it's inconsistent with the official documentation.

    Never mind... problem solved.
    In the Apex docs says that you can embed commas if used within backslashes like: \123,45\.
    So in order to pass text that has a comma through the URL, one must force Apex to code the URL like this (assuming that the text is coming from a report):
    f?p=6000:6004:&APP_SESSION.::NO:6003:MY_ITEM1,MY_ITEM2,MY_ITEM3:\#A_COLUMN#\,,5678
    Sorry... no bug. :)

  • Page 404 Error when passing Session values through URL

    The current application I'm working on is a 'Targeted Email Communications' application. Bascially, employees at the school at which I'm employed can go in and select services to recieve outage notification emails on.
    The problem I'm discussing in this post has to do with our so called 'Notification Summary Screen.' This screen is basically a report region which displays all outage notifications issued by this application. In the left-most column of this report, I have an edit button that when clicked, redirects the user to the 'Create / Update / Send Screen' with the primary key values passed through the URL. When this happens, all other page items query their values based on the NOTIF_ID passed in through the URL. All of this works fine.
    The problem is, on the Notification Summary Screen, I also have a button labeled 'Create a new notification.' This button redirects the user to the same page as before, except now all of the values are NULL because this outage notification has not yet been created. The problem is, when I try and do this - I get a page 404 not found error. I'm pretty sure it's because my application is getting confused because earlier all of the values were passed in through a URL. For the 'Create New' button, I clear the page cache for this page - and it still does nothing. I am at a loss for what to do here because I keep getting the error.
    Here's the code for the URL button found in the report query in the 'Notification Summary Screen' :
    ('<a href='
              || 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.::'
              || 'P2_NOTIF_ID,P2_NOTIF_SEQ,P2_INFO_TYPE:'
              || a.notif_id ||','|| b.notif_seq || ',' || 'Update'
              || '>'
              || '<img src="#APP_IMAGES#EditButton.gif" />'
              || '</a>') as "edit",** NOTE, I took out the double quotes after href and before the closing right karat brackets because for some reason the code in the URL wouldn't display...weird.... **
    The NOTIF_ID value is the primary key identifier for each outage notification. Additionally, the NOTIF_SEQ value is the sequence number for each (because each notification could have multiple updates). The INFO_TYPE value just references whether this is 'Initial', 'Updated', or 'Closing' information.
    Any suggestions would be much appreciated.
    Eric
    Edited by: user11685190 on Nov 6, 2009 1:12 PM
    Edited by: user11685190 on Nov 6, 2009 1:13 PM
    Edited by: user11685190 on Nov 6, 2009 1:14 PM

    Hey you guys,
    Thanks for your responses. I actually just started working for this academic institution, and have to finish a probationary period before I have access to their VPN (5 Months). Therefore, I cannot access my workspace, nor will they allow me to export my application because it's considered their intellectual property. I believe it may be the &DEBUG portion of it.
    Though I cannot state the exact URL the error states, I can tell you that if I go into application builder to the page in question and try and run it before the page that links to it, I get the error. However, when I use the link everything works fine. When I use the 'Create New' button to link to the page with no values passed, I get the error again. I work again on Monday and will have more information then.
    Thanks again!
    Eric

  • Passing variable as an input parametere to a transaction through an url;

    hi ,
    I am calling a transaction through an url into which i want to pass the input parametere to the transaction as an variable; my question is
    is it possible? if yes then how?

    Hi Diana ,Thanks for taking intrest in my question . I hav already gone through that link which you have given, what my question is that,
    consider this ex. given below
    Transaction=Test/YieldCalc&YieldFactor=10.0&OutputParameter=YieldAverage.
    in the above call i am passing 10.0  as input to the parameter YieldFactor .
    what i want to do is to store this value of 10.0 in a variable and then pass this variable to the parameter YieldFactor,
    say,
    var xxx=10.0;
    Transaction=Test/YieldCalc&YieldFactor="xxx"&OutputParameter=YieldAverage.
    I have tried like this but it  didnt worked.
    is it possible ?
    how?

  • Pass the product ID through the URL from the checkout page to the "receipt - buy" landing page. is it possible?

    Pass the product ID through the URL from the checkout page to the "receipt - buy" landing page. is it possible?

    You can just the module_shoppingcartsummary module and with liquid you can render the items in the cart out.
    Developer reference

  • Passing Parameters through a URL to a Report..

    I have noticed a lot of message about similar situations where people have had problems sending certain parameters through a URL.. so this is maybe something that's not possible.. but you if you dont ask then you dont know.
    so..
    We have a form that has search options in it
    (its a customized form that replaces the customization bit that you get with a report -> .show_parms - just so we could do different things with it)
    and one of the fields is a combobox populated by an LOV
    - it has usernames in it
    so when you search using a value in the combobox it will show all the records that that person has entered into the table..
    however we are currently getting an error
    Error: An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
    this is the URL with the parameters
    http://portal.somewhere.com/pls/portal30/foldername.RPT_Edit_Request_Old.show?p_arg_names=Request.RID&p_arg_values='||nRID||'&p_arg_names=Request.CID&p_arg_values='||nCID||'&p_arg_names=Request.ATID&p_arg_values='||nATID||'&p_arg_names=Request.REQUEST_NAME&p_arg_values='||nREQNM||'%&p_arg_names=_request_rid_cond&p_arg_values=%3D&p_arg_names=_request_cid_cond&p_arg_values=%3D&p_arg_names=_request_atid_cond&p_arg_values=%3D&p_arg_names=_request_request_name_cond&p_arg_values=LIKE';
    when you remove the condition at the end
    the report is displayed (but not customized obviously)
    however you can see the value has been picked up from the combobox as it's in the URL in the address bar..
    so that bit works fine
    any thoughts/ideas/or even solutions! :) would be much appreciated
    thanks
    Richard

    actually
    nevermind
    i got it to work without even knowing :)
    the condition was causing the error
    and adding a % after the value makes it work

  • Passing variables through the URL String

    I have a template and outside the basic html - all the content is grabbed from a db. I want to use 1 template to generate all of the other pages for the site. So basically, the only way to identify the page would be through the URL string.
    So, something like -
    www.mysite.com/template.jsp?page_section=aboutus&pageID=1
    That string would query the database and output the content for page 1 of the about section.
    Does this make sense and where would I start to learn how this is done?.
    Again, I appreciate your help.
    Mark

    since database connections are costly affair i better use
    jsp include tag ratter then getting dadta from database
    assumming that u can devide your comman pages in 4 parts
    just assume
    top - logo
    bottom - common links
    center - data
    left - menu
    my jsp page would look like this (aboutus.jsp)
    <%@ include file="top.html" %>
    <%@ include file="left.html" %>
    <%@ include file="aboustus.html" %>
    <%@ include file="bottom.html" %>
    2) disclaimer.jsp
    <%@ include file="top.html" %>
    <%@ include file="left.html" %>
    <%@ include file="disclaimer.html" %>
    <%@ include file="bottom.html" %>
    this would reduce ur maintainnce as if u want to change top logo only top.html needs to be changed and it would affect in all pages
    regards
    [email protected]

  • Connecting a pdf to a database and passing a specific parameter through a URL

    Hi,
    I have a product data sheet that I want to personalise with partner logos. I need to pass a parameter from a url string to the form and have it populate a specific spot with the partner logo.
    How would I go about doing that. I have LiveCycle Designer 8
    Thanks,
    Nolan

    yea.. looks like a mess true.., cos i was puttin all 2geda in a haste..
    this is my midlet code....
    TextField uname, upass, uacc;
    url ="http://localhost:8080/serv/Ser";
    uname = new TextField("Firstname:","",30,TextField.ANY);
    form.append(uname);
    upass = new TextField("Lastname:","",30,TextField.ANY);
    form.append(upass);
    uacc = new TextField("Account ID:","",30,TextField.ANY);
    form.append(uacc);
    void connect( String url ) throws IOException {
    HttpConnection http =null;
    InputStream iStrm =null;
        StringBuffer b = new StringBuffer();
        try {
          http = (HttpConnection)Connector.open(url);
         http.setRequestMethod(HttpConnection.POST);
    http.setRequestProperty("User-Agent","Profile/MIDP-1.0 Configuration/CLDC-1.0");
    http.setRequestProperty("Content-Language", "en-CA");
    http.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
    iStrm = http.openDataInputStream();
    System.out.println(http.getResponseMessage());
    System.out.println(http.getResponseCode());
    int ch;
    while((ch=iStrm.read()) != -1)
    b.append((char) ch);
    conn.setString(b.toString());
    System.out.println(b.toString());
    display.setCurrent(conn);
    catch(Exception ex)
    System.out.println(ex);
    conn.setString(String.valueOf(ex));
    ex.printStackTrace();
    finally
    if(iStrm!=null)
    iStrm.close();
    if(http !=null)
    http.close();
    }and this is my servlet code.
    public void doPost(HttpServletRequest req,HttpServletResponse res)
    throws IOException,ServletException
    try
    Class.forName("com.mysql.jdbc.Driver");
    Connection con =DriverManager.getConnection("jdbc:mysql://localhost:8080","root","pass");
    PreparedStatement stat = con.prepareStatement("Select custaid from customers_old where firstname=? and surname=? and custAID=?");
    stat.setString(1,req.getParameter("uname"));
    stat.setString(2,req.getParameter("upass"));
    stat.setString(3,req.getParameter("uacc"));

  • Problem extracting variables passed through a url

    Hi I'm trying to pass two variables via a url which I can acheive, but I'm having trouble extracting the information when page refreshes.
    This is the code I've used to pass the variables:_
    <?php while ($row = mysql_fetch_assoc($result1)) {   ?>
    <a href="<?php echo $_SERVER['PHP_SELF'];?>?gallery_id=<?php echo $row['gallery_id']; ?>&amp;year_id=<?php echo $row['year_id'];?>"><?php echo $row['name']; ?></a>
    <?php } ?>
    I'm able to acheive the my objective when on variable is passed using the following code:-
    if (array_key_exists('gallery_id', $_GET)) {
    $gallery_id = $_GET['gallery_id'];
    My question is, how do I do this with two (or more) variables? I need to extract $year_id as well.
    Thanks.

    Thanks for the reply.
    I get the following notice.
    Notice: Unidentified index: gallery_id in ......
    I'm trying to create a photo gallery that displays years at the top, the gallery names for the relevant year in the left hand pane and the relevant photos for a particular gallery in the right hand pane. I have nearly acheived the aim in that everything will initially display ok and when a different year is selected and the page reloads, it will list the galleries for that year and display the photos for the first gallery in the list.
    The problem is that when a new gallery is selected I am able to pass the new gallery_id and the year_id when the page reloads, but I can't extract both results using If(array_key_exists and since the script needs both to function I'm a bit stuck.
    What i really want to do is something like If(array_key_exists('year_id', 'gallery_id', $_GET)) {
    but this won't work! Is it possible to do it this way or am I barking up the wrong tree?
    Thanks.

  • 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

  • Trouble passing a varible to INSERT page

    I'm a novice and I'm having trouble passing a varible from
    one page into the database.
    I ultimately want to pass the word "Appliances" into the
    database field name called CATEGORY.
    The user clicks on: www.xyz.com/main.cfm?category=Appliances
    to go to the next page. Then the next page has a <form> in it
    and that same page has <CFSET category=#category#>. But when
    the form posts the info into the database with the <CFINSERT>
    on the next page, CATEGORY is empty.
    I've tried: CFSET form.category=#category#>, CFSET
    form.category="#category#"> and some other things. I've even
    thought of doing this: <FORM
    ACTION="insert.cfm?category=#category#" method="post">, but that
    didn't work either (I thought I was pretty smart when I thought of
    that). :-)
    Now, I have JUST learned that I can use the <INPUT
    TYPE="hidden" NAME="category" VALUE="#category#"> to pass it BUT
    why didnt a simple CFSET statement set the variable and pass it to
    the CFINSERT?
    Thanks in advance!! -Tony

    yes, <cfinsert> tag only inserts FORM values, that is
    values defined in
    the FORM scope variables (form fields, effectively). it will
    not insert
    any values defined in any other scopes.
    a form will POST (submit) only data in its fields. that is
    why the
    variable you set with CFSET is not submitted - it is not a
    form field.
    so in order to use cfinsert you must have all data you want
    to insert
    into db in form fields. as you have found out, you can have
    hidden form
    fields to post/submit data too.
    you could also pass the variable as part of the query string
    of the
    action page: <form
    action="youractionpage.cfm?yourvar=<cfoutput>#yourvar#</cfoutput>"
    method="post">, but that variable will be available on the
    action page
    inside URL scope, not FORM scope. in order for CFINSERT to
    insert that
    variable in this case, just add <cfset form.yourvar =
    url.yourvar>
    BEFORE your CFINSERT tag on your action page.
    et voila - your variable is part of the form scope now and
    gets inserted
    with cfinsert tag.
    hope this helps.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

Maybe you are looking for

  • Problem in downloading multiple files

    Hi I have an item of type messageDownload in an Advanced Table region. Switcher Region ---> Case 1 ---> Case 2 --> region(Header) --> Region(Advanced Table) --> Column --> Item (messageDownload). The field is fetching the right file when Queried. But

  • Video Player stoped working

    Hi  I have symbian Belle on my e7.0, its video player suddenly stoped working for all file formates. only audio comes out when playing video files. Please help me.

  • Example/help for CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' editable

    hello experts, are there any example using function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'  with editable columns. Or, have somebody an idea to resolve my problem. I can edit the fields in the alv-grid, but I don't see the changes in the internal table usi

  • M2A_DBLINK and A2M_DBLINK in oracle apps ASCP

    what is the use of the M2A_DBLINK and A2M_DBLINK. why do we use it ? how do we set up these db links and on which instance. and how do you see the data flow from ASCP2OLTP during data pull from ERP and data load to ASCP instance. Thanks & regards, Kr

  • PO not created after SC in CCM

    Dear all., I created a SC using CCM.., but it is not getting converted to PO., Pls let me know what might be the problem. pavan.