how to create an instance picker like 'relatedItems' as Class extension for SCSM

Geihs, Sarah 0 Reputation points
2023-03-21T13:26:17.75+00:00

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.

Unbenannt

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

Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
237 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.