Tuesday, April 01, 2008

Question: STSADM CreateWeb Does not Add to QuickLaunch

We have been in the process of creating scripts for deploying our SharePoint portal. We first scripted out the Site Collection using "stsadm -o createsiteinnewdb" so we can keep our organizations in their own content database. Nested with deach createsiteinnewdb call were multiple "stsadm -o createweb" calls for each organizations divisions to have their own subsite. Here is the kicker. Using stsadm to create subsites does not add the subsite to the quick launch under Sites.

Does anyone know how to script this out...it works using the GUI but that means we will have to create 30+ subsites using the GUI...I'd rather script it out.

2 comments:

  1. I'm having the same problem. And I've noticed that there are a few such parameters for every command that need to be "finished up" in the GUI. This has been an ongoing frustration for our dev/rollout team. In our case it's adding the created subsites to the top bar.

    The fact that this question has not been answered in over a year has me worried for our options.

    One thing you could consider if this is still an issue is something like AutoIt. We're cobbling together an internal solution and this looks promising. I will post the results.

    ReplyDelete
  2. oops. "a few such MISSING parameters"

    ReplyDelete