environment-information
Service icon

Environment Information

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 01 May 2021
 by 
1.0
 (1 rating)
environment-information

Environment Information

Details
A small service which can intelligently determine if your application is currently on DEV, QA or Prod
Read more

Highly configurable service that can return information about what server your application is currently running, Dev, QA, Prod, etc.  

Easily adapted and extended to hide/show screen elements, text, dynamically configure paths or URLs all based on current environment.

Release notes (1.0.0)
Reviews (1)
by 
2023-02-10
in version 1.0.0
Not useful.
The component provides a service action that executes a query that only works for SQL Server and determines @@servername, @@servicername, and @@VERSION.
Because normal set ups of OutSystems have the DEV and TST environments sharing the same database, it will not be possible to distinguish the environments.
Also, it is necessary to customize the component, replacing some values hardcoded in the query, for it to work for a real scenario.
Example of normal values are:
ServerName: EC2AMAZ-HQM60MQ
ServiceName: MSSQLSERVER
Version:
Microsoft SQL Server 2016 (SP3) (KB5003279) - 13.0.6300.2 (X64)
Aug  7 2021 01:20:37
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows Server 2016 Datacenter 10.0 <X64> (Build 14393: ) (Hypervisor)
Team
Other assets in this category