ManagedForm.ValueToFormAttribute

Syntax:

ValueToFormAttribute(<Value>, <AttributeName>)

Parameters:

<Value> (required)

Type: Arbitrary.
Application type value that should be converted to a form attribute and for which the conversion into a form data defined.

<AttributeName> (required)

Type: String.
Name of the form attribute where the converted value should be placed.

Description:

Converts an application-type object into an attribute of a managed form (form data) with a specified name.
If the attribute is the main attribute of an object form or information register record, the Key form parameter and the automatically generated form title are refreshed. If the old object key differs from the new object key and the old object was locked by the form, the lock of the old object is released. This does not refresh the modification flag.

Availability:

Server, Mobile application (server).

    

1C:Enterprise Developer's Community