ODI Using Axis2 Passing Multiple Variables

Hi,
We are using Axis2 in between a .Net web app to pass four parameters to an ODI scenario. I am using SOAPUI to remove the web app from the testing process. Everything is working well except for the fact that only the last variable in the XML is ever read and stored in the ODI scenario execution. Below is a sample of our XML variable setup. In the ODI scenario we declare each of the four variables in the first four steps of the package (which I read somewhere was the proper setup). Regardless, if I remove the last two variable in the XML then only the second variable "v_HFMI_Fiscal_Year" is stored properly and the first is ignored. Furthermore, if I remove the last variable then the third is stored properly and the first two are ignored. Can anyone help?
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">
<soapenv:Header/>
<soapenv:Body>
<odi:invokeScenarioRequest>
<odi:Variables>
<odi:Name>HFMI_PROJECT.v_HFMI_UserID</odi:Name>
<odi:Value>CORMSBY</odi:Value>
<odi:Name>HFMI_PROJECT.v_HFMI_Fiscal_Year</odi:Name>
<odi:Value>2008</odi:Value>
<odi:Name>HFMI_PROJECT.v_HFMI_Fiscal_Period</odi:Name>
<odi:Value>06</odi:Value>
<odi:Name>HFMI_PROJECT.v_HFMI_Submission_Type</odi:Name>
<odi:Value>BPY2</odi:Value>
</odi:Variables>
</odi:Command>
</odi:invokeScenarioRequest>
</soapenv:Body>
</soapenv:Envelope>

Rhian80 wrote:
I would use Applescript to do everything but I'm the only Apple person on staff and if I get hit by a beer truck tomorrow, someone has to know how to do this stuff. I figure they have better odds of finding someone on staff who knows UNIX.
Another option may be to write the whole thing as a shell script and use Pashua or Platypus to create a GUI around it.
One warning about creating and running shell scripts from AppleScript: make sure you correctly escape any user-supplied values when assembling the shell script. The easiest way to do this is by using the text object's 'quoted form' property, like this:
do shell script "/Users/labadmin/Desktop/labbuild.sh " & quoted form of RoomNumber & space & quoted form of StationNumber
or, if your shell script expects the room and station numbers to be supplied as a single argument rather than two separate ones:
do shell script "/Users/labadmin/Desktop/labbuild.sh " & quoted form of (RoomNumber & StationNumber)
If you forget to do this, Very Bad Things can easily happen when the inputted text contains spaces or other 'special' characters, either by accident or intent, e.g.:
set user_input to "; say Oops;"
do shell script "echo My name is " & user_input
Do a web search for 'injection attack' for more on the perils of failing to sanitize your inputs properly.
Incidentally, the latest edition of Apress's Learn AppleScript, which I co-wrote, has an entire chapter devoted to combining AppleScript and Unix shell scripting, if you're new to this subject./self-plug

