+ Post New Thread
Results 1 to 3 of 3
Virtual Learning Platforms Thread, Using Visual Studio to create Sharepoint (WSS) workflows in Technical; ...
  1. #1
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32

    Question 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.

  2. #2
    rpwillis's Avatar
    Join Date
    Aug 2007
    Location
    SalamanderSoft Ltd
    Posts
    182
    Thank Post
    50
    Thanked 63 Times in 51 Posts
    Rep Power
    26
    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.

  3. #3
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32
    That's promising, thanks Richard. Will give it another go.

SHARE:
+ Post New Thread

Similar Threads

  1. Sharepoint Workflows
    By RobFuller in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 9th March 2009, 11:13 AM
  2. Visual Studio 2008
    By SSFC in forum How do you do....it?
    Replies: 9
    Last Post: 26th January 2009, 07:54 AM
  3. Visual Studio 8 problem
    By walker01642 in forum Windows
    Replies: 1
    Last Post: 21st January 2009, 01:28 PM
  4. Visual Studio 2005
    By russdev in forum Coding
    Replies: 14
    Last Post: 12th February 2007, 10:22 AM
  5. Visual Studio 2003
    By markwilliamson2001 in forum Windows
    Replies: 1
    Last Post: 15th September 2005, 12:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •