Virtual Learning Platforms Thread, Using Visual Studio to create Sharepoint (WSS) workflows in Technical; Have many sharepoint users had a need to create custom workflows in VS?
I need to create a workflow that ...
11th May 2009, 08:51 PM #1
Using Visual Studio to create Sharepoint (WSS) workflows
Have many sharepoint users had a need to create custom workflows in VS?
I need to create a workflow that will modify permissions on an item dependent upon that state of various fields in a list. Eg when field_a=true then set permissions xyz and so on.
This tutorial seems to be going in the right direction of what I want: Enabling Data-Driven Permissions in SharePoint Using Windows Workflow Richard Seroterís Architecture Musings
From what I've read, I think I'd also need to tweak this to run with elevated permissions as workflows usually run in the context of the user (right?).
I downloaded the WSS3 development image for Virtual Server and had a go at following the instructions on the blog. For someone that hasn't used VS2k8 or had any experience of developing workflows this was an up-hill struggle.
Before I persevere any more with this I was hoping someone could take a look at the sample code and just let me know whether it should run on WSS ok. I don't think there should be any MOSS-specific dependencies, but I had to remove a couple of lines from the VS SP WF template to get it to compile on a WSS machine as per: SharePoint ShareNotes ShareThoughts !!!: The type or namespace name 'Office' does not exist in the namespace 'Microsoft'
Any advice much appreciated, Thanks.
12th May 2009, 05:06 PM #2
That sample code should run on WSS fine, there's no MOSS specific stuff in there except in the feature.xml file. You can just remove the workflow receiver entries and it will still work.
12th May 2009, 05:09 PM #3
That's promising, thanks Richard. Will give it another go.
By RobFuller in forum Virtual Learning Platforms
Last Post: 9th March 2009, 12:13 PM
By SSFC in forum How do you do....it?
Last Post: 26th January 2009, 08:54 AM
By walker01642 in forum Windows
Last Post: 21st January 2009, 02:28 PM
By russdev in forum Coding
Last Post: 12th February 2007, 11:22 AM
By markwilliamson2001 in forum Windows
Last Post: 15th September 2005, 01:28 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)