Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Title when extending a Web Application

  Asked By: Cameron Scott         Date: Nov 04, 2008      Category: Sharepoint      Views: 251
 

I'm am scripting my Sharepoint installation and am trying to set
the "title" when extending/creating the top level site. I am trying
(sample):

"C:\program files\common files\microsoft shared\web server
extensions\12\bin\stsadm.exe" -o extendvs -url http://url -
ownerlogin "domain\username" -owneremail "bwolin@..." -
exclusivelyusentlm -ownername "Wolin, Bob" -databaseserver SQL1 -
databasename Domain_WSS_Content -sitetemplate spsportal -
title "My Application" -description "Our Portal
Application" -sethostheader -apidname AnAppPool -apidtype
configurableid -apidlogin mossservice -apidpwd mossservicepassword.

STSADM doesn't like the "-title" parameter does anyone know how to
set the title?

Tagged:          

 

2 Answers Found

 
Answer #1       Answered By: Ada Sosa          Answered On: Nov 04, 2008       

There is no title  property for the extendvs command. I suspect it will default
to the name of the site  template the way it does when you create a site in SPD.
To set the title you'll need to include the -donotcreatesite switch which will
create the Web Application but not the site collection. Then use the CreateSite
command to create a site collection with a specific title for the top  level
site.

 
Answer #2       Answered By: Cheyenne Lewis          Answered On: Nov 04, 2008       

This will create the site  after using Paul's recommended approach of
-donotcreatesite:

stsadm.exe -o o createsite -url
http://portal.contoso.msft/<http://portal.contoso.msft/hr> -owneremail
administrator@...<mailto:administrator@...> -ownerlogin
contoso\administrator -ownername Administrator -sitetemplate  spsportal -title
"Contoso Portal"

 
Didn't find what you were looking for? Find more on Title when extending a Web Application Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].