Mihai Sarbulescu's System Center Blog

let's play with System Center

Custom Activity with User Picker in Service Manager 2012

Custom Activity with User Picker in Service Manager 2012

  • Comments 2
  • Likes

Well, so we need to create an extended Manual Activity Class/Form or a brand new custom Activity Class/Form and we want to have a new User Picker (or Single Instance Picker) on the Form to be able to select a User (or CI) which is somehow related to this Activity. Pretty easy huh? Well ... yeah, but there's something that we still need to do extra in Notepad (or your favorite XML editor) after we are done with this in the Authoring Console.

I am going to consider that you "know" the next steps having read the SM 2012 Authoring Guide.

1. So let's start in the SM 2012 Authoring Console and create a new Management Pack which we will name MyCustomActivityMP.

2. Create a new class which has the Activity class as base and call this MyActivity

3. Now delete the automatically created property Property_33.

4. Create a new Relationship for the MyActivity class and call this MyUserRelationship.

5. Now for the MyUserRelationship relationship, choose Domain User or Group (for example) as target class

6. Now create a new Form, choose your new class MyActivity as target class and call the new form MyActivityForm.

7. Add a new User Picker control to the MyActivityForm and now choose MyUserRelationship from the MyActivity class as Binding Path for the User Picker.

Aaand we are done! ... no wait ... we are not done, it seams that if import this MP and try to use it we won't get our associated user saved in an Activity of our new type. But why is this? Well as you may have noticed we did not create a new Property in our class to achieve this, but instead we created a new Relationship. For other objects to "know" about new relationships, these need to be included as components of TypeProjections. So what we need to do now is to somehow make sure that we include our new relationship to the "default" TypeProjection definition of the Activity Tab Form Type Projections which is defined for the Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Controls.ActivityControl form and in the Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Forms.ManualActivityForm form. So you need to also perform the next steps in the Authoring Console so that you will have the TypeProjection definition for both of these components in your Management Pack  MyCustomActivityMP.

8. In the Class Browser look in Forms for the Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Controls.ActivityControl form and choose View, then Customize and choose the current MP for saving the customization MyCustomActivityMP (this can be also done on a separate MP but then you need to have this one sealed and the new one will reference this one, etc. - check the Authoring Guide).

9. Now do the exact same thing for the Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Forms.ManualActivityForm form.

10. Cool - now save the Management Pack and close the SM 2012 Authoring Console.

11. We need to add the new Relationship now to the TypeProjection definitions but we cannot do this from the Authoring Console so we will open our new MyCustomActivityMP MP in our favorite XML editor or Notepad.

12. Look for the definition of the MyUserRelationship, which in this example looks like this:

<RelationshipType ID="MyUserRelationship" Accessibility="Public" Abstract="false" Base="System!System.Reference">
   <Source ID="Source_71260dc2_94e5_44e9_928b_a3fd7fc36fce" MinCardinality="0" MaxCardinality="2147483647" Type="MyActivity" />
   <Target ID="Target_9ab71906_fd67_43ea_9f8c_31f0886fa204" MinCardinality="0" MaxCardinality="1" Type="System!System.Domain.User" />
</RelationshipType>

13. We need to change the Source Type of this Relationship to be System.WorkItem.Activity, but to be able to do this, we need to know the Alias of the System.WorkItem.Activity.Library MP, so we check it's reference which looks like this:

<Reference Alias="Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf">
   <ID>System.WorkItem.Activity.Library</ID>
   <Version>7.5.2905.0</Version>
   <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>

14. Cool so we can see that the Alias for the System.WorkItem.Activity.Library MP is Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf and now using this we can change the Source Type of our Relationship - like in this example:

<RelationshipType ID="MyUserRelationship" Accessibility="Public" Abstract="false" Base="System!System.Reference">
   <Source ID="Source_71260dc2_94e5_44e9_928b_a3fd7fc36fce" MinCardinality="0" MaxCardinality="2147483647" Type="Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItem.Activity" />
   <Target ID="Target_9ab71906_fd67_43ea_9f8c_31f0886fa204" MinCardinality="0" MaxCardinality="1" Type="System!System.Domain.User" />
</RelationshipType>

15. Good, so now we need to add our new component (Relationship) to the 2 other TypeProjections - but to be able to add this, we need to get the Alias which was generated for our own TypeProjections for our class MyActivity - so we check this:

<TypeProjection ID="MyActivityForm_TypeProjection" Accessibility="Public" Type="MyActivity">
   <Component Path="$Context/Path[Relationship='MyUserRelationship']$" Alias="ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289" />
</TypeProjection>

16. We can see now that the Alias we need to use for our component is ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289 and we can observe the fact that we see that this Alias is used for the Binding Path of our User Picker in our own custom Form:

