Can enable a site template for subsites via editing webtemp.xml but how do I change in my solution files?

I have a template wsp that I deploy then create a new top level site. The template is available perfectly.
I then try to create a subsite and the template isn't available. So I went to .../14/TEMPLATE/1033/XML/WEBTEMP.XML
I added in my template...
<Template Name="MYTEMPLATE" SetupPath="SiteTemplates\MyTemplate" ID="202">
<Configuration ID="0" Title="My Site Title" Hidden="FALSE" ImageUrl="" Description="A site I created."></Configuration>
</Template>
Now after an IIS reset the templates show under the "Custom" tab perfectly.
BUT the question is what file do I change in my actual solution files before I package everything up? What would add this to the webtemp.xml automatically for me when my solution is deployed?
Thanks,

The terminology is confusing, but what you are actually adding is a "Site Definition".  Site Templates are .wsp files that can be saved as a snapshot of an existing site for re-use.  These .wsp files are stored in the site template gallery of a
site collection.  There are also Web Templates that are similar to Site Definitions since they use an ONET.XML file, but they are activated using a Feature.  Together Site Definitions, Site Templates, and Web Templates are known as Site Templates
in the User Interface.  But each one is deployed and activated differently.  Site Devfinitions are normally added to the environment by using Module features to deploy the site definition in its own subdirectory where the other site definitions are
stored.  A custom webtemp file is also deployed instead of editing the existing file.  SahrePoint will pick up any file that is stored in that location that starts with webtemp and ends in .xml.  So you can deploy a new webtemp file called Webtemp_custom.xml.
If you are actually deploying a site template then you just upload it to the site template gallery of the site collection.  If you still aren't seeing it in the custom tab then its probably because the root site has restricted the available site templates
for creating subsites.  This is common in Publishing sites, but can be done in any site.  In Publishing sites there is a link on the site settings page that you can use to select what site templates are available to create sub sites.  In non-publishing
sites it requires powershell
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.

