Home
%3CLINGO-SUB%20id%3D%22lingo-sub-974391%22%20slang%3D%22en-US%22%3ECreating%20a%20Workflow%20Activity%20Library%20and%20Activity%20Part%202%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-974391%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20May%2012%2C%202016%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20This%20post%20is%20in%20continuation%20of%20the%20Post%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fconnector_space%2F2016%2F05%2F12%2Fcreating-a-workflow-activity-library-and-activity-part-1%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Creating%20a%20Workflow%20Activity%20Library%20and%20Activity%20Part%201%20%3C%2FA%3E%20This%20post%20will%20focus%20on%20Adding%20FIM%20Out-of-Box%20Activities%20to%20the%20Toolbox%20%3CBR%20%2F%3E%3CDIV%20class%3D%22section%22%20id%3D%22sectionSection1%22%3E%3CBR%20%2F%3E%20The%20following%20procedure%20shows%20how%20to%20add%20the%20FIM%20out-of-box%20activities%20to%20the%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20.%20Skip%20this%20procedure%20if%20there%20is%20already%20a%20tab%20in%20the%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20of%20your%20project%20that%20contains%20all%20the%20FIM%20activities%20from%20the%20ResourceManagement.dll%20assembly.%20%3CBR%20%2F%3E%3CH4%20class%3D%22subHeading%22%20id%3D%22toc-hId-1458697721%22%20id%3D%22toc-hId-1460483415%22%3ETo%20create%20a%20FIM%20Activities%20tab%20in%20the%20toolbox%3C%2FH4%3E%3CBR%20%2F%3E%3CDIV%20class%3D%22subSection%22%3E%3CBR%20%2F%3E%20If%20the%20%3CSTRONG%3E%20RequestLoggingActivity.cs%20%5BDesign%5D%20%3C%2FSTRONG%3E%20tab%20is%20not%20already%20open%2C%20right-click%20the%20%3CSTRONG%3E%20RequestLoggingActivity.cs%20%3C%2FSTRONG%3E%20file%20in%20%3CSTRONG%3E%20Solution%20Explorer%20%3C%2FSTRONG%3E%20%2C%20and%20then%20click%20%3CSTRONG%3E%20View%20Designer%20%3C%2FSTRONG%3E%20.%20%3CBR%20%2F%3E%20Click%20the%20%3CSTRONG%3E%20RequestLoggingActivity.cs%20%5BDesign%5D%20%3C%2FSTRONG%3E%20tab.%20%3CBR%20%2F%3E%20If%20the%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20is%20not%20open%2C%20on%20the%20%3CSTRONG%3E%20View%20%3C%2FSTRONG%3E%20menu%2C%20click%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20.%20%3CBR%20%2F%3E%3CIMG%20alt%3D%22OpenToolBox%22%20class%3D%22alignnone%20size-mediumlarge%20wp-image-2225%22%20height%3D%22350%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153709iB9346413ED150E17%22%20width%3D%22213%22%20%2F%3E%3CBR%20%2F%3EYou%20may%20wish%20to%20Pin%20the%20Toolbox%20to%20the%20left%20of%20the%20Screen%20by%20clicking%20on%20the%20Pin%20icon%20%3CBR%20%2F%3E%20%3CIMG%20alt%3D%22ToolBox%22%20class%3D%22alignnone%20size-full%20wp-image-2155%22%20height%3D%22291%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153710iCF859CD11D78139E%22%20width%3D%22319%22%20%2F%3E%20%3CBR%20%2F%3E%20Right-click%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20%2C%20and%20then%20click%20%3CSTRONG%3E%20Add%20Tab%20%3C%2FSTRONG%3E%20.%20Rename%20the%20new%20tab%20%3CSTRONG%3E%20FIM%20Activities%20%3C%2FSTRONG%3E%20.%20%3CBR%20%2F%3E%20Right-click%20the%20new%20tab%2C%20and%20then%20click%20%3CSTRONG%3E%20Choose%20Items%20%3C%2FSTRONG%3E%20.%20%3CBR%20%2F%3E%3CIMG%20alt%3D%22Choose%20Item%202%22%20class%3D%22alignnone%20size-mediumlarge%20wp-image-2226%22%20height%3D%22350%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153711i1C7428763806B535%22%20width%3D%22395%22%20%2F%3E%3CBR%20%2F%3EIf%20using%20%3CSPAN%20style%3D%22color%3A%20%23ff0000%22%3E%20%3CEM%3E%20%3CSTRONG%3E%20Visual%20Studios%202008%20%3C%2FSTRONG%3E%20%3C%2FEM%3E%20%3C%2FSPAN%3E%20or%20earlier%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EIn%20the%20%3CSTRONG%3E%20Choose%20Toolbar%20Items%20%3C%2FSTRONG%3E%20dialog%20box%2C%20click%20the%20%3CSTRONG%3E%20Activities%20%3C%2FSTRONG%3E%20tab%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%20If%20using%20%3CSPAN%20style%3D%22color%3A%20%233366ff%22%3E%20%3CSTRONG%3E%20%3CEM%3E%20Visual%20Studios%202010%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EIn%20the%20%3CSTRONG%3E%20Choose%20Toolbar%20Items%20%3C%2FSTRONG%3E%20dialog%20box%2C%20click%20the%20%3CSTRONG%3E%20System.Workflow.Component%20%3C%2FSTRONG%3E%20tab%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%20If%20using%20%3CSPAN%20style%3D%22color%3A%20%23000080%22%3E%20%3CSTRONG%3E%20%3CEM%3E%20Visual%20Studios%202010%20%3C%2FEM%3E%20or%20earlier%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EClick%20%3CSTRONG%3E%20Clear%20%3C%2FSTRONG%3E%20to%20remove%20other%20activities%20from%20the%20tab.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EClick%20%3CSTRONG%3E%20Browse%20%3C%2FSTRONG%3E%20%2C%20and%20then%20browse%20to%20the%20Microsoft.ResourceManagement.dll%20assembly%20that%20is%20installed%20with%20FIM.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3ESelect%20each%20check%20box%20next%20to%20the%20activities%20in%20the%20Microsoft.ResourceManagement.Workflows.Activities%20namespace%20that%20you%20want%20to%20include%20in%20the%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20.%20For%20information%20about%20which%20activities%20are%20supported%2C%20see%20%3CA%20href%3D%22https%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fmicrosoft.resourcemanagement.workflow.activities.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Microsoft.ResourceManagement.Workflow.Activities%20%3C%2FA%3E%20.%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EClick%20%3CSTRONG%3E%20OK%20%3C%2FSTRONG%3E%20.%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20If%20using%20%3CEM%3E%20%3CSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23339966%22%3E%20Visual%20Studios%202012%20%3C%2FSPAN%3E%20%3C%2FSTRONG%3E%20%3C%2FEM%3E%20%3CBR%20%2F%3E%20Navigate%20to%20the%20location%20of%20the%20Microsoft.Resources.dll%20file%20(remember%20the%20default%20location%20of%20this%20file%20is%20%22C%3A%5CProgram%20Files%5CMicrosoft%20Forefront%20Identity%20Manager%5C2010%5CService%22%2C%20unless%20you%20are%20working%20with%20Visual%20studios%20remotely%20than%20you%20will%20need%20to%20navigate%20to%20the%20location%20where%20you%20have%20a%20copy%20of%20this%20dll)%20%3CBR%20%2F%3E%20drag%20the%20%22Microsoft.ResourceManagement.dll%22%20to%20Toolbox%20within%20the%26nbsp%3B%20%22FIM%20Activities%22%20Tab.%20(If%20Tab%20does%20not%20exist%20see%20beginning%20of%20this%20post.)%20%3CBR%20%2F%3E%20%3CIMG%20alt%3D%22EMPTY%20toolbox%22%20class%3D%22alignnone%20size-full%20wp-image-2235%22%20height%3D%22326%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153712i20E7F8CABA3A3312%22%20width%3D%22255%22%20%2F%3E%20%3CBR%20%2F%3E%20Once%20you%20have%20completed%20the%20steps%20to%20get%20the%20%22Microsoft.ResourceManagement.dll%22%20to%20Toolbox%20within%20the%26nbsp%3B%20%22FIM%20Activities%22%20Tab%20you%20will%20see%20it%20get%20populated%20with%20a%20bunch%20of%20controls%20%3CBR%20%2F%3E%20%3CIMG%20alt%3D%22Controls%22%20class%3D%22alignnone%20size-mediumlarge%20wp-image-2245%22%20height%3D%22350%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153713iD05C535E7300DD52%22%20width%3D%22107%22%20%2F%3E%20%3CBR%20%2F%3E%20You%20now%20have%20a%20%3CSTRONG%3E%20FIM%20Activities%20%3C%2FSTRONG%3E%20tab%20in%20the%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20.%20You%20can%20specify%20the%20sequence%20of%20activities%20that%20define%20your%20custom%20activity%20by%20dragging%20and%20dropping%20FIM%20activities%20from%20the%20%3CSTRONG%3E%20Toolbox%20%3C%2FSTRONG%3E%20onto%20the%20design%20surface%20of%20that%20activity.%20%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FDIV%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-974391%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20May%2012%2C%202016%20This%20post%20is%20in%20continuation%20of%20the%20Post%20Creating%20a%20Workflow%20Activity%20Library%20and%20Activity%20Part%201%20This%20post%20will%20focus%20on%20Adding%20FIM%20Out-of-Box%20Activities%20to%20the%20ToolboxThe%20following%20procedure%20shows%20how%20to%20add%20the%20FIM%20out-of-box%20activities%20to%20the%20Toolbox.%3C%2FLINGO-TEASER%3E
Microsoft
First published on MSDN on May 12, 2016
This post is in continuation of the Post Creating a Workflow Activity Library and Activity Part 1 This post will focus on Adding FIM Out-of-Box Activities to the Toolbox

