Detailed forms

Installing a display template

To display a detailed form, there are several templates that differ in a set of properties, buttons and a general principle of operation.

  1. Go to [Selected entity] > button alt [More] > button alt [Setup…].

  2. In the detailed form, click the button alt [Edit] to switch to edit mode.

  3. Enter in the field “Additional parameters” :

           {
             "detailView":"a"
           }
    

    Instead of “a”, enter the value of the display template. The values in this field can be:

    • “detail” (used by default);
    • “element”;
    • “dmsdetail”.

    Description of templates in Field values “View template”.

  4. Click the button alt [Save] to save the changes or the button alt [Cancel] to exit edit mode without saving.

Setting up a field for storing files

  1. Go to [Selected entity] > button alt [More] > button alt [Setup…].

  2. In the detailed form, click the button alt [Edit] to switch to edit mode.

  3. Enter in the field “Additional parameters” :

           {
             "store_mode":"a"
           }
    

    Instead of * “a”*, enter the value of the storage parameter. The values in this field can be:

    • “byte_array” - for a field in the database of the “bytea” type. This type is used by the database and can store only one file (image) without a name. When uploading a new file, the old one is replaced.

    • “single_file” - for a field of type “meta. file”. This type duplicates the standard type in the database and stores only one object, but it can store the names of files and images with a preview of objects in the form of mini-images.

    • “default” - for a field of the type " meta. file[]". This type can store an unlimited number of objects with a preview and names. Used by the program by default.

  4. Click the button alt [Save] to save the changes or the button alt [Cancel] to exit edit mode without saving.