Upvote 2

Adding a new item to Select List dynamically

Answered Victor Conesa 10 years ago

Hi, I have a Select List bounded to a Data Masters. I used a DataMaster Action to add a new record when I press a button.


I need to refresh the Select List, because it seems that changing the Data Masters doesn't update the Select List.


Thanx in advance.

Replies (4)
photo
1

Hello Alexandre,


Do you mean that the new Select List item does not get added to the Data Master?


Best

photo
1

Hi Marjo,


I mean that I added a record to the Data Master but the Select List still shows the same items.


Thanx.

photo
2

Hi Marjo,


I got it. I had just one interaction:


1. Data Master Action: wich I inserted a new record (coming from a input box) in the Data Master.


So I added a second one:


2. Set Value: where the component is Select List and Value is => Data Master.


Bingo!


Thanx for your attention,

photo
1

Effectively, it did the trick!

Thx a lot

Leave a Comment
 
Attach a file