Support > Repository > Repetition > Repeat container
ja | en

Repetitive containers handle data in "detail" format. Multiple items can be grouped and added or deleted.

Figure 1 shows an example of a screen that prepares a repeating container "Breakdown".

add to

Repeat containers can be added in groups (rows).When you click "Add" button, it will be added under the current line.(FIGS. 1 and 2)

Fig. 1 Press the add button of the repeat container
Figure 2 row added

Insert

You can insert a line by pressing the "insert" button.(FIGS. 3 and 4)

Fig. 3 Pressing the Insert button of the repeating container
Figure 4 Row inserted

Delete

You can delete a line by pressing "Delete" button.(FIG. 5, FIG. 6)

Figure 5 Delete button of repeated container pressed
Figure 6 Row deleted
A single model can contain multiple "repeating containers".(There is no upper limit.)

First of all, we prepare repetitive container type items.It becomes "breakdown" in Fig.

Subsequently, items included in the repeating containerContinuouslyDefine it.The item ID is as follows.

"Item ID of container" + "/" + "own item ID"

Incidentally, for repeated container type itemsDirectly belowBe sure to prepare "repeating container ID".In Figure 7, "No" is equivalent to this.

Figure 7 Defining a repeating container
  • The item ID to the right of the container name isDo not duplicate other item namesplease.For example, if an item "mdate" is already defined in the model, you can not prepare the item "report/mdate" in the container.
  • In relation to the above, you can not set the same name after the container name is different.For example, "report 1/mdate" and "report 2/mdate" are regarded as duplicates of "mdate".
  • You can not specify a container again in an item in a container.Specifically, it does not correspond to repetition repetition such as "report 1/report 2/name".
  • Likewise, elements in a container can not be repeated.Specifically, if "report/email" is prepared, this "email" can not be repeated items.
  • Container items can not be defined apart.(It is not possible to define it with a normal item in between.Be sure to define the items continuously.

If there are many columns, depending on your browser, up to 4 columns may be displayed and the 5th and subsequent column displays may be collapsed. Adjust the appearance by specifying the width of each column.

This method is "layout>Repetitive Container - Adjust Column WidthPlease read.

The "repeating container ID" item is absolutely necessary.Also, this item can not be hidden.The "Add" and "Delete" buttons are displayed on the registration/update screen.

You can hide Container ID values ​​"1", "2", ....Detail is"Hide the container IDPlease read.

Specifications/Constraints

"Repeat container ID" must be saved in the database.If you do not save the database, it will not work properly.

Repeat containers are divided into separate tables.(It will be 1: N relationship.Therefore there is no upper limit on the number of data that can be registered.

The name of the generated table is "model name $ (repeating container) item name".

Strictly, the theoretical upper limit is the number of records that can be held in one table of the external database to be adopted.Restrictions on actual operation can be regarded as none.