XML phone objects and XML entities

Version 1
    This document was generated from CDN thread

    Created by: Ngoc Thong Chung on 20-04-2011 03:28:41 PM
    I am trying to pass URL with multiple parameters in the CiscoIPPhoneMenu, but with the & characeter, eventescaped with &, the menu does not display and no error seem to be returned.

    Subject: RE: New Message from Ngoc Thong Chung in IP Phone Services (IPPS) - IP Phon
    Replied by: James McHugh on 20-04-2011 04:10:37 PM
    Can you post the XML that you are passing?



    ________________________________

    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Wednesday, April 20, 2011 3:29 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Ngoc Thong Chung in IP Phone Services (IPPS) - IP
    Phone Services Questions: XML phone objects and XML entities



    Ngoc Thong Chung has created a new message in the forum "IP Phone Services
    Questions":

    --------------------------------------------------------------
    I am trying to pass URL with multiple parameters in the CiscoIPPhoneMenu, but
    with the & characeter, eventescaped with &, the menu does not display and no
    error seem to be returned.
    --
    To respond to this post, please click the following link:

    <http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/375689
    9>

    or simply reply to this email.



    The information in this e-mail is intended only for the person to whom it is
    addressed. If you believe this e-mail was sent to you in error and the e-mail
    contains patient information, please contact the Partners Compliance HelpLine at
    http://www.partners.org/complianceline . If the e-mail was sent to you in error
    but does not contain patient information, please contact the sender and properly
    dispose of the e-mail.

    Subject: RE: XML phone objects and XML entities
    Replied by: Richard Siebels on 20-04-2011 04:43:50 PM
    You should use the QueryStringParam tag for each menu item. This will add it to the URL that you process. Here is an example of a menu and how the data gets passed.

    <CiscoIPPhoneMenu>
            <Title>Time Clock - History</Title>
            <Prompt>Select a View</Prompt>
            <MenuItem>
                <Name>Today</Name>
                <URL>QueryStringParam:period=today</URL>
            </MenuItem>
            <MenuItem>
                <Name>This Week</Name>
                <URL>QueryStringParam:period=week</URL>
            </MenuItem>
            <MenuItem>
                <Name>This Month</Name>
                <URL>QueryStringParam:period=month</URL>
            </MenuItem>
            <MenuItem>
                <Name>Select Range</Name>
                <URL>QueryStringParam:period=range</URL>
            </MenuItem>
            <SoftKeyItem>
                <Name>Submit</Name>
                <URL>#webPath#/history.cfm</URL>
                <Position>1</Position>
            </SoftKeyItem>
            <SoftKeyItem>
                <Name>Cancel</Name>
                <URL>#webPath#/welcome.cfm</URL>
                <Position>3</Position>
            </SoftKeyItem>
            <SoftKeyItem>
                <Name>Help</Name>
                <URL>#webPath#/help.cfm?page=historyMenu</URL>
                <Position>4</Position>
            </SoftKeyItem>
        </CiscoIPPhoneMenu>