403
Views
3
Comments
Solved
how to save more than one value of dropdown
Question

if i have Dropdown that have two value from static entity ,i need if user select two values save on the other entity and get these values to display on the screen with other details , how i do that

2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Andrew,


For that, you can use DropdownTags from OutSystems UI, on the link below you can find the step by step instructions of an example on how to achieve a multiple select dropdown using this pattern.


https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Dropdown_Tags


Hope it helps.


Regards,

João

2021-01-05 18-22-18
andrew mahfouz

how can i save these value from Dropdown Tags in an entity (Holidays) using country id where relationship between the Holidays and static entity (country) one to many

2021-03-18 21-03-15
Benjith Sam
 
MVP
Solution

Hi Andrew,

In addition to João's solution statement, Just want to include --> based on the shared information - In order to the store multiple dropdown option value against a single record, the underline Data model will contain at least three entities i.e. Entity1, Static/Dynamic Entity2 (includes Dropdown Options) and Junction Entity (includes Entity1 Identifier & Entity2 Identifier) which fulfills the N - N relationship (Many to Many relationship)

Refer the below mentioned data model example, which follows the N-N relationship type.

Note: Define an Unique Index on InstructorId and DepartmentId attributes in the DepartmentInstructor Junction entity to avoid redundant record entries.

Hope this helps you!


Kind regards,

Benjith Sam

2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Andrew,


For that, you can use DropdownTags from OutSystems UI, on the link below you can find the step by step instructions of an example on how to achieve a multiple select dropdown using this pattern.


https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Dropdown_Tags


Hope it helps.


Regards,

João

2021-01-05 18-22-18
andrew mahfouz

how can i save these value from Dropdown Tags in an entity (Holidays) using country id where relationship between the Holidays and static entity (country) one to many

2021-03-18 21-03-15
Benjith Sam
 
MVP
Solution

Hi Andrew,

In addition to João's solution statement, Just want to include --> based on the shared information - In order to the store multiple dropdown option value against a single record, the underline Data model will contain at least three entities i.e. Entity1, Static/Dynamic Entity2 (includes Dropdown Options) and Junction Entity (includes Entity1 Identifier & Entity2 Identifier) which fulfills the N - N relationship (Many to Many relationship)

Refer the below mentioned data model example, which follows the N-N relationship type.

Note: Define an Unique Index on InstructorId and DepartmentId attributes in the DepartmentInstructor Junction entity to avoid redundant record entries.

Hope this helps you!


Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.