Show TOC

enableItem MethodLocate this document in the navigation structure

Use

enableItem( collectionID, itemID, enabled)

Enables or disables the specified collection item. Relevant only for the menu-type collections.

Parameter

Description

collectionID

ID of the collection

itemID

ID of the item

enabled

Boolean value indicating whether to enable or disable the item

Return Value

A Boolean indicating whether the operation succeeded