metafresh logo and link to homepage

How do I add fields to the section lines of a subtab?

Requirements

Steps

Add field

  1. Open “Custom data entry - field” from the menu.
  2. Create a new entry.
  3. Give the field a Name.

    Note: The field name will be displayed in the appropriate place in the section line.

  4. In the field Line, enter a part of the (system internal) name of the section containing the line where you want the field to appear and click on the matching result in the drop-down list.

    Note 1: The line sequence number is found at the end of the result.

    Note 2: In case of multiple fields for the same section line you can specify their order via the field SeqNo.

  5. Pick a Datentyp (Data type), e.g., Date, List, Long text, Number, Text or Yes-No.

    Note: When choosing the data type List you also have to add list items that can be suggested and selected in the list later on (see below).

  6. Optional: Enter a Description into the text box provided.

    Note: This description will be shown in a tooltip.

  7. Optional: Tick the checkbox Pflichtangabe (Mandatory) if you want the field to be mandatory.
  8. Uncheck the box Available in API if you do not want this field to be available to external applications via metasfresh API.
  9. Pick a Data protection category, e.g., Not personal, Personal or Sensitive personal.

Add list items (data type: List)

  1. Go to the record tab “Entry field value” at the bottom of the page and click . An overlay window opens up.
  2. Give the list item a Name.
  3. Optional: Enter a Description into the text box provided.

    Note: This description will be shown in a tooltip.

  4. Click “Done” to close the overlay window and add the list item to the list.

    Note 1: Repeat steps 1 to 4 to add further list items.

    Note 2: In case of multiple list items you can specify their order via the field SeqNo.

Next Step (optional)

Overview of the fields

Data Type Example
Date Data type: Date
List Data type: List
Long text Data type: Long text
Number Data type: Number
Text Data type: Text
Yes-No Data type: Yes-No

Zur Quelldatei auf github.com