Configuration Steps

  • Create a folder on the computer with SCSM Console
  • Copy PublishWI.exe to that folder
  • Take the following two SharePoint 2010 dlls from your SharePoint Server C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI
    • Microsoft.SharePoint.Client.dll
    • Microsoft.SharePoint.Client.Runtime.dll
  • Paste them into the folder with the PublishWI.exe file
  • Configure a new console task in SCSM
    • Select the "Work Item" class as the target class for this task
    • Select the folders where this task will be visible. I would recommend to use it with Change Management folder - it will allow to use this task with Change Requests. You can also add a Manual Activities folder if you want to publish information about Manual Activities.
    • Provide the full path to the PublishWI.exe
    • Add WorkItem->WirkItem->ID property to the parameters box. Add the URL to the sharepoint site and the name of the Calendar List as described below
    • The parameters string should loook like that:
      • $Context/PropertyType='CustomSystem_WorkItem_Library!System.WorkItem'/Id$ http://itweb Calendar
    • Complete the configuration of the task
  • Open existing Change Request or Manual Activity form in SCSM
  • Check the Scheduled Start and End Dates (including time) and modify them as necessary
  • Save modified CR or MA
  • Click task you added in the previous steps
  • See a new event on the SharePoint calendar you selected for this task

Usage

PublishWI WiId SharepointURL CalendarListName

Parameters

WiId - Work Item (WI) Identifier. Example: CR123
SharepointURL - URL to the sharepoint site containing the calendar you want to publish WI to, such as http://www.sharepoint.com
CalendarName - the name of the calendar list, such as Calendar, "Change Calendar". You can use double quotes if the name of the calendar contains spaces.

Examples

PublishWI CR123 http://itweb Calendar
Publishes Change Request CR123 to the Calendar list at the http://itweb SharePoint site

PublishWI CR321 http://businessweb "IT Change Calendar"
Publishes Change Request CR321 to the "IT Change Calendar" calendar list at the http://businessweb SharePoint site

Last edited Jun 23, 2010 at 9:51 PM by vbakh, version 3

Comments

No comments yet.