DataCompositionSettingsComposer.Refresh

Syntax:

Refresh(<Method>)

Parameters:

<Method> (optional)

Type: DataCompositionSettingsRefreshMethod.
Specifies the method of restoring settings.
Default value: Full.

Description:

Restores settings' functionability. If the source of available settings was changed, part of the fields used in settings can lose relationships with available fields. Using such settings in the data composition schema causes errors.
Calling the method with the <Method> parameter set to Full:
  • removes the use flag for all settings that have lost relationships with available fields;
  • if when using the method the use flag of the formatted conditional appearance field is not set and there are no formatted fields of this conditional appearance item with the use property specified, the use flag of the conditional appearance item itself is also removed;
  • if when using the method the use flag of the filter item belonging to a group is removed and there are no group items with the use flag set, the flag is removed for the whole group.
In such a way, the functionability of settings is restored.
Calling the method with the <Method> parameter set to CheckAvailability:
  • removes all items containing fields that are unavailable for the current functional options and rights from the settings.

Availability:

Thin client, web-client, server, thick client, external connection.

    

1C:Enterprise Developer's Community