beautypg.com

Xml considerations – Cisco OL-20949-01 User Manual

Page 38

background image

3-20

Cisco Unified IP Phone Services Application Development Notes

OL-20949-01

Chapter 3 CiscoIPPhone XML Objects

XML Considerations

Note

The tag can only contain Internal URIs—it cannot contain an HTTP URL. The “URL” in
the name “URLDown” does not signify that an HTTP URL can be used.

Definition

Displayed sofkey label

URL or URI action for softkey RELEASE event

URL or URI action for softkey PRESS event

position of softkey

Example

In this example, a

CiscoIPPhoneText

object has a single custom softkey defined:

This object has one softkey named "Custom"

Custom

http://someserver/somepage

4

If any custom softkeys are defined in the XML object, then all default softkeys are removed from that
object. To retain default softkey behavior, then you must explicitly define it in the XML object using a

tag. The internal Softkey URIs can be used in the

tag of

to invoke

default softkey actions from custom softkeys. See

Chapter 5, “Internal URI Features”

for more

information on invoking internal softkey features.

Note

If there are no custom softkeys and there is no default softkey placed in position 1, either a Next or
Update softkey is assigned automatically. If the URL is a Refresh URL, the softkey will be “Next.” If
not, the Update softkey is assigned.

Example

The following softkey definitions would provide the custom softkey, without losing the default “Select”
behavior:

Select

SoftKey:Select

1

Custom

http://someserver/somepage

4

XML Considerations

The XML parser in Cisco Unified IP Phones does not function as a fully capable XML parser. Do not
include any tags other than those defined in your XML display definitions.