Creating a SharePoint site from a process

Last post 07-18-2008, 3:00 AM by Jochen. 3 replies.
Sort Posts: Previous Next
  •  02-07-2008, 11:25 AM 21729

    Creating a SharePoint site from a process

    Hi all

    I have a process that passes through some approval stages (that seem to work fine) and at the end should create a sharepoint workspace in a specific area, using a custom template, named with a unique name from the data fields.  Everytime I get to this part it errors saying the site already exists but it doesn't.  I'm wondering if I've got some of the values in the wizard wrong. I've got...

    first screen
    Create New Site

    second screen
    SharePoint Site URL = 'http://servername/site1/site2' (this is to be the parent site containing all the workspaces)
    Process Field = 'Workspace URL' (datafield to save url into)

    third screen
    Title - 'Ref' (datafield of unique name)
    Description = ''
    URL Name -'Ref' (as above)
    Template - Custom workspace template 

    I'd like to end up with sites created like:
    http://servername/site1/site2/Ref1
    http://servername/site1/site2/Ref2
    http://servername/site1/site2/Ref3 etc

    The error is saying that 'http://servername/site1/site2' already exists.  Why isn't it adding the Ref on to the URL before creating the site?

    I'm using Black Pearl SP1 with MOSS SP1.  I think I've given every bit of info possible but if there's anything more you need, please ask. 

    Thanks for any help anyone can give!
    P

     

  •  02-07-2008, 9:43 PM 21744 in reply to 21729

    • erice is not online. Last active: 08-19-2008, 5:11 AM erice
    • Not Ranked
    • Joined on 06-14-2007
    • Atlanta, GA - USA
    • Posts 15
    • Points 25

    Re: Creating a SharePoint site from a process

    Your wizard setup looks correct.  Have you validated that the Ref datafield actually contains data?  If the field is null or blank, it will try to create the .../site2 site again since it isn't appending anything to the URL.

  •  02-08-2008, 4:17 AM 21749 in reply to 21744

    Re: Creating a SharePoint site from a process

    That was it exactly!  I'd (very cleverly!) forgotton to set the Ref data field in the approval step.

    It's working perfectly now!  Thanks for your help!

    P

  •  07-18-2008, 3:00 AM 24955 in reply to 21749

    Re: Creating a SharePoint site from a process

    Hi P

    How can you use a custom template to create a sharepoint site? I always get an error by doing this. Do I have to deploy the custom template before to MOSS, or something like this?

    thanks, Jochen

View as RSS news feed in XML