Custom Site Templates How-To

I'm absolutely not opposed to doing a good deal of reading on this topic, so feel free to recommend online (and offline) resources that I might consult that provide the kind of information I'm seeking here. In any case, here is my issue...
I have been asked to develop "custom site templates" for an existing SharePoint 2013 (on-prem) environment where the vast majority of the site collections that are likely to ever be are already provisioned. My [admittedly feeble] understanding
of the "proper" way to do site templates is to reference the master pages and style library and such that exist at the site collection root for subordinate sites that are hosted within that site collection. Buuuuut, when the site collections already
exist (i.e. you aren't creating them using a customized template that contains all that information), what is the best practice approach to handling and applying these customizations?
I will point out that I am equipped and willing to manage these custom templates using VS (2013), but if that's not entirely necessary, then I'm as willing to avoid that... ;)
If someone could get me started on the right approach or point me in the right direction, I'd greatly appreciate it. Thank you.

Hi Ramz_dc,
In addition to the default templates, you can create your own site template based on a site you’ve created and customized in SharePoint. This is a powerful feature in SharePoint that allows you to create a custom solution and then share that solution with
your peers, the broader organization, or outside organizations. You can also package the site and open it in another environment or application like Microsoft Visual Studio and further customize it there.
Take a look at the below links
OOB site template
http://office.microsoft.com/en-us/sharepoint-designer-help/save-a-sharepoint-site-as-a-template-HA101782501.aspx
Visual Studio
http://msdn.microsoft.com/en-us/library/office/ff408263%28v=office.14%29.aspx
http://sharepoint.stackexchange.com/questions/55544/how-to-create-and-apply-custom-site-template-for-sharepoint
http://sharepoint.stackexchange.com/questions/63141/how-to-create-a-custom-web-template-not-a-site-definition-or-import-a-saved-tem
http://www.fpweb.net/support/microsoft-sharepoint/tutorials/sharepoint-2013/customization/create-site-template/#
Daniel Christian (MCTS)