<Form ID="MyActivityForm" Accessibility="Public" Target="MyActivityForm_TypeProjection" Assembly="Alias_c664c5b8_c5c3_4afb_a5ec_e630bc38dcd7!AuthoringFormsAssembly" TypeName="Microsoft.EnterpriseManagement.ServiceManager.Authoring.Forms.EmptyForm">
   <Category>Form</Category>
   <Customization>
      <AddControl Parent="Grid_1" Assembly="Microsoft.EnterpriseManagement.UI.SMControls, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="Microsoft.EnterpriseManagement.UI.WpfControls.UserPicker" Left="209" Top="97" Right="211" Bottom="663" Row="0" Column="0" />
      <PropertyChange Object="UserPicker_1" Property="Width">
         <NewValue>Auto</NewValue>
      </PropertyChange>
      <PropertyChange Object="UserPicker_1" Property="VerticalAlignment">
         <NewValue>Top</NewValue>
      </PropertyChange>
      <PropertyChange Object="UserPicker_1" Property="Margin">
         <NewValue>209,97,211,0</NewValue>
      </PropertyChange>
      <PropertyBindingChange Object="UserPicker_1" Property="User">
         <NewBinding Enabled="True" Path="ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289" Mode="TwoWay" BindsDirectlyToSource="False" UpdateSourceTrigger="Default" />
      </PropertyBindingChange>
   </Customization>
</Form>

17. Now we will add our Relationship as a component of the TypeProjection of the System.WorkItem.Activity.ManualActivity class - so this should now look like this:

<TypeProjection ID="CustomForm_cd939457_b426_4102_900f_32d0a996f336_TypeProjection" Accessibility="Public" Type="Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItem.Activity.ManualActivity">
   <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity' SeedRole='Target']$" Alias="ParentWorkItem" />
   <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemCreatedByUser']$" Alias="ActivityCreatedBy" />
   <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="ActivityAssignedTo" />
   <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAboutConfigItem']$" Alias="ActivityAboutConfigItem" />
   <Component Path="$Context/Path[Relationship='MyUserRelationship']$" Alias="ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289" />
</TypeProjection>

18. And now the last step is to add our Relationship as a sub-component of *EVERY* System.WorkItemContainsActivity compoment of the System.WorkItem TypeProjection - like in this example (should be 4 places to add this):

