InsertItem method: UserTab collection
Syntax
InsertItem(UserTabName)
Description
The InsertItem method inserts the UserTab object identified by UserTabName into the UserTab Collection.
This method is not executed automatically. It is executed only when the parent object is saved.
The new user tab must be unique within the portal.
Parameters
| Parameter | Description |
|---|---|
|
UserTabName |
Specify the name of a new UserTab. This parameter takes a string value. If you specify a name that already exists in the collection, you get an error. |
Returns
A reference to the new UserTab object if the method executed successfully, NULL otherwise.