17.4. Creating Your Add-In
Chapters 9 and 15 showed you how to build workflows using SharePoint Designer with built-in and custom-written actions. While those workflows are powerful, they are not easily portable. In fact, those workflows cannot be associated with any other lists or document libraries, as built-in workflows or Visual Studio–created workflows can. However, by exporting the workflow files and making a few modifications, these SharePoint Designer–created workflows can be transformed into Visual Studio workflows.
To create a SharePoint Designer add-in, open Visual Studio 2008 and select File New Project. The New Project dialog (Figure 17-5) appears. Select either Visual C# or Visual Basic from the Project types list, and select SharePoint Designer 2007 Add-in Project from the templates list. Enter SPDWorkflowExporter as the name for the Project, and click the OK button.
Figure 17-5. Figure 17-5
Because the Project templates are not marked as safe in the Registry, the Security Warning dialog shown in Figure 17-6 will appear. Select the option Load Project normally, and click the OK button. You can click More Details if you want instructions on disabling the warning for ...
Get Professional Microsoft® SharePoint® Designer 2007 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.