In which table the current deployed application version is stored?

Can any one suggest in which system table the current deployed application version is stored?

Hi Unnati,

What are you trying to achieve?

Instead of going directly to system tables, you can rely on OutSystems APIs.

Please have a look into the Lifetime API:

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/LifeTime_SDK#ApplicationVersion_List

Hope it helps you!

Unnati Khanorkar wrote:

Can any one suggest in which system table the current deployed application version is stored?

Hi Unnati,

You can also use the Staging Forge Component to manage the same while development.

https://www.outsystems.com/forge/515/

Thanks,

Assif

Daniel Martins wrote:

Hi Unnati,

What are you trying to achieve?

Instead of going directly to system tables, you can rely on OutSystems APIs.

Please have a look into the Lifetime API:

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/LifeTime_SDK#ApplicationVersion_List

Hope it helps you!


I tried to use the Application Version forge component but I am getting 403 forbidden error when I am testing with the token generated for service account.

Daniel Martins wrote:

Hi Unnati,

What are you trying to achieve?

Instead of going directly to system tables, you can rely on OutSystems APIs.

Please have a look into the Lifetime API:

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/LifeTime_SDK#ApplicationVersion_List

Hope it helps you!


Thanks Daniel. Could you please suggest which role needs to be assigned to the user as I am getting "user doesn't have a role" error while accessing these APIs.

Unnati Khanorkar wrote:

Daniel Martins wrote:

Hi Unnati,

What are you trying to achieve?

Instead of going directly to system tables, you can rely on OutSystems APIs.

Please have a look into the Lifetime API:

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/LifeTime_SDK#ApplicationVersion_List

Hope it helps you!


Thanks Daniel. Could you please suggest which role needs to be assigned to the user as I am getting "user doesn't have a role" error while accessing these APIs.


Hi Unnati,

Accordingly to Application Version forge component instructions that can be found here:

https://josevieira.outsystemscloud.com/ApplicationVersion/Instructions.aspx


The role granted to the Service Account should have at least the List Applications permission granted.

Daniel Martins wrote:

Unnati Khanorkar wrote:

Daniel Martins wrote:

Hi Unnati,

What are you trying to achieve?

Instead of going directly to system tables, you can rely on OutSystems APIs.

Please have a look into the Lifetime API:

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/LifeTime_SDK#ApplicationVersion_List

Hope it helps you!


Thanks Daniel. Could you please suggest which role needs to be assigned to the user as I am getting "user doesn't have a role" error while accessing these APIs.


Hi Unnati,

Accordingly to Application Version forge component instructions that can be found here:

https://josevieira.outsystemscloud.com/ApplicationVersion/Instructions.aspx


The role granted to the Service Account should have at least the List Applications permission granted.

Hi Daniel,

I am using the LifeTime SDK APIs as suggested by you, but while using these with the logged in application user I am getting "user doesn't have the role." error. Is there any restrictions that to use a Lifetime SDK APIs the user should have any specific role?

Solution

Hi Unnati,

If you are referencing the SDK directly in ServiceStudio, you shouldn't have that exception raised, are you sure that is not linked with your specific page permissions and not with the SDK invocation?

Other option you can make use of Lifetime deployment REST API as it's being done in Application Version forge component.


Hope it helps you.

Best regards.

Solution