Similar Messages

  • Apex Charts - Pass Multiple Variables & Using GROUP BY

    Hi, I'm using Apex 3.2.1 and have generated a chart with the following query -
    select NULL link, PROXY label, count(*) value
    from "INVENT_OWNER"."LMT_SPACE_EMAILS"
    where RESPONSE = 'NO'
    group by PROXY
    This works fine.
    I now want to link the 'PROXY' column to a new page but I can not get the query correct even if I use Apex to generate the chart query.
    Apex generates it as -
    select 'f?p=&APP_ID.:4:'||:app_session||'::::P4_REF,P4_PROXY:'||REF||','||PROXY||':' link, PROXY label, COUNT(REF) value
    from "INVENT_OWNER"."LMT_CHECKS"
    group by PROXY
    but this will not parse and I get the error 'ORA-00979: not a GROUP BY expression'
    Can anyone please help ?
    Thanks in advance

    I am currently working on my first chart creation in apex 4.
    I am creating a 3D bar chart that shows the '%Complete' by Project and by Task by Project Title.
    There is one Project for Project Title but there can be multiple Tasks for each Project Title.
    My first series is called project -- and the series query is:
    SELECT NULL LINK,
    "F**"."PROJECT_TITLE" LABEL,
    "F**"."%_COMPLETED" VALUE
    FROM "F**"
    where "F**"."PROJECT_LEVEL" = 'Project'
    This works fine and returns the % complete for each Project.
    But for the next series I use the series query below and it only returns one Task - even if there are mutiple tasks for the Project Title.
    SELECT NULL LINK,
    "F**"."PROJECT_TITLE" LABEL,
    "F**"."%_COMPLETED" VALUE
    FROM "F**"
    where "F**"."PROJECT_LEVEL" = 'Task'
    How do I show multiple tasks on the graph for each Project Title?
    Thanks,
    Joan

  • Tsql stored procedure - passing multiple variables

    Hi,
    I have a dropdown field on a form that allows for multiple
    selects. When I process the form, I currently use CF to dynamically
    generate the sql WHERE clause creating as many AND statements as
    needed.
    I'm migrating to MS SQL 2005 and Stored Procedures on the db.
    I'm trying to create a stored procedure that effectively uses tsql
    to do what CF was doing previously (creating the WHERE clause).
    In the code below, I am passing a char(22) variable called
    Channel. The code below was my initial attempt at trying to create
    the WHERE clause. Most of the code is focused on extracting out the
    individual "Channel" entities. Any thoughts on how to pull this
    together would be GREATLY appreciated!
    I'm need help on the SELECT side, ultimately I'm selecting
    "regions", from "Syndicated", the WHERE is based on the "Channels"
    passed.
    Thanks,
    cfwild

    Hi,
    This was quite the adventure trying to figure this out. I
    learned quite a bit about tsql. Here is the final procedure:
    CREATE PROCEDURE dbo.uspSelectSyndicatedRegion
    @TablePrefix char(7),
    @Category varchar(100),
    @Channel varchar(2000)
    AS
    BEGIN
    SELECT DISTINCT S.Region
    FROM Syndicated S
    JOIN iter_charlist_to_tbl(@Channel, DEFAULT) M
    ON S.Channel = M.str
    UNION
    SELECT ''
    ORDER BY S.Region
    END

  • Passing multiple variable values through Start Pointer

    Hi,
    I have a company code variable in my BI query, at initial run of the VC model i want to exclude multiple  company codes through start pointer, how can i write exclude condition for multiple values through company code variable field value input in start pointer, I don't want to change my BI query.
    please help me on this
    Thanks in advance

    Hi
    This document will be usefull for you:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/07134c67-0b01-0010-0493-b89287cf330f
    You should build string with following syntax and pass it to the start point:
    :[Value(End - optional)]:Operator:I (Includes) or E (Excludes)
    Available Operators:
    ·         EQ u2013 Equal to
    ·         GE u2013 Greater than or equal to
    ·         GT u2013 Greater than
    ·         LE u2013 Less than or equal to
    ·         LT u2013 Less than
    ·         BT u2013 Between
    For more help:
    http://help.sap.com/saphelp_nw70/helpdata/EN/44/4fc09c78ef4e35e10000000a1553f6/frameset.htm
    Good luck,
    Ola

  • Passing multiple variables types to Backgroundworker

    Hello everybody ,
    This question has been asked many times , but I will can't make it work, I want to pass (string , serial port object ,and form.label)
    here is my code :
    Public switch As String = "request"
    Public sp1 As New IO.Ports.SerialPort
    Public arg As New List(Of Object)
    Private Sub Gsload()
    arg.Add(sp1)
    arg.Add(CObj(switch))
    arg.Add(label1)
    BackgroundWorker1.RunWorkerAsync(arg)
    End Sub
    Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
    Dim arglist As List(Of Object) = TryCast(e.Argument, List(Of Object))
    Dim sp1 As IO.Ports.SerialPort = CType(arglist(0), IO.Ports.SerialPort) getdata(arglist(0))
    Dim swt As String = CStr(arglist(1))
    getdata2(sp1,arglist(2).text)
    End Sub
    It is not working , I do not know why
    thnx for your help :)
    Hey :)

    You didn't say what the problem is. I suspect the problem is that the elements in arglist as Objects and you want to treat them as particular types of object.
    What does the getdata method expect as its argument? If it expects a SerialPort, you will need to change arglist(0) to SerialPort.
    getdata(CType(arglist(0), IO.Ports.SerialPort))
    The value you stored in arglist(2) was a Label. If you want to access the Label's properties, you will need to convert arglist(2) from Object to Label.
    Dim myLabel as Label = CType(arglist(2), Label)
    getdata2(CType(arglist(0), IO.Ports.SerialPort), myLabel.Text)
    Hello , Thnx for your answer and sorry my question wasnt clear at all ,
    My problem is that I cannot use the string like this :
    Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
    Dim arglist As List(Of Object) = TryCast(e.Argument, List(Of Object))
    Dim sp1 As IO.Ports.SerialPort = CType(arglist(0), IO.Ports.SerialPort)
    Dim swt As String = CType(arglist(1), String)
    If swt = "request" Then
    switchdmm(sp1, "Auto")
    End If
    e.Result = getdata(sp1)
    End Sub
    even if swt = "request" it always skip it and execute e.result = getdata(sp1)
    Hey :)

  • Passing multiple session values from cold fusion into a flash movie

    Hello all,
    I know that to pass multiple variables into a flash movie
    you could use the embed tag like this(with the & between each
    variable):
    <embed
    flashvars="variable1=value1&variable2=value2"
    ></embed>
    Now to pass a single session variable from coldfusion in i
    did the following; which worked:
    <embed
    src="ASdb.swf"
    FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>"
    width="550" height="400" autostart="true">
    </embed>
    Note that i had to use the cfoutput tags to get the value
    stored in the variables. Now; i tried to do the same thing for two
    session variables and the second one does not get read in. Here was
    my code:
    <embed src="ASdb.swf"
    FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID=<cfoutput>#session .testTypeID#</cfoutput>"
    width="550" height="400" autostart="true">
    </embed>
    Can someone please tell me what I am doing wrong? Thank you
    very much in advance.

    Hold on there was a little error: My final code that did not
    work was the following:
    <embed src="ASdb.swf"
    FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID
    =<cfoutput>#session.testTypeID#</cfoutput>"
    width="550" height="400" autostart="true">
    </embed>

  • Sending multiple variable to flash

    I did the following in passing several multiple to flash
    PHP code
    <?php
         $d  = array();
         $p = array();
         $t = array();
         require_once('C:\xampp\htdocs\moodle\config.php');
        $data = $DB->get_records_sql('SELECT questiontext,id FROM {question}');
        foreach ($data  as $element)  {
        $d[] = $element->questiontext ;
        $p[] = $element->id;}
        echo "var1=".urlencode($d[1])."&var2=".urlencode($p[1]);
    ?>
    Actionscript code
    var myLoader:URLLoader = new URLLoader();
    myLoader.dataFormat = URLLoaderDataFormat.TEXT;
    var myRequest:URLRequest=new URLRequest("http://localhost/moodle/selectquestion.php");
    myLoader.load(myRequest);
    myLoader.addEventListener(Event.COMPLETE,onCompleteHandler);
    var myValue: String;
    var valuetwo: String;
    function onCompleteHandler(e:Event):void{
       myValue = e.target.data.var1;
                          valuetwo = e.target.data.var2;
       trace(myValue);
       trace(valuetwo);
    However, error shows in actionscript that
    ReferenceError: Error #1069: Property var1 not found on String and there is no default value.
    Is there anything wrong in my php code or in the actionscript? How should I pass multiple variable to flash?

    I can fix it now as I should add
    var myvariable: URLVariables = new URLVariables(e.target.data);      
    to my actionscript code and then
    myValue = myvariable.var1;
    valuetwo = myvariable.var2;
    trace(myValue);
    trace(valuetwo);
    I can then trace back.

  • Oracle BI Publisher - Passing multiple wildcard search to a bind variable

    Hi,
    Please help me in resolving the below mentioned issue:
    I have developed a report in oracle BI Publisher with a SQL query.
    While scheduling the report to run I used to pass mutilple parameters like CGAMSVC08,RLCSVC51
    If the pass the parameter with wildcard search like C% it works.
    When I pass two or more parameter values with wildcard search like C%,R% its not working.
    Could you please let me know how should I give the bind variable in the SQL query. Currently I'm paramater like the one shown below for passing multiple paramaters:
    Where (',' || :PRMRETRID || ',' like '%,'||RL.RETROFIT_ID|| ',%')
    Edited by: user1101445 on May 23, 2012 2:02 AM

    HI Tyler.
    Well, here's the latest.
    I found this little gem in the BIEE 10.1.3.3.3 Release Notes Documentation...
    This issue applies to Versions 10.1.3.3, 10.1.3.3.1, 10.1.3.3.2, and 10.1.3.3.3.
    Reports that use the BI Publisher data template as the data model may fail with the
    following error: "Data not defined."
    This error will occur if you defined a parameter in your data template but you do not
    pass a value to it via the user interface. If you do not specify this parameter in the "Parameters" section of the report definition that you created using the BI Publisher Edit Report interface, then you will receive the error.
    To work around this issue, either define the parameter in the Edit Report interface or remove the parameter from the data template.
    That bit is now working.
    Having set this up and using your guide it works if my SOAP parameters declaration passes a single value like this...
    <parameterNameValues>
    <item>
    <name>P_INVOICE_ID</name>
    <multiValuesAllowed>true</multiValuesAllowed>
    <values>
    <item>16641</item>
    </values>
    </item>
    </parameterNameValues>
    But if I try and pass two or more like this...
    <parameterNameValues>
    <item>
    <name>P_INVOICE_ID</name>
    <multiValuesAllowed>true</multiValuesAllowed>
    <values>
    <item>16641,18421</item>
    </values>
    </item>
    </parameterNameValues>
    BIP states "java.sql.SQLException: ORA-01722: invalid number"
    My SQL where clause is..
    <sqlStatement name="Q1">
    <![CDATA[select * from vw_invoice_summary
                   where invoice_summary_id IN (:P_INVOICE_ID)]]>
    </sqlStatement>
    And the BIP error records the parameter value as P_INVOICE_ID 16641,18421 (which are legit invoice IDs)
    In summary, works if I pass one invoice ID, fails if I pass two or more.
    Any ideas? Or do you reckon this is now a post for the BIP forum?
    Kind regards.
    Simon

  • How to pass multiple records to target side using xquery

    Hi Everybody,
    I am using xquery transformation.
    Input: Source payload contains 5 variables.
    Target payload contains 5 variables.
    I have input with payload with multiple instance like:
    <Input>
    <payload1>
    <a>1<a>
    <b>2<b>
    <c>3<c>
    <d>4<d>
    <e>5<e>
    </payload1>
    <payload1>
    <a>6<a>
    <b>7<b>
    <c>8<c>
    <d>9<d>
    <e>10<e>
    </payload1>
    </Input>
    So my requirement is to pass above records into target side,
    So I am using xquery Transformation.
    I have written code as follows.
    (:: pragma bea:global-element-parameter parameter="$tHRecAdv1" element="ns0:THRecAdv" location="../XMLSchemas/THRecAdv.xsd" ::)
    (:: pragma bea:global-element-return element="ns1:ShipmentReceiptEBO" location="../../AIAReferenceModelProject/EnterpriseObjectLibrary/Core/EBO/ShipmentReceipt/V1/ShipmentReceiptEBO.xsd" ::)
    declare namespace ns2 = "http://xmlns.oracle.com/EnterpriseObjects/Core/Custom/EBO/ShipmentReceipt/V1";
    declare namespace ns1 = "http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/ShipmentReceipt/V1";
    declare namespace ns4 = "http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2";
    declare namespace ns3 = "http://xmlns.oracle.com/EnterpriseObjects/Core/Custom/Common/V2";
    declare namespace ns0 = "http://diversey.com/THRecAdv";
    declare namespace xf = "http://tempuri.org/ShipmentReceiptServicesProject/XMLTransformations/THRecAdvFile_ShipmentReceiptEBO_JDE_XQuery/";
    declare function xf:THRecAdvFile_ShipmentReceiptEBO_JDE_XQuery($tHRecAdv1 as element(ns0:THRecAdv))
    as element(ns1:ShipmentReceiptEBO) {
    for $THRecAdvFields  in $tHRecAdv1/ns0:THRecAdvFields
    return
    <ns1:ShipmentReceiptEBO>
    <ns4:Identification>
    <ns4:BusinessComponentID>{ data($THRecAdvFields/ns0:JD_WHSE_Code) }</ns4:BusinessComponentID>
    <ns4:ID schemeID = "{ (data($THRecAdvFields/ns0:JD_PO_Number)) }"
    schemeVersionID = "{ data($THRecAdvFields/ns0:JD_PO_Type) }">{ data($THRecAdvFields/ns0:WMS_InternalPONumber) }</ns4:ID>
    <ns4:ApplicationObjectKey>
    <ns4:ID>{ data($THRecAdvFields/ns0:JD_BranchPlant) }</ns4:ID>
    </ns4:ApplicationObjectKey>
    <ns4:Revision>
    <ns4:Reason>{ data($THRecAdvFields/ns0:ReturnReceiptReasonCode) }</ns4:Reason>
    </ns4:Revision>
    </ns4:Identification>
    <ns1:ExpectedReceiptDate>{ data($THRecAdvFields/ns0:WMS_ReceiptDate) }</ns1:ExpectedReceiptDate>
    <ns4:InvoiceReference>
    <ns4:InvoiceIdentification>
    <ns4:ID>{ data($THRecAdvFields/ns0:JDE_SupplierInvoiceNumber) }</ns4:ID>
    </ns4:InvoiceIdentification>
    </ns4:InvoiceReference>
    <ns1:ShipmentReceiptLine actionCode = "{ data($THRecAdvFields/ns0:ActionFlag) }">
    <ns4:Identification>
    <ns4:ID schemeID = "{ data($THRecAdvFields/ns0:JD_PO_LineNumber) }"
    schemeVersionID = "{ data($THRecAdvFields/ns0:ExternPONumber) }">{ data($THRecAdvFields/ns0:WMS_ReceiptNumber) }</ns4:ID>
    <ns4:ContextID>{ data($THRecAdvFields/ns0:WMSReceivingClerk) }</ns4:ContextID>
    <ns4:ApplicationObjectKey>
    <ns4:ID schemeID = "{ data($THRecAdvFields/ns0:BatchNumber) }"
    schemeVersionID = "{ data($THRecAdvFields/ns0:BatchLineNumber) }">{ data($THRecAdvFields/ns0:JD_LocationCode) }</ns4:ID>
    </ns4:ApplicationObjectKey>
    <ns4:AlternateObjectKey>
    <ns4:ID>{ data($THRecAdvFields/ns0:SupplierCode) }</ns4:ID>
    <ns4:ContextID>{ data($THRecAdvFields/ns0:LineNumber_Or_SequenceNumber) }</ns4:ContextID>
    </ns4:AlternateObjectKey>
    <ns4:Revision>
    <ns4:Label>{ data($THRecAdvFields/ns0:Records) }</ns4:Label>
    </ns4:Revision>
    </ns4:Identification>
    <ns1:ReceivedQuantity unitCode = "{ data($THRecAdvFields/ns0:ReceiptUOM) }">{ data($THRecAdvFields/ns0:UnitReceipt) }</ns1:ReceivedQuantity>
    <ns1:SourceDocumentTypeCode>{ data($THRecAdvFields/ns0:SKU_Code) }</ns1:SourceDocumentTypeCode>
    <ns1:DestinationTypeCode>{ data($THRecAdvFields/ns0:DestinationProcessFlag) }</ns1:DestinationTypeCode>
    <ns1:Comment>{ data($THRecAdvFields/ns0:Remarks) }</ns1:Comment>
    <ns4:Status>
    <ns4:Code>{ data($THRecAdvFields/ns0:ProcessSourceFlag) }</ns4:Code>
    <ns4:EffectiveDateTime>{ data($THRecAdvFields/ns0:ADDDATE) }</ns4:EffectiveDateTime>
    </ns4:Status>
    <ns1:ShipmentReceiptTransaction>
    <ns1:ShipmentReceiptTransactionLot>
    <ns1:ShipmentReceiptItemLotReference>
    <ns1:ExpirationDate>{ data($THRecAdvFields/ns0:ExpiryDate) }</ns1:ExpirationDate>
    <ns1:CreationDateTime>{ data($THRecAdvFields/ns0:ProductionDate) }</ns1:CreationDateTime>
    </ns1:ShipmentReceiptItemLotReference>
    </ns1:ShipmentReceiptTransactionLot>
    </ns1:ShipmentReceiptTransaction>
    </ns1:ShipmentReceiptLine>
    </ns1:ShipmentReceiptEBO>
    declare variable $tHRecAdv1 as element(ns0:THRecAdv) external;
    xf:THRecAdvFile_ShipmentReceiptEBO_JDE_XQuery($tHRecAdv1)
    But while importing this code to OSB,and tested it ,
    With 1 payload it successfully shows the data in Target side,
    But while testing with multiple line items,i am getting an error as follows.
    *Error executing the XQuery transformation: line 14, column 17: {err}FORG0005: expected exactly one item, got 2+ items*
    So please provide me the steps how to pass multiple records to target side using xquery.
    Regards,
    Jyoti Nayak

    Hi Jyoti Nayak,
    You have to do something like the example bellow, you can not just repeat the inner element, you will need an outer "container" tag. So you will have to change the target element of your xq transformation.
    declare function xf:setToList($set1 as element(ns0:set))
    as element(ns0:list) {
    <ns0:list>
    for $pair in $set1/ns0:pair
    return
    <ns0:entry>
    <ns0:key>{ data($pair/ns0:key) }</ns0:key>
    <ns0:value>{ data($pair/ns0:value) }</ns0:value>
    </ns0:entry>
    </ns0:list>
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points

  • How can i pass multiple values by a single variable to EXECUTE IMMEDIATE

    Hi All,
    I want to pass multiple values for where condition for execute immediate. Something Like this:-
    bold
    Declare
    v_cond varchar(1000);
    Begin
    v_cond := '''INR','USD'''; --(OPTION 1)
    v_cond := 'INR,USD'; --(OPTION 2)
    EXECUTE IMMEDIATE 'Delete from table where colm in (:v_cond)' using v_cond;
    END;
    bold
    I am using this into a procedure
    Now option 1 gives an error ie a syntax error (; expected or something like that)(I am sorry, i can't tell the exact error here as i am not in the office right now)
    and option 2 makes the procedure execute but obviously doesn't delete the records, as it takes the whole as one.
    Please Help
    Regards
    Neeraj Bansal

    See the links containing examples under
    *7. List of values in an IN clause?*
    SQL and PL/SQL FAQ
    from the SQL and PL/SQL FAQ.

  • LoadVars-using send to pass a variable from flash to php

    For the life of me, I've tried everything:
    I've researched LoadVars on Adobe forum, used David Powers'
    books, googled 'flash to php', LoadVars, etc. and tried
    sendAndLoad, send, and using $_POST, $_GET, $_REQUEST.
    $HTTP_POSTVARS but I keep getting this same error. any advice
    please?
    I have a Unix server running Apache/PHP 4 - LoadVars worked
    to load name-value pairs into an array -see thread)
    My goal with this simple app is to prototype being able to
    pass a variable from flash to a variable in php.
    Parse error: syntax error, unexpected T_VARIABLE in
    flash_to_SQL.php on line 5
    Actionscript 2.0 code:
    var c :LoadVars = new LoadVars();
    c.testing = "123FOUR";
    c.send ("
    http://127.0.0.1/flash_to_SQL.php","_self","POST");
    php code: (I also tried $_POST, $_GET, $_REQUEST.
    $HTTP_POSTVARS)
    <?php
    //mysql 4.1.2, php 4 , NO mysqli
    ecbo $_REQUEST ['testing'];
    /?>

    var formData:LoadVars = new LoadVars();
    formData.fname = "Name";
    formData.send("
    http://www.website.com/flash_php.php",
    formData, "POST");
    <?php
    $name = $_POST['fname'];
    echo $name;
    ?>

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • Passing two variables in the body of the URL using the go to detail page SB in ASP

    Hi all,
    Would appreciate your assistance with the following, I'm
    trying to set up a go to detail page sb that passes two variable in
    the body of the URL rather than the standard one.
    The code i've tried is -
    <td><A HREF="gggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>&amp;"PCL1ID=" +
    othermenutwo.Fields.Item("PCL2PC1ID").Value
    %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
    Where the PCL1ID and the PCL2ID are the variables
    The normal code generated by the go to detail page sb with
    one variable is -
    <td><a href="ggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
    Unfortunatley my code tweaking isn't working as the second
    variable isn't being sent, any help would be gratefully appreciated
    Thanks

    Instead of using DW's 'go to detail page' option, simply set
    up the link the manual way in DW using the Link browser. Select the
    file you want to link to and then use the parameters button at the
    bottom of the 'Select File' dialogue to set the parameters to be
    passed with the link. You can then manually set the name of the
    parameter to be passed and then select its value from a recordset.
    The key thing is that you can set as many parameters as you like,
    so you can set both the parameters you want.
    On the detail page you then filter by the parameter name you
    chose (or both).
    Personally I always code links this way rather than using the
    go to detail page option as you get much better control of what is
    going on.

  • How to pass many variables to servlet using a URL? Ajax related.

    I have 100 text boxes in my JSP and want to pass the values stored in these text boxes to a servlet with out the need for submitting the entire page using AJAX frame work.
    I know how to peform the above in ajax if I have only 1 textbox. But how can I do that with 100 text boxes. I don't want to build a huge URL with 100 parameters.
    I am thinking may be create an array and send it to the servlet, but don't have an idea if we can do it.
    Please help me .

    You can make a POST request using an XMLHttpRequest, but you won't be "passing many variables using a URL", which seems to be one of your requirements, and which makes your question confounding(after all how do you pass many variables using a URL without putting many variables in the URL):
    req.open("POST", url, true)
    req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');     
    req.send("first=Eric&last=Kaiser");

Maybe you are looking for

  • Cannot modify or add contacts

    After installing ios4.3.3, cannot modify any contact for ical or mail services ! Is there a special tip ?

  • How to call apple uae

    Hi i need to know how can i call UAE apple store when im Abroad ( out side uae ) the number is 8000 444 0396 i tried +971 8000 444 0396 and +971 48000 444 0396 both are not working

  • Clarification in charm for daily transports

    Dear Charm Experts, We have configured charm in our test system and have few calrifications. Please help. Objective: to use charm for transport management of regular corrections for support and maintenance of system (no implementation or upgrade) So

  • JCA Message Inflow Integration With JMS Queue

    Hi, I want to integrate JCA message inflows with JMS Queue. I know JCA Message Inflow destination can be Message Driven Bean. But is it possible to specify a JMS queue as destination of JCA Message Inflow. i.e. JCA -> MDB -> JMS Queue OR JCA -> JMS Q

  • How to cutomizing layout of E-Business Suite AccessGate Login page?

    Hi All, Whats the process to customize "E-Business Suite AccessGate Login page" look and feel/ layout of the page? Any pointers to this is greatly appreciated. thanks.