DeleteItem method: DynamicCategory collection

Syntax

DeleteItem(Name)

Description

The DeleteItem method deletes the PageletCategory object identified by Name from the DynamicCategory Collection. This does not delete the PageletCategory from the database, just from the DynamicCategory collection.

This method is not executed automatically. It is executed only when the parent object is saved.

Note:

If you delete a DynamicCategory, tabs with the attribute PORTAL_HPTAB_DYN lists must be searched for and updated (if necessary) to reflect the deleted category.

Parameters

Parameter Description

Name

Specify the name of an existing category in the DynamicCategory collection.

Returns

A Boolean value: True if the PageletCategory was deleted from the DynamicCategory collection, False otherwise.

Example

If Not &MyColl.DeleteItem("Dictionaries") Then 
   /* do error processing */
End-If;