I want to add in a relation table of my model, a multi-valued attribute. Do you have examples to implement this. For the moment, on my attribute I see the "multi-value" option grayed out (location at the level of "MonChampMultiValué")
Best Answer
F
Fathia Jama
said
over 2 years ago
Enabling the multivalue field only works on a list of LOV values.
Multi-Valued : This option applies to definition attributes having the type list of values. Checking this box allows the definition attribute to receive several codes in the list of values, separated by the
Value Separator provided. For example, a multi-valued Diplomas field can receive the DM, DP, DPM codes meaning that that contact is Doctor of Medicine , Pharmacy, and Preventive Medicine .
To solve this, I suggest you create a Many-To-Many association table that will perfectly meet your needs.
1 Comment
F
Fathia Jama
said
over 2 years ago
Answer
Enabling the multivalue field only works on a list of LOV values.
Multi-Valued : This option applies to definition attributes having the type list of values. Checking this box allows the definition attribute to receive several codes in the list of values, separated by the
Value Separator provided. For example, a multi-valued Diplomas field can receive the DM, DP, DPM codes meaning that that contact is Doctor of Medicine , Pharmacy, and Preventive Medicine .
To solve this, I suggest you create a Many-To-Many association table that will perfectly meet your needs.
Fathia Jama
I want to add in a relation table of my model, a multi-valued attribute. Do you have examples to implement this. For the moment, on my attribute I see the "multi-value" option grayed out (location at the level of "MonChampMultiValué")
Enabling the multivalue field only works on a list of LOV values.
So in your case it is not possible.
https://www.semarchy.com/doc/xdm/5.2.10/semdg.html
Multi-Valued : This option applies to definition attributes having the type list of values. Checking this box allows the definition attribute to receive several codes in the list of values, separated by the
Value Separator provided. For example, a multi-valued Diplomas field can receive the DM, DP, DPM codes meaning that that contact is Doctor of Medicine , Pharmacy, and Preventive Medicine .
To solve this, I suggest you create a Many-To-Many association table that will perfectly meet your needs.
Fathia Jama
Enabling the multivalue field only works on a list of LOV values.
So in your case it is not possible.
https://www.semarchy.com/doc/xdm/5.2.10/semdg.html
Multi-Valued : This option applies to definition attributes having the type list of values. Checking this box allows the definition attribute to receive several codes in the list of values, separated by the
Value Separator provided. For example, a multi-valued Diplomas field can receive the DM, DP, DPM codes meaning that that contact is Doctor of Medicine , Pharmacy, and Preventive Medicine .
To solve this, I suggest you create a Many-To-Many association table that will perfectly meet your needs.
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 263 topics