Similar Messages

  • Can you import custom templates for keynote?

    Can you import custom templates for keynote?

    Yes you can. You can import a Motion project file directly into DVD Studio Pro, though when I tried it took a loooooong time (depends on the size and complexity of the project of course). Here's a tutorial on how to do that:
    http://www.wonderhowto.com/how-to-use-dvd-studio-pro-4-with-motion-53426/
    OR... you can just export your Motion project and import it into DVD SP as a Quicktime file, and put that in the Menu section. Then you can add your buttons and so forth and proceed from there.
    I hope this helps. Good luck!

  • Can we implement site catalyst for Remote desktop app like MS dynamics NAV?

    Can we implement site catalyst for Remote desktop app like MS dynamics NAV?
    please throw some insight

    Hi,
    Thank you for posting in Windows Server Forum.
    Does this happens for this particular application?
    For a test you can publish Notepad\WordPad as RemoteApp and check whether facing same issue. Please check the result and let us know. If it’s working normally then might seems there is some configuration issue with MS Dynamics App. 
    Does this happens for all user or specific users?
    Which version of RDP Client you are using for client system?
    Try to install RDP 8.1 for better feature.
    Update for RemoteApp and Desktop Connections feature is available for Windows
    http://support.microsoft.com/kb/2830477
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • I've got a power cable from my 2011 macbook air which I would like to use as a spare cable for my new 2013 macbook pro, but the design has changed.  Is there an adapter available so that I can use it?

    I've got a power cable from my 2011 macbook air which I would like to use as a spare cable for my new 2013 macbook pro, but the design has changed.  Is there an adapter available so that I can use it?

    Welcome to the Apple Support Communities
    Use the MagSafe to MagSafe 2 Converter > http://store.apple.com/us/product/MD504ZM/A/magsafe-to-magsafe-2-converter?fnode =51 However, note that the MacBook Air doesn't provide enough energy to charge the MacBook Pro with Retina display, so it could not work

  • I need to install software on a computer without a dvd drive.  Where can I find the download for the student edition?

    I need to install software on a computer without a dvd drive.  Where can I find the download for the student edition?

    Perhaps you can copy it using a different computer, from the disk to a USB key.
    However, external DVD drives are cheap and in my view essential.

  • My external drive won't mount. Disk Utility says it can't repair disk and to backup the disk and reformat, but how can I do that if it won't mount?

    My external drive won't mount. Disk Utility says it can't repair disk and to backup the disk and reformat, but how can I do that if it won't mount?

    See mount section in 1st linked article.
    Disk Unmount Using Terminal
    Disk Utility – Force Mount Disk

  • Hey, I've got an iphone from a friend cause it was locked to O2 and she was moving to Spain for 5 years.... How do I change the Apple ID? Appreciate any help! :)) Thankss

    Hey, I've got an iphone from a friend cause it was locked to O2 and she was moving to Spain for 5 years.... How do I change the Apple ID? Appreciate any help! :))
    Thankss

    Thank you for responding to my question so promptly!  My Apple ID for my iCloud account on my MacBook is the correct (i.e. my @mac.com) email address.  Do I need to sign out and then sign back in after I have changed/updated my details on my iPad?
    When I look at the 'Mail, Contacts, Calendars' details on my iPad under the heading 'Accounts' it first shows my @me.com account and the items under that account are 'Mail, Contacts, Calendars, Reminders, Notes, Find My iPad' - when I expand the account details it shows that my iCloud Account is actually my @mac.com email adddress.
    The second entry is iCloud which is currently my @gmail.com account.  Under this account are 'Contacts, Calendars, Bookmarks, Reminders, PhotoStream, Documents & Data, Backup.
    The third account is headed Gmail and is, indeed, my @gmail.com account, too.  Under this account it shows 'Mail, Calendars, Notes'.
    Am I correct in suspecting that the reason for my having multiple occurrences of both events in Calendars and people in Contacts is because more than one account is syncing Contacts and Calendars?
    Thank you for your help
    Cheers
    Tricia

  • In Office for Mac 2011 After creating a Button how do I change its shape without triggering its assigned macro?

    In Office for Mac 2011, after creating a button how do I change its shape without triggering its assigned macro?

    For questions about Microsoft's tools, it would be best to ask in the Microsoft Support Forums. They would likely have more experience than people here.

  • How to save site template with subsites..?

    Hi,
    I am trying to save site as template., and found that subsites are not part of that site template..
    Can anybody tell me how can I save site as template with subsites.?...
    Thanks,
    Parag

    As Paul said you can only save a single site at a time.  I'm not sure specifically what you are trying to do, but it wouldn't be terribly difficult to write some code which provisions a site with specific subsites.  I've seen this type of scenario
    handled many times via both manual and automated processes.  It all just depends on the requirements.John Ross
    SharePoint Server MVP | Sr. Consultant SharePoint911:
    SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/john
    Twitter: @JohnRossJr
    Professional SharePoint 2010 Branding and User Interface Design

  • How to create a site template with subsites on SharePoint Online (2013, wave 15)

    I need to create a site template of a site that contains 4 subsites.
    I have tried saving the parent site as a "site template", but when i create a new site based on this template, I don't get any of the subsites created.
    Anyone knows why the subsites are not included in the template?
    Thank you!
    José

    That is by design.  Site templates are a template for a specific site within a site collection and never include sub-sites.  In an On-premises environment you could create a Portal Site Template, but this won't work in SharePoint Online.  To
    build something equivalent in SharePoint online you would either need to use a Sandbox solution or custom client side code.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Visual Upgrade to 2013 - Missing Site Templates for ITTEAM and PROJSING

    I've been working on Upgrading some old WSS 3 sites to SharePoint 2013.   I Have been able to get all of them imported to SharePoint 2010,and then have imported them all to my Sharepoint 2013 server. Now at the to of all of my sites is the  Experience
    all that SharePoint 2013 has to offer. Start
    now or Remind
    me later tag line.  I Click the Start Now option and it goes though its Checks and comes back with:
    Missing Site Templates
    The following sites are using templates that are not yet supported after upgrade:
    http://<site>/it/Projects - ITTEAM#0
    http://<site>/it/webservices - PROJSING#0
    I understand that those Fab 40 Templates are no longer available to create in 2013, though what can I do with the Existing content that I have? Seems wrong to Leave it at the 2010 Visual Representation. 
    For this one Sharepoint Site I could recreate the 2 Webs. Though on another Sharepoint site there are 123 sub sites with the sa,e two templates. I can't Abandon them.  Is there a way to convert them to a new template first?  How can I do the Upgrade
    and keep my content? If I have to use a new template for new sin sites, I'm fine, I just don't want to lose what I have.
    Thanks!

    Hi  Scooter,
    For upgrading Windows SharePoint Services 3.0 to SharePoint 2013, you can refer to the steps as below:
    1.First upgrade:
    Upgrade the content to Microsoft Office SharePoint Server 2007
    http://www.fpweb.net/support/microsoft-sharepoint/tutorials/wss-to-moss-migration/
    2.
    Second upgrade: Upgrade the content to SharePoint Server 2010 Products
    If your environment is SharePoint 2007 32 bit, you need to upgrade your SharePoint 2007 32 bit to SharePoint 2007 64 bit firstly.
    http://bhavinsharepoint.wordpress.com/2011/09/07/step-by-step-migration-from-moss-2007-to-sharepoint-2010/
    http://badarinathanagaraja.wordpress.com/2010/06/11/upgrade-from-sharepoint-2007-to-sharepoint-2010-environment/
    3.
    Third upgrade: Upgrade the content to SharePoint Server 2013 Products.
    http://technet.microsoft.com/en-us/library/cc262483.aspx
    http://epmsource.com/2013/05/02/migrating-ps-2010-to-ps-2013-walkthrough/
    Reference:
    http://blogs.technet.com/b/praveenh/archive/2013/10/31/upgrading-from-wss-2-0-to-sharepoint-2013.aspx
    http://technet.microsoft.com/en-us/library/ee947141.aspx
    Also make sure you are upgrading to SharePoint 2013 Standard or Enterprise edition for your site templates working. You can have a look at the thread:
    http://social.technet.microsoft.com/Forums/en-US/caeb109b-f62b-4898-b84d-68f2f9feb872/site-templates-missing-in-sharepoint-2013-foundations?forum=sharepointadmin
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Hi, where can I find more templates for numbers?

    I wonder if anyone knows where can I find more tmplates for Numbers?

    From my point of view, the best source of templates is the chapter 12 of Numbers User Guide.
    Yvan KOENIG (VALLAURIS, France) mercredi 22 juin 2011 12:04:16
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I have the latest version of iPhoto and now I don't have the Apple templates for emailing photos.  What happened?  How can I get them back?

    I have the latest version of iPhoto and somehow I have lost the ability to use the Apple iPhoto templates for emailing photos.  I select my photos, go to Share, go to email, and the templates used to pop up.  Now the photos go directly to email.  Does anyone know how I can get the templates back?

    I encountered the same issue after an upgrade of iPhoto, and it was resolved by clicking on the "iPhoto" button on the menu on the top left of your screen, then "preferences", and in the very first window (General), select the very last pull-down menu "email photos using".
    There, you can select various email providers, aol (if set-up), Microsoft outlook, etc... and of course, iPhoto (which should be the very first choice on the pull-down menu).
    Select iPhoto, and you will immediately be able to use the templates and make cool cards when emailing your photos from iPhoto.
    I hope this helps if your question has not yet been answered.

  • Where can I download additional templates for Numbers '08?

    Does anyone know where I can find additional templates for iWork 08's Numbers? I find the ones that are included with the software to be so helpful. I figure there's bound to be more out there that could prove even more helpful.
    Many thanks in advance.

    If you try to make it first and run into a problem. People here will always be more than happy to answer your questions on how to get it to work.
    Two bonuses to doing it this way:
    1) You learn the program so much better
    2) It doesn't cost you anything
    I don't know what the TOS says about looking for commercial work on the boards, but if they have their emails 'shown' that means they don't mind someone contacting them directly, just look at their profiles by clicking on their name in the postings.
    I would look around and find someone that seems to have the experience. You might just find your answers while looking and not need someone.
    Jason

  • Can you download extra templates for Pages?? If so, is there a template for 4x6 inch index cards??

    I am working on finiding a program that will allow me to type index cards for use in my school studing. And so I was wondering if pages has a template for 4x6 inch index cards?? If not can I download one?? And where can I download one?

    Hi a,
    The 'template' would be essentially a Custom Page size, set in the Page Setup dialogue.
    Go File (menu) > Page Setup... to open the dialogue.
    Click the popup menu beside Paper Size, and look for 4x6. If offered a choice, use the one not labeled "borderless". Borderless printing (on my printer) generates 'black' using mostly the three colour ink cartridge—costlier, and less 'black' than the results from the Black cartridge.
    If 4 x 6 or 6 x 4 is not available, look for 'Manage Custom Sizes' or similar at the bottom of the list.
    Once you have the page set, you can set tabs, type size and font as you wish, place text boxes (if that will help your card organization) and set other features as you wish, then Save the result as a Template.
    Saved as a Template, the new template will be available in the My Templates section of the Template Chooser.
    Regards,
    Barry

Maybe you are looking for

  • Error While Deploying A Web Dynpro Appln thru NWDS

    HI, I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials

  • Multiple web services on single server causing object undefined errors

    Hi, I've currently got a bit of a strange problem within a web service that is proving difficult to debug. There are the web service urls :      api.domain.com                -> /var/www/html/api.domain.com/            -> CF mapping to MYSERVICE     

  • Calibri font not printing - created with Acrobat XI pro 11.0.4 in Word 2007

    Hi, we recently upgraded to Adobe Acrobat XI pro (11.0.4) and when we create a PDF in Word using the Calibri fonts, it doesn't print when using Adobe Reader X. Prints ok when using Quark or other software, just not working with Office.

  • Might Be OT - Need Help With DW Design

    I am in the midst of transferring Access reports to Oracle. A lot of these reports display percentage data. What is a best practice for storing percentage data in a data warehouse? Should I add on the percentage calculations at the fact table level?

  • New iPod with FireWire connection?

    When I plug in my new video iPod to the FireWire connection, the screen says "FireWire connection not supported. Please use USB cable." I was just wondering if anyone knows a way to use FireWire with a new video iPod. Thanks, Geoff iMac   Mac OS X (1