Previous in Contents Next in Contents

ItemScript Property

The ItemScript property holds the value used to build an optional ITEMSCRIPT CDF element. When the CDF string for an object that has an ItemScript property is constructed, the property is checked. If it is not null, the <ITEMSCRIPT> element is added to the string, with the value of the property as the contents.

Type

String (VT_BSTR)

Default

Null

Remarks

This element is used by the Mobile Channel channel distribution system to identify an ITEM element that contains an HREF to a Mobile Channel script used to present an ITEM element's associated content. The value of the element should specify an ID attribute value for an ITEM element contained within the CHANNEL CDF element. If the ITEMSCRIPT element is added as a child element within a CHANNEL element, all ITEM elements "inherit" the value of the ITEMSCRIPT element.

A complete discussion of this element and its associated functionality is beyond the scope of this documentation. For additional information about XML elements used by the Mobile Channel channel distribution system, see the product documentation and SDK.

Example

VBScript

Set IDispChannel = CreateObject("Push.Channel")
Set IDispItem = IDispChannel.AddItem()
IDispItem.ItemFormat = ";TITLE,PICTURE=IMG,BODY"

© 1997-2000 Microsoft Corporation. All rights reserved.