UserMessage.SetData

Syntax:

SetData(<Object>)

Parameters:

<Object> (required)

Type: Arbitrary.
Object with which the message should be associated.

Description:

Sets the DataPath property and the DataKey property based upon the given object.
To set up the DataPath property, the object to form attribute mapping set up automatically or by the SetObjectAndFormConformity method is used.
To set up the DataKey property, an object reference or a recorder value for recordsets is used.

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (client), Mobile application (server).

    

1C:Enterprise Developer's Community