Hello everyone.
I have a question about list. I am new in outsystems and technology. My app consists to delegate tasks and prior I create a task and after I assign the task to some people. many to many relation. My problem is: When I choose person to make that task my list is filled with only one person but many times.
Anyone could help me?
Hello Rita,
Welcome to Outsystems.
First advice: Try to make all the code in English, for example your tables are in Portuguese.
Should be presented only one user instead a list, no?
Hello Paulo, thank you so much for your reply. I agree about all code in english to reach more people that can help me. I would like to save a value and after I would like to show that value in a list. E.g. If I select Sheldon Cooper as pessoa in dropdown and save, after I would like to see only one time the name Sheldon. I show you what is happening. Show another name of that Departamento over and over. kind regards,
Rita
Hi,
As per your requirements it seems that each task can be assigned to multiple persons.
So I suggest you should create one junction entity. In that junction entity you will store the task Id and selected Pessoas Ids. By this way you can assign multiple Pessoa for a single task.
Hope am understanding the issue correctly.
regards
Dear Vikas. Thank you so much for your reply.
I already have that junction entity I forgot to show on data model. I supose that my problem would be on screen, but I don´t know where.
Kind regards,
Rita Vaz
here
I see, seems problem in UI only. In UI user list you are using expression and in this expression you are setting value
But here you want to show the list of users. Show basically instead of expression you need to take a list here. In that list set above list as data source.
Dear Vikas
I already solved the issue :D
It was quite simple. I chose the wrong list.
Thank you so much for your time.
kind regards,
Share your oml if you need more help!
Dear Paulo,
Great to know!