<TypeProjection ID="CustomForm_727f5557_5b16_4dac_bf30_f7494ea68ccf_TypeProjection" Accessibility="Public" Type="Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItem">
   <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity']$" Alias="Activity">
      <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity' SeedRole='Target']$" Alias="ParentWorkItem" />
      <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemCreatedByUser']$" Alias="ActivityCreatedBy" />
      <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="ActivityAssignedTo" />
      <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ActivityCanBeEditedByUser']$" Alias="ActivityCanBeEditedBy" />
      <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAboutConfigItem']$" Alias="ActivityAboutConfigItem" />
      <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.DependentActivityDependsOnWorkItem' SeedRole='Target']$" Alias="DependentActivity" />
      <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToConfigItem']$" Alias="RelatedConfigItem" />
      <Component Path="$Context/Path[Relationship='MyUserRelationship']$" Alias="ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289" />
      <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem']$" Alias="RelatedWorkItem">
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
      </Component>
      <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem' SeedRole='Target']$" Alias="RelatedWorkItemSource">
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
      </Component>
      <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemHasFileAttachment']$" Alias="FileAttachment">
         <Component Path="$Context/Path[Relationship='Alias_8ad383fe_57ca_49c3_9020_ec5608a3b7b6!System.FileAttachmentAddedByUser']$" Alias="FileAttachmentAddedBy" />
      </Component>
      <Component Path="$Context/Path[Relationship='Alias_9256840e_97a8_48ef_bf9e_203abe8deda4!System.EntityLinksToKnowledgeDocument']$" Alias="RelatedKnowledge" />
      <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewActivityHasReviewer']$" Alias="Reviewer">
         <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerIsUser']$" Alias="User" />
         <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerVotedByUser']$" Alias="VotedBy" />
      </Component>
      <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity']$" Alias="Activity">
         <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity' SeedRole='Target']$" Alias="ParentWorkItem" />
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemCreatedByUser']$" Alias="ActivityCreatedBy" />
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="ActivityAssignedTo" />
         <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ActivityCanBeEditedByUser']$" Alias="ActivityCanBeEditedBy" />
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAboutConfigItem']$" Alias="ActivityAboutConfigItem" />
         <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.DependentActivityDependsOnWorkItem' SeedRole='Target']$" Alias="DependentActivity" />
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToConfigItem']$" Alias="RelatedConfigItem" />
         <Component Path="$Context/Path[Relationship='MyUserRelationship']$" Alias="ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289" />
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem']$" Alias="RelatedWorkItem">
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
         </Component>
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem' SeedRole='Target']$" Alias="RelatedWorkItemSource">
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
         </Component>
         <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemHasFileAttachment']$" Alias="FileAttachment">
            <Component Path="$Context/Path[Relationship='Alias_8ad383fe_57ca_49c3_9020_ec5608a3b7b6!System.FileAttachmentAddedByUser']$" Alias="FileAttachmentAddedBy" />
         </Component>
         <Component Path="$Context/Path[Relationship='Alias_9256840e_97a8_48ef_bf9e_203abe8deda4!System.EntityLinksToKnowledgeDocument']$" Alias="RelatedKnowledge" />
         <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewActivityHasReviewer']$" Alias="Reviewer">
            <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerIsUser']$" Alias="User" />
            <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerVotedByUser']$" Alias="VotedBy" />
         </Component>
         <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity']$" Alias="Activity">
            <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity' SeedRole='Target']$" Alias="ParentWorkItem" />
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemCreatedByUser']$" Alias="ActivityCreatedBy" />
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="ActivityAssignedTo" />
            <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ActivityCanBeEditedByUser']$" Alias="ActivityCanBeEditedBy" />
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAboutConfigItem']$" Alias="ActivityAboutConfigItem" />
            <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.DependentActivityDependsOnWorkItem' SeedRole='Target']$" Alias="DependentActivity" />
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToConfigItem']$" Alias="RelatedConfigItem" />
            <Component Path="$Context/Path[Relationship='MyUserRelationship']$" Alias="ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289" />
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem']$" Alias="RelatedWorkItem">
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
            </Component>
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem' SeedRole='Target']$" Alias="RelatedWorkItemSource">
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
            </Component>
            <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemHasFileAttachment']$" Alias="FileAttachment">
               <Component Path="$Context/Path[Relationship='Alias_8ad383fe_57ca_49c3_9020_ec5608a3b7b6!System.FileAttachmentAddedByUser']$" Alias="FileAttachmentAddedBy" />
            </Component>
            <Component Path="$Context/Path[Relationship='Alias_9256840e_97a8_48ef_bf9e_203abe8deda4!System.EntityLinksToKnowledgeDocument']$" Alias="RelatedKnowledge" />
            <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewActivityHasReviewer']$" Alias="Reviewer">
               <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerIsUser']$" Alias="User" />
               <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerVotedByUser']$" Alias="VotedBy" />
            </Component>
            <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity']$" Alias="Activity">
               <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.WorkItemContainsActivity' SeedRole='Target']$" Alias="ParentWorkItem" />
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemCreatedByUser']$" Alias="ActivityCreatedBy" />
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="ActivityAssignedTo" />
               <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ActivityCanBeEditedByUser']$" Alias="ActivityCanBeEditedBy" />
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAboutConfigItem']$" Alias="ActivityAboutConfigItem" />
               <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.DependentActivityDependsOnWorkItem' SeedRole='Target']$" Alias="DependentActivity" />
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToConfigItem']$" Alias="RelatedConfigItem" />
               <Component Path="$Context/Path[Relationship='MyUserRelationship']$" Alias="ComponentAlias_a3638c45_8c3f_4b60_a380_68b4354fe289" />
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem']$" Alias="RelatedWorkItem">
                  <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
               </Component>
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemRelatesToWorkItem' SeedRole='Target']$" Alias="RelatedWorkItemSource">
                  <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemAssignedToUser']$" Alias="RelatedWorkItemAssignedTo" />
               </Component>
               <Component Path="$Context/Path[Relationship='Alias_87edd48e_cd87_4615_8185_9bca28f3ece1!System.WorkItemHasFileAttachment']$" Alias="FileAttachment">
                  <Component Path="$Context/Path[Relationship='Alias_8ad383fe_57ca_49c3_9020_ec5608a3b7b6!System.FileAttachmentAddedByUser']$" Alias="FileAttachmentAddedBy" />
               </Component>
               <Component Path="$Context/Path[Relationship='Alias_9256840e_97a8_48ef_bf9e_203abe8deda4!System.EntityLinksToKnowledgeDocument']$" Alias="RelatedKnowledge" />
               <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewActivityHasReviewer']$" Alias="Reviewer">
                  <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerIsUser']$" Alias="User" />
                  <Component Path="$Context/Path[Relationship='Alias_28b710d2_9c07_45e9_a81c_a2b70283c9cf!System.ReviewerVotedByUser']$" Alias="VotedBy" />
               </Component>
            </Component>
         </Component>
      </Component>
   </Component>
</TypeProjection>

19. Well now ... we are done! Save this, import and have fun with it!

You need to do this for *every* kind of Relationship you want to add (User Picker or Single Instance Picker). 

 

 Just in case you are wondering why we have 4 entries in the System.WorkItem TypeProjection, it is because of the maximum 4 level of Activity contains Activity relationship "depth".

I have also included a SAMPLE Management Pack which is attached so you can have a look at it and get the general idea on how this should "look".

 

Happy Authoring!

Attachment: MyCustomActivity.xml
  • Hi Mihai ! - Great Blog entry, some questions on it.

    1.) What are the effects of not doing it ? - simply no stored Users ?

    2.) If i have an extended Manual Activity and use it as an activity of a Service Request in a template, do i have to modify the type projection of the Service reuqest ?

    3.) Same with changes i guess ...

    Thanks / R.

  • Hi Roman!

    Sorry, just noticed now that I had auto-approval for comments off ...

    1. yes, it would totally make no point of creating this extension because it could not be used (User does not get saved)

    2. With all the modifications above, it will work in every situation we have tested

    3. same as 2 :D

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
Search
Blog - Link List

Official System Center Blogs

Need to read Blogs