how to create an instance picker like 'relatedItems' as Class extension for SCSM
hi everybody!
we tried to expand our CI-Class-Extension for Service Manager and need a relation CI / using organisations.
we used singleinstancepicker a few times, but now we need something with multipicker.
The soltuon should be like 'related Items' in BusinessServices, but we dont know how to implement this in VisualStudio.
we defined the relationship and typeprojection in our management pack:
<RelationshipType ID="NutzendeOU" Accessibility="Public" Abstract="false" Base="System!System.Reference">
<Source ID="Source_Service" MinCardinality="0" MaxCardinality="2147483647" Type="Designer!Microsoft.SystemCenter.BusinessService" />
<Target ID="Target_OUs" MinCardinality="0" MaxCardinality="2147483647" Type="Windows!Microsoft.AD.UserBase" />
</RelationshipType>
<Component Path="$Context/Path[Relationship='UKA_SM_ClassUnternehmensdienst!NutzendeOU']$" Alias="ComponentAlias_NutzendeOU" />
and tried to use InstancePicker from smcontrols (but it didnt work or something missed)
<!-- Relation -->
<smcontrols:InstancePicker Grid.Column="0" Grid.Row="3" />
I dont know how to bind the relationship in instancepicker because the properties from singleinstancepicker are not the same.
I'm not sure if this is correct. It's my first time and I tried to copy from our existing ClassExtension.
We use Visual Studio 2016(16.11.17) with Visual Studio Authoring Extension and smcontrols.
MS SCSM 2016
Thanks for your help.
Sarah