The following procedure shows how to add the FIM out-of-box activities to the Toolbox . Skip this procedure if there is already a tab in the Toolbox of your project that contains all the FIM activities from the ResourceManagement.dll assembly.

To create a FIM Activities tab in the toolbox



If the RequestLoggingActivity.cs [Design] tab is not already open, right-click the RequestLoggingActivity.cs file in Solution Explorer , and then click View Designer .
Click the RequestLoggingActivity.cs [Design] tab.
If the Toolbox is not open, on the View menu, click Toolbox .
OpenToolBox
You may wish to Pin the Toolbox to the left of the Screen by clicking on the Pin icon
ToolBox
Right-click Toolbox , and then click Add Tab . Rename the new tab FIM Activities .
Right-click the new tab, and then click Choose Items .
Choose Item 2
If using Visual Studios 2008 or earlier

  • In the Choose Toolbar Items dialog box, click the Activities tab


If using Visual Studios 2010

  • In the Choose Toolbar Items dialog box, click the System.Workflow.Component tab


If using Visual Studios 2010 or earlier


  • Click Clear to remove other activities from the tab.

  • Click Browse , and then browse to the Microsoft.ResourceManagement.dll assembly that is installed with FIM.

  • Select each check box next to the activities in the Microsoft.ResourceManagement.Workflows.Activities namespace that you want to include in the Toolbox . For information about which activities are supported, see Microsoft.ResourceManagement.Workflow.Activities .

  • Click OK .



If using Visual Studios 2012
Navigate to the location of the Microsoft.Resources.dll file (remember the default location of this file is "C:\Program Files\Microsoft Forefront Identity Manager\2010\Service", unless you are working with Visual studios remotely than you will need to navigate to the location where you have a copy of this dll)
drag the "Microsoft.ResourceManagement.dll" to Toolbox within the  "FIM Activities" Tab. (If Tab does not exist see beginning of this post.)
EMPTY toolbox
Once you have completed the steps to get the "Microsoft.ResourceManagement.dll" to Toolbox within the  "FIM Activities" Tab you will see it get populated with a bunch of controls
Controls
You now have a FIM Activities tab in the Toolbox . You can specify the sequence of activities that define your custom activity by dragging and dropping FIM activities from the Toolbox onto the design surface of that activity.