FormAllItems.Insert

Syntax:

Insert(<Name>, <ElementType>, <Parent>, <Item>)

Parameters:

<Name> (required)

Type: String.
Unique name of the item to be added.

<ElementType> (required)

Type: Type.
Type of the item to be added.

<Parent> (optional)

Type: FormGroup; FormTable; ManagedForm.
Parent for the item to be added.
If it is not specified, the item is inserted to the top level.

<Item> (optional)

Type: FormDecoration; FormGroup; FormButton; FormTable; FormField.
Item before which the new item should be inserted. If it is not specified, the item is inserted at the end.

Returned value:

Type: FormDecoration; FormGroup; FormButton; FormTable; FormField.

Description:

Inserts an item in the collection.

Availability:

Server, Mobile application (server).

    

1C:Enterprise Developer's Community