Creating a Dynamic Object Group
A dynamic object group is created at runtime based on a search criteria.
Procedure
Sample Data File with Dynamic Object Group
<?xml version="1.0" encoding="UTF-8"?>
<amxdata_base:Enterprise
xsi:schemaLocation="http://tibco.com/amxadministrator/command/line
/types_base ../../../administrator/3.2/schemas/amxdata_base.xsd
http://tibco.com/governance/ogp/cli/types_tog ../schemas/tog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:amxdata_base="http://tibco.com/amxadministrator/command/line/types_base"
xmlns:tog="http://tibco.com/governance/ogp/cli/types_tog">
<tog:DynamicObjectGroup>
<description>Dynamic Object Group with DAA3 WebApp Component created via CLI</description>
<name>DAA3 BasicAuth WebAppComponentInst DynamicObjectGroupViaCLI</name>
<domain localPart="tibco.amx3"
namespace="http://tns.tibco.com/governance/common/govdomain/tibco/amx3"/>
<type localPart="WebAppComponentInstance"
namespace="http://tns.tibco.com/governance/common/govdomain/tibco/amx3"/>
<BaseEnvironment>
<name>DevEnvironment</name>
</BaseEnvironment>
<Expressions>
<Expression>
<Statements>
<Statement>
<type localPart="Application"
namespace="http://tns.tibco.com/governance/common/govdomain/tibco/amx3"/>
<property localPart="name" namespace=""/>
<operator>contains</operator>
<operand1>DAA3</operand1>
</Statement>
</Statements>
</Expression>
</Expressions>
</tog:DynamicObjectGroup>
<tog:SyncObjectGroupMembers/>
<tog:ExportObjectGroups>
<outputDataFile>${exported.data.file}</outputDataFile>
</tog:ExportObjectGroups>
</amxdata_base:Enterprise>
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
