ConfigurationActive: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
No edit summary
Dannym (talk | contribs)
No edit summary
Line 1: Line 1:
==ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName')==
== ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName') ==


{{Description|description=
{{Description|description=
This command returns true if the specified ConfigurationGroupName/ConfigurationName pair is currently active, as defined in the Document Control Dialog (DCD).
This command returns true if the specified ConfigurationGroupName/ConfigurationName pair is currently active, as defined in the Document Control Dialog (DCD).
}}
}}
== Sample ==
In the sample image below, taken from Machine Manager, if the post developer needs to know if the LiveTools Configuration is active so they might format the output differently, then they could use:
ConfigurationActive?('FrontGang', 'LiveTools')


[[Image:ConfigurationsSample.PNG|none]]
[[Image:ConfigurationsSample.PNG|none]]


{{Stats|id=709|type=Boolean|class=All Machines|scope=Global|version=22.0.5}}
{{Stats|id=709|type=Boolean|class=All Machines|scope=Global|version=22.0.5}}

Revision as of 21:17, 8 June 2021

ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName')

Description

This command returns true if the specified ConfigurationGroupName/ConfigurationName pair is currently active, as defined in the Document Control Dialog (DCD).


Sample

In the sample image below, taken from Machine Manager, if the post developer needs to know if the LiveTools Configuration is active so they might format the output differently, then they could use:

ConfigurationActive?('FrontGang', 'LiveTools')


Stats

ID 709
Type Boolean
Class All Machines
Scope Global
Min Version 22.0.5