Offering601bc58975f6470aa0dffab1d95ab449 (RequestOffering)

Element properties:

TitleCancel Tenant Registration
InstanceNameCancel Tenant Registration
BriefDescriptionUse this form to cancel a tenant registration.
OverviewUse this form to cancel a tenant registration.
TargetTemplateCancelTenantServiceRequestTemplate
StatusSystem.Offering.StatusEnum.Published
HideGotoRequestButtonFalse
CommentCancel Tenant Registration Request Offering

Source Code:

<RequestOffering ID="Offering601bc58975f6470aa0dffab1d95ab449" InstanceName="Cancel Tenant Registration" Title="Cancel Tenant Registration" BriefDescription="Use this form to cancel a tenant registration." Overview="Use this form to cancel a tenant registration." Status="System.Offering.StatusEnum.Published" TargetTemplate="CloudServicesProjectMgtLibrary!CancelTenantServiceRequestTemplate">
<PresentationMappingTemplate>
<Sources>
<Source Id="00000000-0000-0000-0000-000000000000" Ordinal="0" ReadOnly="false" Optional="false" ControlType="System.SupportingItem.PortalControl">
<ControlConfiguration>
<Dependencies/>
<AddressableOutputs>
<AddressableOutput OutputName="Token: Portal User Name" OutputType="string"/>
</AddressableOutputs>
</ControlConfiguration>
<Targets/>
</Source>
<Source Id="6e75e3cf-03fc-4574-89f8-9410a864d291" Ordinal="1" Prompt="Enter the service request title" ReadOnly="false" Optional="false" ControlType="System.SupportingItem.PortalControl.String">
<ControlConfiguration>
<Dependencies/>
<AddressableOutputs>
<AddressableOutput OutputName="String" OutputType="string"/>
</AddressableOutputs>
<Configuration>
<Details>
<SelectedContentConstraint>AnyString</SelectedContentConstraint>
<RegexErrorPanelVisibility>Collapsed</RegexErrorPanelVisibility>
<LimitStringLength>true</LimitStringLength>
<MinimumLength>0</MinimumLength>
<MaximumLength>256</MaximumLength>
<RegularExpression/>
</Details>
</Configuration>
</ControlConfiguration>
<Targets>
<Target Path="Title" OutputName="String"/>
</Targets>
</Source>
<Source Id="9b5bf922-53e8-4eea-9208-996fea2013eb" Ordinal="2" Prompt="Select the service request urgency" ReadOnly="false" Optional="true" ControlType="System.SupportingItem.PortalControl.List">
<ControlConfiguration>
<Dependencies/>
<AddressableOutputs>
<AddressableOutput OutputName="List Item" OutputType="enum" OutputTypeMetadata="eb35f771-8b0a-41aa-18fb-0432dfd957c4"/>
</AddressableOutputs>
</ControlConfiguration>
<Targets>
<Target Path="Urgency" OutputName="List Item"/>
</Targets>
</Source>
<Source Id="e1c1b7c3-aae9-4f2d-b6cf-7ebfc787cd5e" Ordinal="3" Prompt="Select the tenant registration to be cancelled" ReadOnly="false" Optional="false" ControlType="System.SupportingItem.PortalControl.InstancePicker">
<ControlConfiguration>
<Dependencies/>
<AddressableOutputs>
<AddressableOutput OutputName="DisplayName" OutputType="string"/>
<AddressableOutput OutputName="CodeName" OutputType="string"/>
<AddressableOutput OutputName="ContactEmailAddress" OutputType="string"/>
<AddressableOutput OutputName="ConfigItemId" OutputType="string"/>
</AddressableOutputs>
<Configuration>
<Details IsMultiSelectAllowed="false">
<ClassOrProjection Id="794225e3-15d3-d8e3-abd0-39a7bfe432d9" IsProjection="true"/>
<ViewModelSettings>&lt;SettingsBundle&gt;&lt;ColumnSettings&gt;&amp;lt;ComponentTreeViewItemSettings&amp;gt;&amp;lt;Alias /&amp;gt;&amp;lt;BackgroundColor&amp;gt;&amp;lt;A&amp;gt;0&amp;lt;/A&amp;gt;&amp;lt;R&amp;gt;0&amp;lt;/R&amp;gt;&amp;lt;G&amp;gt;0&amp;lt;/G&amp;gt;&amp;lt;B&amp;gt;0&amp;lt;/B&amp;gt;&amp;lt;ScA&amp;gt;0&amp;lt;/ScA&amp;gt;&amp;lt;ScR&amp;gt;0&amp;lt;/ScR&amp;gt;&amp;lt;ScG&amp;gt;0&amp;lt;/ScG&amp;gt;&amp;lt;ScB&amp;gt;0&amp;lt;/ScB&amp;gt;&amp;lt;/BackgroundColor&amp;gt;&amp;lt;ComponentClassId&amp;gt;cf11440c-fe92-e861-358f-a3dea88a8864&amp;lt;/ComponentClassId&amp;gt;&amp;lt;ChildSettings /&amp;gt;&amp;lt;/ComponentTreeViewItemSettings&amp;gt;&lt;/ColumnSettings&gt;&lt;CriteriaSettings&gt;&amp;lt;ComponentTreeViewItemSettings&amp;gt;&amp;lt;Alias /&amp;gt;&amp;lt;BackgroundColor&amp;gt;&amp;lt;A&amp;gt;0&amp;lt;/A&amp;gt;&amp;lt;R&amp;gt;0&amp;lt;/R&amp;gt;&amp;lt;G&amp;gt;0&amp;lt;/G&amp;gt;&amp;lt;B&amp;gt;0&amp;lt;/B&amp;gt;&amp;lt;ScA&amp;gt;0&amp;lt;/ScA&amp;gt;&amp;lt;ScR&amp;gt;0&amp;lt;/ScR&amp;gt;&amp;lt;ScG&amp;gt;0&amp;lt;/ScG&amp;gt;&amp;lt;ScB&amp;gt;0&amp;lt;/ScB&amp;gt;&amp;lt;/BackgroundColor&amp;gt;&amp;lt;ComponentClassId&amp;gt;cf11440c-fe92-e861-358f-a3dea88a8864&amp;lt;/ComponentClassId&amp;gt;&amp;lt;ChildSettings /&amp;gt;&amp;lt;/ComponentTreeViewItemSettings&amp;gt;&lt;/CriteriaSettings&gt;&lt;/SettingsBundle&gt;</ViewModelSettings>
<Columns>
<Column Name="DisplayName" Type="string" DisplayName="Tenant name"/>
<Column Name="CodeName" Type="string" DisplayName="Code name"/>
<Column Name="ContactEmailAddress" Type="string" DisplayName="Contact e-mail address"/>
<Column Name="ConfigItemId" Type="string" DisplayName="Tenant id"/>
</Columns>
<Criteria>&lt;QueryCriteria xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd"&gt;&lt;Criteria&gt;&lt;FreeformCriteria&gt;&lt;Invert&gt;false&lt;/Invert&gt;&lt;Freeform&gt;&lt;Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/"&gt;&lt;Reference Id="Microsoft.Windows.Library" Version="7.5.1561.0" PublicKeyToken="31bf3856ad364e35" Alias="WindowsLibrary" /&gt;&lt;Reference Id="System.Library" Version="7.5.1561.0" PublicKeyToken="31bf3856ad364e35" Alias="System" /&gt;&lt;Reference Id="ServiceManager.CloudServices.Library" Version="7.5.2020.0" PublicKeyToken="31bf3856ad364e35" Alias="CloudServicesLibrary" /&gt;&lt;Reference Id="Microsoft.EnterpriseManagement.ServiceManager.UI.Console" Version="7.5.1561.0" PublicKeyToken="31bf3856ad364e35" Alias="EnterpriseManagement" /&gt;&lt;Expression&gt;&lt;And&gt;&lt;Expression&gt;&lt;SimpleExpression&gt;&lt;ValueExpressionLeft&gt;&lt;Property&gt;$Context/Property[Type='CloudServicesLibrary!ServiceManager.CloudServices.Tenant']/Status$&lt;/Property&gt;&lt;/ValueExpressionLeft&gt;&lt;Operator&gt;Equal&lt;/Operator&gt;&lt;ValueExpressionRight&gt;&lt;Value&gt;{16dedc49-b63d-a10c-c567-883e7282fee5}&lt;/Value&gt;&lt;/ValueExpressionRight&gt;&lt;/SimpleExpression&gt;&lt;/Expression&gt;&lt;Expression&gt;&lt;SimpleExpression&gt;&lt;ValueExpressionLeft&gt;&lt;Property&gt;$Context/Property[Type='System!System.ConfigItem']/ObjectStatus$&lt;/Property&gt;&lt;/ValueExpressionLeft&gt;&lt;Operator&gt;Equal&lt;/Operator&gt;&lt;ValueExpressionRight&gt;&lt;Value&gt;{acdcedb7-100c-8c91-d664-4629a218bd94}&lt;/Value&gt;&lt;/ValueExpressionRight&gt;&lt;/SimpleExpression&gt;&lt;/Expression&gt;&lt;Expression&gt;&lt;In&gt;&lt;GenericProperty Path="$Context/Path[Relationship='CloudServicesLibrary!ServiceManager.CloudServices.TenantHasAdmins' SeedRole='Source']$"&gt;Id&lt;/GenericProperty&gt;&lt;Values&gt;&lt;Token&gt;[me]&lt;/Token&gt;&lt;Token&gt;[mygroups]&lt;/Token&gt; &lt;/Values&gt;&lt;/In&gt;&lt;/Expression&gt;&lt;/And&gt;&lt;/Expression&gt;&lt;/Criteria&gt;&lt;/Freeform&gt;&lt;/FreeformCriteria&gt;&lt;/Criteria&gt;&lt;/QueryCriteria&gt;</Criteria>
<RelationshipConfiguration RelatedItemRelationshipPath="" AddSelectedItemsAsAffectedConfigItems="true" AffectedItemRelationshipPath="" RelationshipId="d96c8b59-8554-6e77-0aa7-f51448868b43"/>
</Details>
</Configuration>
</ControlConfiguration>
<Targets>
<Target Path="" OutputName="$InstanceValue$" RelationshipId="b73a6094-c64c-b0ff-9706-1822df5c2e82"/>
</Targets>
</Source>
<Source Id="822e8209-940d-4fed-ad72-37f3c6a3949a" Ordinal="4" Prompt="Cloud resources subscriptions - associated subscriptions will be automatically cancelled" ReadOnly="true" Optional="false" ControlType="System.SupportingItem.PortalControl.InstancePicker">
<ControlConfiguration>
<Dependencies>
<DependentOn Ordinal="3" OutputName="ConfigItemId"/>
</Dependencies>
<AddressableOutputs>
<AddressableOutput OutputName="DisplayName" OutputType="string"/>
<AddressableOutput OutputName="Storage" OutputType="int"/>
<AddressableOutput OutputName="Memory" OutputType="int"/>
<AddressableOutput OutputName="CPUs" OutputType="int"/>
<AddressableOutput OutputName="NumberofVms" OutputType="int"/>
<AddressableOutput OutputName="ConfigItemId" OutputType="string"/>
</AddressableOutputs>
<Configuration>
<Details IsMultiSelectAllowed="false">
<ClassOrProjection Id="25455ea4-dd8d-8dd7-8de1-66abee2c98ba" IsProjection="true"/>
<ViewModelSettings>&lt;SettingsBundle&gt;&lt;ColumnSettings&gt;&amp;lt;ComponentTreeViewItemSettings&amp;gt;&amp;lt;Alias /&amp;gt;&amp;lt;BackgroundColor&amp;gt;&amp;lt;A&amp;gt;0&amp;lt;/A&amp;gt;&amp;lt;R&amp;gt;0&amp;lt;/R&amp;gt;&amp;lt;G&amp;gt;0&amp;lt;/G&amp;gt;&amp;lt;B&amp;gt;0&amp;lt;/B&amp;gt;&amp;lt;ScA&amp;gt;0&amp;lt;/ScA&amp;gt;&amp;lt;ScR&amp;gt;0&amp;lt;/ScR&amp;gt;&amp;lt;ScG&amp;gt;0&amp;lt;/ScG&amp;gt;&amp;lt;ScB&amp;gt;0&amp;lt;/ScB&amp;gt;&amp;lt;/BackgroundColor&amp;gt;&amp;lt;ComponentClassId&amp;gt;804e11a1-820f-7439-18e9-cb9f5cd4d4c4&amp;lt;/ComponentClassId&amp;gt;&amp;lt;ChildSettings /&amp;gt;&amp;lt;/ComponentTreeViewItemSettings&amp;gt;&lt;/ColumnSettings&gt;&lt;CriteriaSettings&gt;&amp;lt;ComponentTreeViewItemSettings&amp;gt;&amp;lt;Alias /&amp;gt;&amp;lt;BackgroundColor&amp;gt;&amp;lt;A&amp;gt;0&amp;lt;/A&amp;gt;&amp;lt;R&amp;gt;0&amp;lt;/R&amp;gt;&amp;lt;G&amp;gt;0&amp;lt;/G&amp;gt;&amp;lt;B&amp;gt;0&amp;lt;/B&amp;gt;&amp;lt;ScA&amp;gt;0&amp;lt;/ScA&amp;gt;&amp;lt;ScR&amp;gt;0&amp;lt;/ScR&amp;gt;&amp;lt;ScG&amp;gt;0&amp;lt;/ScG&amp;gt;&amp;lt;ScB&amp;gt;0&amp;lt;/ScB&amp;gt;&amp;lt;/BackgroundColor&amp;gt;&amp;lt;ComponentClassId&amp;gt;804e11a1-820f-7439-18e9-cb9f5cd4d4c4&amp;lt;/ComponentClassId&amp;gt;&amp;lt;ChildSettings&amp;gt;&amp;lt;ComponentTreeViewItemSettings&amp;gt;&amp;lt;Alias&amp;gt;Tenant&amp;lt;/Alias&amp;gt;&amp;lt;BackgroundColor&amp;gt;&amp;lt;A&amp;gt;0&amp;lt;/A&amp;gt;&amp;lt;R&amp;gt;0&amp;lt;/R&amp;gt;&amp;lt;G&amp;gt;0&amp;lt;/G&amp;gt;&amp;lt;B&amp;gt;0&amp;lt;/B&amp;gt;&amp;lt;ScA&amp;gt;0&amp;lt;/ScA&amp;gt;&amp;lt;ScR&amp;gt;0&amp;lt;/ScR&amp;gt;&amp;lt;ScG&amp;gt;0&amp;lt;/ScG&amp;gt;&amp;lt;ScB&amp;gt;0&amp;lt;/ScB&amp;gt;&amp;lt;/BackgroundColor&amp;gt;&amp;lt;ComponentClassId&amp;gt;cf11440c-fe92-e861-358f-a3dea88a8864&amp;lt;/ComponentClassId&amp;gt;&amp;lt;ChildSettings /&amp;gt;&amp;lt;/ComponentTreeViewItemSettings&amp;gt;&amp;lt;/ChildSettings&amp;gt;&amp;lt;/ComponentTreeViewItemSettings&amp;gt;&lt;/CriteriaSettings&gt;&lt;/SettingsBundle&gt;</ViewModelSettings>
<Columns>
<Column Name="DisplayName" Type="string" DisplayName="Display Name"/>
<Column Name="Storage" Type="int" DisplayName="Storage"/>
<Column Name="Memory" Type="int" DisplayName="Memory"/>
<Column Name="CPUs" Type="int" DisplayName="CPU Count"/>
<Column Name="NumberofVms" Type="int" DisplayName="Number Of Virtual Machines"/>
<Column Name="ConfigItemId" Type="string" DisplayName="Subscription ID"/>
</Columns>
<Criteria>&lt;QueryCriteria xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Adapter="omsdk://Adapters/Criteria" xmlns="http://tempuri.org/Criteria.xsd"&gt;&lt;Criteria&gt;&lt;FreeformCriteria&gt;&lt;Invert&gt;false&lt;/Invert&gt;&lt;Freeform&gt;&lt;Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/"&gt; &lt;Reference Id="ServiceManager.CloudServices.Library" Version="7.5.2020.0" PublicKeyToken="31bf3856ad364e35" Alias="CloudServicesLibrary"/&gt;&lt;Reference Id="System.Library" Version="7.5.1561.0" PublicKeyToken="31bf3856ad364e35" Alias="System"/&gt;&lt;Reference Id="Microsoft.EnterpriseManagement.ServiceManager.UI.Console" Version="7.5.1561.0" PublicKeyToken="31bf3856ad364e35" Alias="EnterpriseManagement" /&gt;&lt;Expression&gt;&lt;And&gt;&lt;Expression&gt;&lt;SimpleExpression&gt;&lt;ValueExpressionLeft&gt;&lt;Property&gt;$Context/Property[Type='System!System.ConfigItem']/ObjectStatus$&lt;/Property&gt;&lt;/ValueExpressionLeft&gt;&lt;Operator&gt;Equal&lt;/Operator&gt;&lt;ValueExpressionRight&gt;&lt;Value&gt;{acdcedb7-100c-8c91-d664-4629a218bd94}&lt;/Value&gt;&lt;/ValueExpressionRight&gt;&lt;/SimpleExpression&gt;&lt;/Expression&gt;&lt;Expression&gt;&lt;SimpleExpression&gt;&lt;ValueExpressionLeft&gt;&lt;Property&gt;$Context/Property[Type='CloudServicesLibrary!ServiceManager.CloudServices.VMMCloudResourcesSubscription']/Status$&lt;/Property&gt;&lt;/ValueExpressionLeft&gt;&lt;Operator&gt;Equal&lt;/Operator&gt;&lt;ValueExpressionRight&gt;&lt;Value&gt;{16dedc49-b63d-a10c-c567-883e7282fee5}&lt;/Value&gt;&lt;/ValueExpressionRight&gt;&lt;/SimpleExpression&gt;&lt;/Expression&gt;&lt;Expression&gt;&lt;SimpleExpression&gt;&lt;ValueExpressionLeft&gt; &lt;Property&gt;$Context/Path[Relationship='CloudServicesLibrary!ServiceManager.CloudServices.TenantContainsSubscription' SeedRole='Target']/Property[Type='CloudServicesLibrary!ServiceManager.CloudServices.Tenant']/ConfigItemId$&lt;/Property&gt;&lt;/ValueExpressionLeft&gt;&lt;Operator&gt;Like&lt;/Operator&gt;&lt;ValueExpressionRight&gt;&lt;Value&gt;&amp;lt;Token&amp;gt;##TokenSourceId__e1c1b7c3-aae9-4f2d-b6cf-7ebfc787cd5e#TokenId__ConfigItemId##&amp;lt;/Token&amp;gt;&lt;/Value&gt;&lt;/ValueExpressionRight&gt;&lt;/SimpleExpression&gt;&lt;/Expression&gt;&lt;/And&gt;&lt;/Expression&gt;&lt;/Criteria&gt;&lt;/Freeform&gt;&lt;/FreeformCriteria&gt;&lt;/Criteria&gt;&lt;/QueryCriteria&gt;</Criteria>
<RelationshipConfiguration RelatedItemRelationshipPath="" AffectedItemRelationshipPath="" RelationshipId="d96c8b59-8554-6e77-0aa7-f51448868b43"/>
</Details>
</Configuration>
</ControlConfiguration>
<Targets/>
</Source>
</Sources>
</PresentationMappingTemplate>
</RequestOffering>