DataCompositionAvailableSettingsSource.Based on URL

Syntax:

New DataCompositionAvailableSettingsSource(<URL>, <FunctionalOptionParameters>)

Parameters:

<URL> (required)

Type: String.
A URL where the data composition schema can be obtained.
It can be a table record field URL or a temporary storage URL.

<FunctionalOptionParameters> (optional)

Type: Structure.
Contains functional option parameters used for generating available fields.
Default value: Undefined.

Description:

Creates a source that obtains the data composition schema by the passed URL.

Example:

Example 1:
// Create an URL for the DataCompositionSchema field for the CatalogObject.Ref reference
SchemeURL = GetURL(CatalogObject.Ref, "DataCompositionSchema");
// Create a source
AvailableSettingsSource = New DataCompositionAvailableSettingsSource(SchemeURL);

Example 2:
// Put the schema into the temporary storage
SchemeURL = PutToTempStorage(ValueStorage);
// Create a source
AvailableSettingsSource = New DataCompositionAvailableSettingsSource(SchemeURL);


    

1C:Enterprise Developer's Community