34
Views
4
Comments
Solved
Call different entities in the same page
Application Type
Reactive
Service Studio Version
11.54.12 (Build 62475)

Hi there,

I'm new here. I am learning every day with the Training Planner videos and exercises. However, in parallel, I'm working on an application with 10 entities with the same columns and requests for different Territories. To avoid creating 10 pages with the same content, I would like to call one Territory at a time on the same main page, basically, using a list to select which Territory those details are.

I don't know how to create the list. I know there is a video explaining "how to create and use actions", but it was too simplified, and I couldn't replicate it in my project.


Thank you for any help.

2023-01-26 16-03-24
Ana Agostinho
Solution

Hello Laura, 

First of all, welcome to the OutSystems community:) 

It seems you didn't get some basic stuff. I believe what you are trying to do is something similar to the list of Territories and when you click on one you open a detail sheet with some detailed information about that Territory, am I right? 

Okay, so, OutSystems, besides the videos, has 3 how-to Guide Paths (Building a Patient Portal, Building an Order Management Application, and Building an Employee Directory Application), which explore the different and most common cases. 

I believe that what you are trying to do is related to this part of the Employees Guide path: 

Best regards, 

Ana

UserImage.jpg
Laura Pavani

Thank you very much, Ana.


Yeap! I'm learning and loving it. I know I'm still a beginner here, but I have so many ideas that I want to build that I'm getting too excited to see everything working.


I did the exercise, which was close to what I needed. I'm just trying to figure out how I can do that on my app. 


Thinking in an Excel spreadsheet, I have 10 tabs with the same number of columns, in all tabs I have the same header. What makes them different from each other is the Territory each Territory has its own tab, and the Asset Label that starts with EQ (for IT Equipment) + 2 for one territory + 0001, EQ30001 for the second Territory and so on and SC (for scanners) SC20001, SC30001 and so on. I noticed that I couldn't build a screen calling the Territory through the drop-down list to add the equipment or scanner details, so I consolidated the whole spreadsheet in a Master data and could then build a page with the pieces that I wanted.


The exercise was totally useful.

thanks,

2018-06-05 16-54-03
Maria da Graça Peixoto

Hi! 

You may create a data action witch output  is a list of records equal to the entities layout.

In the data action you have 10 aggregates one for each entity and choose the aggregate correspondent to the Territory you want to list

It may look like 

Regards

Graça

2023-01-26 16-03-24
Ana Agostinho
Solution

Hello Laura, 

First of all, welcome to the OutSystems community:) 

It seems you didn't get some basic stuff. I believe what you are trying to do is something similar to the list of Territories and when you click on one you open a detail sheet with some detailed information about that Territory, am I right? 

Okay, so, OutSystems, besides the videos, has 3 how-to Guide Paths (Building a Patient Portal, Building an Order Management Application, and Building an Employee Directory Application), which explore the different and most common cases. 

I believe that what you are trying to do is related to this part of the Employees Guide path: 

Best regards, 

Ana

UserImage.jpg
Laura Pavani

Thank you very much, Ana.


Yeap! I'm learning and loving it. I know I'm still a beginner here, but I have so many ideas that I want to build that I'm getting too excited to see everything working.


I did the exercise, which was close to what I needed. I'm just trying to figure out how I can do that on my app. 


Thinking in an Excel spreadsheet, I have 10 tabs with the same number of columns, in all tabs I have the same header. What makes them different from each other is the Territory each Territory has its own tab, and the Asset Label that starts with EQ (for IT Equipment) + 2 for one territory + 0001, EQ30001 for the second Territory and so on and SC (for scanners) SC20001, SC30001 and so on. I noticed that I couldn't build a screen calling the Territory through the drop-down list to add the equipment or scanner details, so I consolidated the whole spreadsheet in a Master data and could then build a page with the pieces that I wanted.


The exercise was totally useful.

thanks,

2024-09-12 02-43-38
Deepsagar Dubey

Hello @Laura Pavani 

If you want to create a list with multiple entity data then possibly we have  2 ways - 

1. If you have any relationship amongst all your entity then you can make a JOIN and add multiple entities in source.

2. You can create a Local List type variable and fetch data from multiple aggregates and append in this local variable, But the challenge here is that how you identify from which entity the data is belong.

So, i recommend try to create relationship in your entity.

I hope it'll help you.

Thanks
Deep

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