Skip to main content

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


 

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.


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


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


Reply