SampleCustomizer on Table

Hello!

In the 'Desiner' in the 'Schema Editor' on the table in the 'Customizer' tab, you can assign your own classes (dll).
I found an example of SampleCustomizer.cs that tells how to implement 'Customizer'.
My question is: How to correctly register my 'Customizer' in the OneIM?

Parents Reply Children
  • The last question, do you change the flag on-the-fly or is the use-case that when you edit an existing person having the flag set, the two columns should be mandatory?

  • The last question, do you change the flag on-the-fly or is the use-case that when you edit an existing person having the flag set, the two columns should be mandatory?

    By default the flag is unset and the columns are not mandatory. But if someone sets this flag, the columns should be mandatory.

  • Okay, so a customizer is needed for this use-case.

    To register a customizer in the database

    1. Create an entry for the CRL type.
      • In the Designer, select Base data I Advanced I CLR types.
      • Select Object I New.
      • Enter the following data:

    Table: Master data of a CLR type

    Property

    Description

    Example

    Assembly name

    Name of the assembly

    CCC.Customizer

    Interface

    Name of the interface.

    IEntityLogic

    Full name

    Full class name of the Entity Logic.

    CCC.Customizer.CustomPerson

                               

    1. Create an entry for the customizer.
      • Select the Base data I Advanced I Customizer category in the Designer.
      • Select Object I New.
      • Enter the following data:

    Table: Master data of a customizer

    Property

    Description

    CLR Type

    Name of the CLR Type.

    Description

    Text-field for additional explanation.

    Preprocessor condition

    Term for the preprocessor as logical term using the configuration parameter preprocessor terms and the operators AND, OR, and NOT as well as brackets().

    Sort order

    The execution order if several customizers provide different processing logics for a property.

    1. In the Designer assign the customizer to the table definitions for which you want it to be valid.
    2. Save you changes

    IMPORTANT: From this point on, the new object functions are enabled and all users need the new assembly to work with database objects.