29
Views
5
Comments
Solved
Show list of application created in Lifetime
Application Type
Reactive

Hi Community!

I have the following scenario, 

  1. When new developers are onboard, we will create users in lifetime. Thereafter, we will add them to respective teams in lifetime (example, America, Brazil, Spain etc)
  2. Then following that, we will create new application for them via lifetime, under their teams
  3. As such, when they finally log in to service studio, they can only see those application under their teams. So all is good up till here


Now, there are additional requirements,

  1. We are creating a admin portal using service studio.
  2. Part of our work flow is that, we will assign a PIC/admin for each team, so that they can help to create users in the end-users module.
  3. So we want to filter only application created in lifetime/teams.

As of now, the application entity shows all application, and i couldn't find a way to filter these apps. Had tried a lot of methods already, i think....not limited to the following,

  1. Filtering by UserMT.Id = Application.CreatedBy
  2. Creating a new module, and change the User Provider module to ServiceCenter, instead of users

But none seems to work. For this requirement, is it even possible in the first place?


Thank you!

2019-01-07 16-04-16
Siya
 
MVP
Solution

@Jun Mun Chan In an enterprise environment, OutSystems is typically installed with four environments: Development, UAT, Production, and LifeTime. Each environment has its own database. LifeTime connects to the other three environments and is used to manage IT users, application deployments, and other functionalities.

Data created in LifeTime is not directly accessible from the Development, UAT, or Production environments. To retrieve LifeTime-specific information, you must use the LifeTime APIs. Hope this helps.

2022-05-01 03-47-53
Jun Mun Chan

Thank you, using lifetime v2 api allows me to retrieve which team the application is in

2019-01-07 16-04-16
Siya
 
MVP

Please see if LifeTime APIs help . https://success.outsystems.com/documentation/11/reference/outsystems_apis/lifetime_api_v2/

2022-05-01 03-47-53
Jun Mun Chan

so far what happen is that, all applications are being returned, even thou i want filter Application.CreatedBy = myself

So those forge components are being returned, and forge components updated by myself as well


The best solution i wanted, is that there is somewhere in some entities (i think it's not indicated in the Application entity), that for applications created using lifetime, there will be a unique indicator or sorts. So far, at least based on what i had tried, there are no indicators to indicator whether the application is created using service studio or lifetime, or whether application is a forge

UserImage.jpg
Reginald Barker

I'm a newbie here. I'm interested in this type of posts. How can I get more information about it? 

2019-01-07 16-04-16
Siya
 
MVP
Solution

@Jun Mun Chan In an enterprise environment, OutSystems is typically installed with four environments: Development, UAT, Production, and LifeTime. Each environment has its own database. LifeTime connects to the other three environments and is used to manage IT users, application deployments, and other functionalities.

Data created in LifeTime is not directly accessible from the Development, UAT, or Production environments. To retrieve LifeTime-specific information, you must use the LifeTime APIs. Hope this helps.

2022-05-01 03-47-53
Jun Mun Chan

Thank you, using lifetime v2 api allows me to retrieve which team the application is in

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