How to send QueryStringParam with SoftKey:Submit

Version 1
    This document was generated from CDN thread

    Created by: sujit pillai on 22-07-2010 08:02:41 AM
    Hi,
     
    <CiscoIPPhoneInput>
     
    <Title>Test</Title>
    <Prompt></Prompt>
    <URL>http://<%=HomeDir%>/addres.asp</URL>
    <InputItem>
      <DisplayName>Name</DisplayName>
      <QueryStringParam>txtuser</QueryStringParam>
      <DefaultValue></DefaultValue>
      <InputFlags>A</InputFlags>
    </InputItem>
    <InputItem>
      <DisplayName>Phone</DisplayName>
      <QueryStringParam>txtphone</QueryStringParam>
      <DefaultValue></DefaultValue>
      <InputFlags>N</InputFlags>
    </InputItem>
    <SoftKeyItem>
      <Name>Back</Name>
      <URL>http://<%=HomeDir%>/menu.asp</URL>
      <Position>1</Position>
    </SoftKeyItem>
    <SoftKeyItem>
      <Name>Add</Name>
      <URL>SoftKey:Submit</URL>
      <Position>2</Position>
    </SoftKeyItem>
    <SoftKeyItem>
      <Name>Search</Name>
      <URL>SoftKey:Submit</URL>
      <URL>QueryStringParam:search=1</URL>
      <Position>3</Position>
    </SoftKeyItem>
    </CiscoIPPhoneInput>




    when i press Add key i get querystringparameter txtuser and txtphone on addres.asp page but it is not work with
    Search key.


    How to pass the QueryStringParam search=1 along with the InputItem txtuser and txtphone to the addres.asp page when Search key is press?


    thanks in advance.
     
     

    Subject: RE: How to send QueryStringParam with SoftKey:Submit
    Replied by: Imran Mamdani on 12-08-2010 03:48:39 PM
    I dont think you can pass parameters using softkeys - it has to be a querystringparam. Thats what i think.
     
    Hi,
     
    <CiscoIPPhoneInput>
     
    <Title>Test</Title>
    <Prompt></Prompt>
    <URL>http://<%=HomeDir%>/addres.asp</URL>
    <InputItem>
    <DisplayName>Name</DisplayName>
    <QueryStringParam>txtuser</QueryStringParam>
    <DefaultValue></DefaultValue>
    <InputFlags>A</InputFlags>
    </InputItem>
    <InputItem>
    <DisplayName>Phone</DisplayName>
    <QueryStringParam>txtphone</QueryStringParam>
    <DefaultValue></DefaultValue>
    <InputFlags>N</InputFlags>
    </InputItem>
    <SoftKeyItem>
    <Name>Back</Name>
    <URL>http://<%=HomeDir%>/menu.asp</URL>
    <Position>1</Position>
    </SoftKeyItem>
    <SoftKeyItem>
    <Name>Add</Name>
    <URL>SoftKey:Submit</URL>
    <Position>2</Position>
    </SoftKeyItem>
    <SoftKeyItem>
    <Name>Search</Name>
    <URL>SoftKey:Submit</URL>
    <URL>QueryStringParam:search=1</URL>
    <Position>3</Position>
    </SoftKeyItem>
    </CiscoIPPhoneInput>




    when i press Add key i get querystringparameter txtuser and txtphone on addres.asp page but it is not work with
    Search key.


    How to pass the QueryStringParam search=1 along with the InputItem txtuser and txtphone to the addres.asp page when Search key is press?


    thanks in advance.
     
     


    Subject: RE: How to send QueryStringParam with SoftKey:Submit
    Replied by: Cindy Brozyno on 01-02-2012 07:13:55 AM
    Not sure if this string is still relevant; however, in order to add that to the items passed, you should add it to the end of the url - ie.  /address.asp?search=1  The other input items will attach themselves automatically to the end.

    Subject: RE: How to send QueryStringParam with SoftKey:Submit
    Replied by: Cindy Brozyno on 02-02-2012 07:15:48 AM
    When using a softkey, instead of <URL>Softkey:Submit</URL>, do something like this - <URL>http://xxx/xxx.asp?search=1 </URL> (the url of the next page). Then the actual input parameters will attach themselves automatically.  I have done this successfully in my service. 
    Cindy