InsertItem method: DynamicCategory collection
Syntax
InsertItem(Name)
Description
The InsertItem method inserts the PageletCategory object identified by Name into the DynamicCategory Collection. This does not insert the PageletCategory into the database, just into the DynamicCategory collection. After a PageletCategory is marked as dynamic, it is immediately available to the end-user.
This method is not executed automatically. It is executed only when the parent object is saved.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specify the name of the DynamicCategory to insert. |
Returns
A string containing the name of the new DynamicCategory object if the method executed successfully, Null otherwise.
Example
&MyCat = &MyColl.InsertItem("User_Info");