Main > Knowledge Base > Knowledge Base > Knowledge base > Practical developer guide 8.3 > Lesson 15 (2:50). Charts of characteristic types > Modifying configuration objects > The MaterialPropertyValues information register > In Designer mode > Practical developer guide 8.3 > Lesson 15 (2:50). Charts of characteristic types > Modifying configuration objects > The MaterialPropertyValues information register > In Designer mode

In Designer mode

Let us rename the Property type column to Property.

  1. In Designer, open the editor of the MaterialPropertyValues information register configuration object.
  2. On the Data tab, open the property palette for the PropertyType dimension and set its Synonym to Property (fig. 15.24).


    Fig. 15.24. Specifying register dimension synonym

    Since the register has the PropertySet master dimension with the CatalogRef.MaterialOptions type, the Property set field is not needed because the owner of this property set is displayed in the form title.

    Therefore, in the OnCreateAtServer event handler of the register list form, let us hide the Property set column for scenarios when the form is opened with a filter by this field applied (in other words, when the register list form is opened from the item form of the MaterialOptions catalog).
  3. On the Forms tab, in the List field, click the Open  button and then click Finish.
    This creates the default list form.
  4. Create the OnCreateAtServer event handler and add the script shown in listing 15.2 to the handler.

    Listing 15.2. OnCreateAtServer() form event handler

    If Parameters.Filter.Property("PropertySet") Then
        Items.PropertySet.Visible = False;
    EndIf;
    This script is similar to that provided in listing 15.1, so it does not require any further comments.
Next page: In 1C:Enterprise mode



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.