Similar Messages

  • ACCESS DENIED when trying to use custom site template to create new Subsite

    I am trying to create a new site using a custom template. I am the new admin here at the company. Other also are having "access denied" errors when trying to create the site using these custom templates. 
    However I can still create a site using the out of the box templates. I have given myself site collection admin (primary) and I am a farm administrator as well. Any ideas on why I keep getting access denied to specific templates?
    The entire site collection is using the custom template. When I try to create a new site under the site collection with a custom template now, it says "access denied". Any ideas?
    Thanks!
    Note - I am able to use the Custom Site Templates in the test environment without any issues. Only in the production/live environment am I getting the access denied error.

    I am not finding anything that comes up in the ULS logs about the access denied. I tried creating the site in the test environment using the custom template and it worked. I go to the production environment and try to create the site with the same template
    and get "error:access denied - current user domain\user" I checked in the ULS logs as soon as the access denied appears (pretty quickly after pressing create) and there is nothing at that specific time. This is a huge problem, is there any way to
    work around or fix this? I'm a new admin.

  • Custom display template - how to add anothe display template for refimement item?

    Custom display template - how to add anothe display template for refimement item?
    I add a new filter_default_custom.html file and want to create new refinement item display template to point to it
    keren tsur

    Not 100% if I understood the question, but if you uploaded your template to the Master Gallery and the corresponding .js file has been created, you can open the refinement config panel and specify the result type you want to map to your custom template.
    http://www.eliostruyf.com/part-1-create-first-search-refiner-control-template/
    Kind Regards
    Bjoern
    http://www.sharepointviking.com
    Twitter: Follow @bjoern_rapp

  • Assign Values to Category column in custom Site template by using save a s template method

    Hi All,
    I am trying to develop a new custom site/web template in SharePoint 2013. In the site  I  have used Issue tracking list. I rename Issue status  to Risk status. In the category column I gave my custom values e.g.
    <CHOICE>Change Management</CHOICE>
                        <CHOICE>Funding</CHOICE>
                        <CHOICE>Global Communication</CHOICE>
                        <CHOICE>Implementation</CHOICE>
                        <CHOICE>Interdependencies</CHOICE>
                        <CHOICE>Objectives</CHOICE>
                        <CHOICE>Organizational Culture</CHOICE>
                        <CHOICE>Resource Availability</CHOICE>
                        <CHOICE>Sponsorship</CHOICE>
                        <CHOICE>Supportability</CHOICE>
                        <CHOICE>Technical</CHOICE>
    I saved the site as template and uploaded the custom template into site collection. When I created a new site based on the custom template I noticed Risk status has been renamed to default Issue status and category  column has default values e.g. category
    1 category 2 etc. How can I fix it  ? Your help will be highly appreciated

    Hi,
    As the error message suggests, it is not supported to add this app into a site template. To work around this issue, it is recommended to remove this app from your
    site before saving it as template.
    The KB article below would provide more details about this issue:
    https://support.microsoft.com/en-us/kb/2885566?wa=wsignin1.0
    To install this app to the specific sites you want in a batch, administrators can also use the App Catalog to push apps to specific site collections, managed paths,
    and site templates.
    More information about this:
    http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/03/04/sharepoint-2013-app-deployment-through-quot-app-stapling-quot.aspx
    https://msdn.microsoft.com/en-us/library/office/fp179896.aspx?f=255&MSPPError=-2147217396
    I would also suggest you submit a feedback to the Office Developer Platform if there any expectation about the future version of Office 365 SharePoint Online:
    http://officespdev.uservoice.com/
    It
    is a place for customers provide feedback about Microsoft Office products. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft
    Product Team will take it into consideration when designing the next version in the future.
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is this a bug? Document Library view has the wrong 'Show in Folders' option when created from custom site template.

    I have a site with the default document library.
    I add views to the library, some ask for the items to be shown in folders, some not.
    I create a site template via the SharePoint UI.
    I create a new site.
    In the new site, the library exists, the views exist, but all the views are set to show the items in folders.
    Does anyone else have this problem? Is there a patch or any workaround?

    Hi  ,
    According to your description, my understanding is that view property "show all items without folders" is not preserved in packaging and is lost after we create a site using the saved site template.
    For your issue, I can reproduce your scenario in my environment. It should be caused by the scope attribute is missing. For a workaround, you can try to crack the site template wsp, add the missing scope
    attribute to the View schema in the list schema.xml.
    Also, I recommend you open up a ticket for deep investigation.
    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

  • There is no 'Position' field on the advanced Customer Import template - how do i add this?

    Hi All ,
    I'm sure im not the first one to encounter this issue but i dont see another question similar .
    My client would like to also add the customer's 'Position' to the CRM record when they upload the spreadsheet. IE Bob Smith, Managing Director....
    There is no column for 'Position' - How would you suggest going about doing this?
    Thanks .

    Hi,
    If you have generated this field via Admin > CRM > Extend CRM Database, then when going to CRM > Customers > Import Contacts (Advanced), near the bottom of the page, you'll see a drop-down ("Choose CRM Form if you wish to import custom information for contacts") from where you can choose to include the respective field in the import template.
    Kind Regards,
    Alex

  • Spaces site template strange behavior

    dear all
    i have a strange site template behavior
    i have webcenter spaces application and i develop a custom site template for it and make it default
    every thing goes fine but suddenly the portal change its template to the default spaces template not my custom template
    when i check the spaces configuration i found my custom template as default template
    when i check the pages i found the order of the pages changed and the home page go down in the order and once i reorder the home page to the top things get normal and it works as expected.
    any suggestions
    regards

    I have seen this happen before and found exceptions in the logs . I can't remember the exact exceptions now but possibly related to database connections, etc.
    So, check the webcenter logs to see if there are any issues.

  • How to Create a Custom Project Site Template Using Visual Studio

    I know how to make changes and save a site as a template but I need to be able to create a new project site template during deployment to different environments. Trying to have this not be a manual process.

    Hello,
    This article might help:
    http://blogs.msdn.com/b/sambetts/archive/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template.aspx
    Start with a default Project Site (create a new site from the Project site template) and save out the WSP then import into VS.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Free iWeb downloadable templates, videos and how to create custom sites.

    You asked for it and you've got it! More templates for your hearts content. Use it as study guide or simply adopt it to your desire. MacEzzy site has a new face lift to incorporate all the benefits iWeb has to offer. This site examplifies awsom things you can do beyond supplied templates. You too can create your very own custom site using iWeb. Lots more stuff will be added, I hope you like the new look and the templates.
    http://macezzy.com
    Powerbook G4 Ti   Mac OS X (10.4.4)  

    hi folks
    don't worry, i have given up as it really seems iWeb can not do this.
    however, i have identified 2 possible solutions. the one i have chosen is to simply add new albums by choosing one of apple's templates and then modify it until it fits my design. i have created 15 additional main albums this way and it took me (because of the "mass production") only 15 minutes per album to get it done. now i have enough empty albums spare for the next few years...
    the other way to accomplish what i wanted would have been to make the main "my album" page invisible for visitors and use it only for administration (so it can contain 100 albums but nobody would ever have to wait until they load). then create a new page which i call picture (copy any of my other pages and modify it) on which i will post some "virtual albums", which means use any picture out of an album and create a direct link to the album. i could use a vary low resolution version of the main pic and this way i would have a "picture" page which loads extremely fast but is actually nothing else than a link to the real album. then just copy this page as many times as i need albums and change the pictures and the links in it. the advantage is that it loads very fast, the disadvantage that i loose the ability to scroll through albums by moving the mouse over it, as what you see is of course only a picture and not the album.
    i have chosen the first version because it has the advantage to be able to move albums as one pleases. however, both versions would be fine.
    it's already done and eaten.
    thanks anyway for reading yourself through this...
    cheers
    george

  • Create a custom web template using VS 2012 with web features,site features sections applied

    hi,
     Want to create a  custom web template using VS 2012  in my SP 2013 environment.  i know "Vesku" has posted a great artice on this [  based on prev. version of SP].
    here -
    http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx
    i am  looking for a code based article  which has step by step process which provides how to add the site features, web features and attach the eventreceivers etc etc on sitecollection creation when i apply this template from central admin. 
    can anyone provide me any links / any source how to create a custom web template with one / two  custom features -  site features element and web features element , / master page etc ....
    I am stuck with this. as part of my reqmnt, i need to create a webtemplate with all the customlistinstances, custompagelayouts, custom masterpages, custom appln pages, custom web parts.
    help is appreciated !
    Das

    The problem is that Web Templates are deployed to a gallery in a site collection and aren't available in Central Admin when creating a new site collection.  YOu have to create the site collection without choosing a template and then choose your web
    template when you first access the root site in the site collection.  Here's an article that discusses that process here:
    http://sharepointchick.com/archive/2011/02/10/using-web-templates-to-create-site-collections.aspx
    Other than that Vesa's article is still the best one and works essentially the same in 2013 as it does in 2010.
    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.

  • Custom master page applying on Publishing site template not in my site template?

    Hi,
    i have created a custom master page based on Publishing template Using Design manager (means converted html to aspx page) and then set all other control on the master page. now problem is master page applying only on Publishing site template not my site
    template. any one know why its happening, and how can resolve this issue?
    Thanks
    Mohammad

    Feature Stapling may be a solution - Please check -
    http://sharepointologic.blogspot.in/2013/04/branding-sharepoint-2013-my-sites-with.html
    http://www.codeproject.com/Articles/42129/Creating-branded-my-site-in-sharepoint
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • How to create own site template in sharepoint 2013?

    Hi All,
    How to create a new site template  in SharePoint 2013? Any suggestion please.

    Create a site the way you want it, then go to Site Settings -> Save Site as Template.
    SharePoint - Nauplius Applications
    Microsoft SharePoint Server MVP
    MCITP: SharePoint Administrator 2010
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Custom SharePoint 2013 workflow activities in site template throw error on site creation

    Hi all,
    I have created a number of custom activities for SharePoint 2013 Workflows and I am using them on an Office 365 environment. The custom activities are packaged as a sandbox solution and deployed on my Office 365 site. Everything works as expected.
    I have now created a site with all the functionality I need, including some Site and List workflows - all of them containing my custom activities. I saved the site as a template - including content - and the process was completed successfully.
    My problem is that when I try to create a site based on that template, I get the following error:
    Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_66b9230b_823e_4783_82b8_daf481237847' from scope '/spo/d42a4487-9465-4347-9f2c-a2718e92fc02/74d0f9e7-fb35-493d-86fb-ab7aa27da7e0/c2e1bf45-cf67-4e13-9755-421cf92395f8'
    was not found. HTTP headers received from the server - ActivityId: 0997496a-5a15-4b83-82eb-727881eefa67. NodeId: . Scope: . Client ActivityId : c82f6e9c-9f8f-808b-7679-f2c0f92a339d. ---> System.Net.WebException: The remote server returned an error
    After a number of trials and errors, I am certain that this relates to my custom activities. i have already tested all of the following scenarios:
    Delete the workflow with the custom actions: Site is created successfully.
    Create a new workflow with no custom actions and save the site as a template:
    Site is created successfully.
    Save the site template including a workflow with my custom activities, but not including content:
    Site is created successfully, but my workflow is not there.
    Create a new custom workflow activities sandbox with one custom activity that just writes something to the history list - just to make sure that this is not related to any specific solution. Save the site as a template:
    Site creation throws the same error.
    Packaged my workflow (with my custom activities) as a wsp from SharePoint Designer and deployed it as a custom solution. Activated the feature in the target site. The workflow gets created and executing finally. Saved the site as template: Site
    creation throws the same error.
    Same as above, but without activating the feature in the target site: Site created successfully, workflow works fine after I activate the feature in the new site.
    My custom activities feature is always enabled in the site I save as template - in all of the above scenarios.
    I have tested all of the above scenarios both on SharePoint 2013 on-premise and Office 365. There is
    a forum post regarding some inconsistencies in the wsp file, but unfortunately this is not my case. Am I doing something wrong? Are custom 2013 workflow activities not supported in site templates - which would not actually make any sense, as it would "break"
    the fundamental concept of re-usability.
    Any ideas/feedback/guidance?
    Thanx in advance

    Hi,
    I am facing the same issue. Kindly help me out if any of them have solved similar issue. 
    Your help would be appreciated.
    manikantan

  • How to find out sub site name from which sub site template is created - in solution gallery

    hi,
     i am having an issue in my "save site as a template". i have created  a subsite few weeks back with doc libs and  splists, disc.forum and  based on the template subsite I have created new subsites. now 
    as  per my new requirement i need to add new  doclibs and few columns in these doc lib. But I am unable to find which sub site was taken as a template.since i have many  subsites with different names, I forgott
    to make meaningful names, i gave some datetime for the templatesubsites,
    like project_27_jul_2pm,project_20_jul_7pm, etc etc.
    So would like to know, is it possible to find out from which subsite I have taken/prepared  the template subsite.
    any APIs are available or any power shell scripts. such that i can find  out from which subsite i have created this  sub site template.

    check this
    http://social.msdn.microsoft.com/Forums/en-US/3c492adb-e7cb-4f5c-8c29-386a21c3498e/how-to-find-out-a-list-of-sites-created-from-a-template?forum=sharepointgeneralprevious

  • 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.

Maybe you are looking for