17
Views
5
Comments
Solved
How to make aggreate to show data if the user was in the list of participants?
Application Type
Reactive

Hello guys, how i create one aggregate to check if the user which had logged has in the list of participants in the meeting and if it is show that meeting. (The  data types in the participants is text). How i make?

In other words, what i need is, if the register, had the name of user in "Convocado por" which is equal to the person which create the meeting or the name of user in "Participantes" which is equal to the participants it show, if don´t have the name on that two collums don´t show to the user.



InformacaoInternarequesicaodeequipamentosinformaticos.oml

Rank: #171
Solution

Hi Francisco,

Look the filter that i created in aggregate. In webBlock :

You can use the function User_GetName :

To filter what you need.


OML in attathment.

Hope this helps.


Regards.

Informacao.oml

Rank: #686

please say more explicit, please telll me step by step. Where i use that user_getname, im not understanding

Rank: #171

Hi, look the new attachment.

You can filter Reunioes using User_GetName , and before, when you save the Reuniao record,

fill the field 

GetReunioes.List.Current.Reunioes.Convocadopor

with User_GetName  .


Regards.

InformacaoInternaExample.oml

Rank: #171

I'm glad I could help!

Best Regards.

Rank: #686

:)