You can use the LifeTime SDK to develop your own plug-ins for LifeTime, thus extending LifeTime functionality. The LifeTimeSDK contains the base layout components and APIs used to develop a LifeTime plug-in.

To start developing your LifeTime plug-in, you need to:

To learn more on how to develop your LifeTime plug-in, access the <LifeTime Environment>/LifeTimeSDK screen on your infrastructure.

Actions

Metamodel API

Action

Description

Application_Get Returns the information of an application in an environment.
Application_List Returns a list of the applications in the specified environment, with their information, such as name, description, url. If no environment is specified, information of all application across all environments is returned.
ApplicationVersion_Get Returns information of an application on a specified date.
ApplicationVersion_List Returns the information of all tagged application versions for the specified application.
Deployment_Get Returns information of the specified deployment.
Deployment_List Returns information of all deployments made between two environments.
Environment_Get Returns the information of an environment, such as name, version of the OutSystems Platform, Application Server.
Environment_List Returns a list of environments with their information, such as name, version of the OutSystems Platform, Application Server.
ModuleVersion_Get

Returns the information of a module version for the specified module and version.

ModuleVersion_List

Returns the information of all module versions for the specified module.

Security_GetApplicationsPermissions

Returns the permissions the specified user has for each application in the environment. If no user is specified, the current user is used.

Security_CheckApplicationPermission

Checks if a user has a permission for a specific application running on an environment.

Security_CheckEnvironmentPermission

Checks if a user has a permission for a specific environment. If no user is specified, the current user is used.

Security_CheckInfrastructurePermission

Checks if a user has the 'Configure Infrastructure' permission. If no user is specified, the current user is used.

Security_CheckApplicationPermission

Checks if a user has a permission for a specific application running on an environment.

Security_GetEnvironmentsPermissions

Returns the permissions the specified user has for each environment. If no user is specified, the current user is used.

Plugin API

Action

Description

Plugin_Register Registers the caller module as a LifeTime plug-in: in the LifeTime 'More' menu a new link is created with the specified name that redirects to the entry point provided, or the default entry point if none is provided. All web screens of the plug-in are displayed with their owner name.
Plugin_Unregister

Unregisters the caller module as a LifeTime plug-in: in the LifeTime 'More' menu there is no longer a link to the plug-in.

Token API

Action

Description

GetUserSessionToken

Returns an authentication token that is valid for 5 minutes, for the session user.

Static Entities

Structures

Web Blocks

Web Screens

Themes

See Also

About APIs