Hi,
I have a screen with groups table. The table contains all the groups of all the applications. But I need to include only the groups of my application in which I work. How to do that?
Hi Gayathri,
You can apply filter in your aggregate with your group id and fetch only your group data.
if it is possible please screen shots or OML for your application so that we can get more clarity.
Thanks.
Hi Gayathri Gali,
can you provide more information related to your issue and Kind share the SS of your data relationship between Group ,application and users.. What is understood that you are facing the problem to fetch the applications along with group of logged in user . if this is like !
- Group-by group id then you will get the all application in each group .
- place the filler like userid=GetUserId()
Hope this can work!
Kind Regards
Hi Gayatri,
From your question seems you are showing Groups created in OutSystems environment. You want to show only groups which belongs to your application only. If this is the case please check below diagram. Basically there is no direct relation between application and group. But you can try according to below diagram.
regards
Yes you are right, I want to show only the groups that belong to my application which I'm working for. I kept a filter like domain.id = 6 in the groups aggregate which brings the groups of my application. But this does not work. I need to get the groups of my application without hard coding the domain id. Id should change across the environment. Please help me how to filter this so that I'd must change dynamically across the environment.
I think you can use Espace table, from here you can apply filter on Espace name. It will be same across the environments.
In filter you can use espaceId, to get only roles created in this application, by this you can get only the roles that are specified to the application.
Thanks