.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

SharePoint 2010 - noticed a possible bug with regard to custom site templates.

Posted By:      Posted Date: September 06, 2010    Points: 0   Category :SharePoint
Hi All, I'm wondering has anyone else noticed this behaviour in relation to custom site templates. I wanted to move an site A ( content included ) from site collection A to site collection B. I saved site A as a site template ( content included ) I uploaded the site template to site collection B's solution gallery. I created Site B on site collection B using this site template. unfortunately the top links to site A have been preserved causing major confusion to the users. i.e. the shared documents document library link and the tasks link both link to Site A! the links to documents within the document library on the other hand are to site B!? Is this a known issue ? Is this something that I should have expected to happen? look forward to hearing other folks experience with this functionality. thanks and regards, Counie  

View Complete Post

More Related Resource Links

Adding a custom control to the SharePoint 2010 Team Site Wiki Page Template ( wkpstd.aspx ) programm

Topic This is maybe my last post about the Team Site Wiki Page customization with the aim of exceeding its limitations. This time we are going to customize the unique template ( wkpstd.aspx) by replacing the control that renders the editable content by a custom one. In this post example, we will take advantage of the use of this custom control to render not editable additional contents, for instance, a header and a footer that could be the same for a specific Wiki Page Library. Of course, we are not going to really customize the template, but we are going to use a delegate control to replace the control at runtime. Here are the screen shots of the result: We can see a non editable Header and Footer on the Team Site Wiki Page In edit mode these additional contents are not rendered, but we can add new content as usual And of course, after having saved the page, the new content is rendered wtih the non editable Header and Footer. Steps required   If you look at the Team Site Wiki Page template, wkpstd.aspx, you can see the control that is rendering the editable content/ <SharePoint:EmbeddedFormField ID="WikiField" FieldName="WikiField" ControlMode="Display" runat="server" /> We are first going to create a custom EmbeddedFormField control Then, we are going to use a delegate control to replace the native EmbeddedFor

Best Way to Convert MOSS 2007 Site Templates to SharePoint 2010 Templates

Ok, I just treid to do something that I didn't really think would work, but now that I've seen it fail, I get to ask the question. Is there a best practice on converting site templates built for MOSS 2007 to SharePoint 2010. We have several projects that used the Visual Studio Extensions (v1.3) and the SharePoint Solution Generator to build custom site templates and the .wsp packages. I can add and deploy the solution packages using the STSADM tool, but when I try to create a sub-site based on that template, I get an Object Not Set to an Oject Reference Error. In case anyone is wondering, it works fine in MOSS 2007. I have not tried Visual Studio 2010 yet (it's downloading in the background). I'm just wondering if anyone has run into this and what they did to fix it. TIA, John.

Creating a new site sharepoint 2010 under parent site with my custom template Programatically using

Hi, I have a parent website under which i want to create subsites on the fly using visual studio 2010. The subsites which i want to create have a common stuructre(in temrs of lists & custom). So i saved the template in sharepoint 2010,it becomes wsp and goes into soution gallery. Now how do i use this template say mytemplate.wsp,to create site in visual studio. i tried this using (SPSite site = new SPSite ("http://infml01132:5566/sites/VRND " ))             {                 using (SPWeb web = site.OpenWeb())                 {                                       SPWebTemplateCollection myTemplates = site.GetCustomWebTemplates(Convert .ToUInt32(web.Locale.LCID));                     //SPWebTemplateCollection temlates1 = site.GetCustomWebTemplates(1033);                     //SPWebTemplateCollectio

Reg: Does Custom site definition created in SharePoint 2007 works in Sharepoint 2010



If one has created a custom site definition in sharepoint 2007, Once the whole site is migrated to sharePoint 2010 will that "custom site definition" created in 2007 will work without breaking in SharePoint 2010?

If No, what has to be done to make it work on 2010.






How to upgrade MOSS 2007 custom site definitions to SharePoint 2010?

I would like to know how to upgrade custom site definitions of MOSS 2007 to SharePoint 2010 in detail?

After SharePoint 2007 upgrade to SharePoint 2010 issue with custom site(s)


With our 2007 site(s) we had a custom module (we developed) to swap out the application.master with our own master page which resembled the site default.master.  This worked great.

After the upgrade, out site's main pages looked fine however when navigating to the admin type pages (settings/viewlists etc.) pages the module stopped working.

1.) I have figured out something things with respect to what is going on but am still at a loss to how best resolve.  We want the layouts/admin pages to have the same master page as the main user pages.   I have read in 2010 this is now possible.  How can I achieve this?


2.) Currently, when navigating to the sites/settings page the site is using template/layouts/layoutsv3.master as the master page.  The settings.aspx page has DynamicMasterPageFile="~masterurl/default.master" .  It was my understanding that when DynamicMasterPageFile was set to default.master it would use the master page from the site.  So, with that said I am confused why it is using layoutsv3.master

any help would be appreciated



How to apply a custom master page to all the existing site collections, sub sites in sharepoint 2010



my custom branding master page is applying to the newly created site collection or sub sites using feature stapling.

but my intension is already created site collections and sub sites, here i am not able to apply custom master page to site collections and sub sites.

pls help me. i need to complete this task today EOD.

How to upgrade MOSS 2007 custom site definitions to SharePoint 2010?

I would like to know how to upgrade custom site definitions of MOSS 2007 to SharePoint 2010 in detail?

Migrating Custom Site Definition to SharePoint 2010: Do i need to make any changes to existing site



I am migrating from SharePoint 2007 to Sharepoint 2010.

We hae 2 custom workflows to be migrated.I have deployed the respective wsp which were used in Sharepoint 2007 site.But it did not help and i got errors.

Do i need to change my site definiton or my wso before deploying the same to Sharepoint 2010


Ram kiran

how to delete custom site templates(solutions) still shows afert remove the solution in SharePoint 2


I created several version of site templates with different name.  Next I removed the older versions in solution gallery but in the list of template sites still  are showed.

I searched for cmdlet in PowerShell witho no luck.  The custom templates does not shown in SP-WebTemplate command.  So I don´t know how to remove this templates from SharePoint, if the gallery solution is empty.  I remove the solutions from recycle bin in the site and site colleciton scope but with the same results.  And I first deactivate the solution and next remove the solution but nothing works to remove the template from site template.

The odd thing is that in my SharePoint 2010 development Virtual Machine removing the solutions remove the site templates of the creation site option. But in  the Production Server recently migrate to 2010 it does not work.

Any solution in code, cmdlet or some else could help.

Thanks in advance!

Sharepoint 2010 - How to Disable Site Templates?

Using Sharepoint 2010, how can one disable site and list templates that are available when a user creates a new site or a new list?

How to add custom list entries to mysite's calendar in Sharepoint 2007 site?


I would like to know below things

(1) How to create MySite for one specific member with other or administrator's access?

(2) Scenario : Administrator have created one SP2007 site. now Administrator have created one calendar (Sample calendar). Administrator have added some entries in calendar. now one user entered in portal site ansd view the calendar and he click on MySite menu. so this sample calendar entries should enter in that user's mysite calendar. How this can be achieved?

Thanks in advance.
Regards, Praful Udade

Unable to search Custom User Property Created in User Profiles in SharePoint 2010


Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise

Sharepoint 2007 - Wiki site - New Pages Not Inheriting Custom Master Page


I am working on a SP site (MOSS not WSS) which is heavily customised away from the OOTB layout. I need to create a Wiki site, which was going well - I've created a master page which displays the miniconsole (this was not visible with our customised layout), and made it the default master page for the site. This has been applied to the two standard pages that come with the Wiki site, however when a new page is created, it seems to inherit the default.master, rather than my custom master page - thus not showing the miniconsole.

When I have created a new page, I am able to use SharePoint Designer to attach my custom master page to it, which works perfectly, however this will not be a viable option going forward as end-users create their new wiki pages.

How can I get the new pages to inherit my master page when they are created?


Adding a custom ASP page to a sharepoint 3.0 site


I have a custom ASP page that I need to add to my sharepoint 3.0 web site.  I created a virtual directory under my website and placed the ASP file.  When I link to the ASP file, I get a 404 page not found.  To make sure I had the correct URL path, I created a test html file and placed in the same virtual directory and linked to it just fine.  I think it has something to do with managed paths and sharepoint trying to control this new ASP content.  I cannot figure out how to exclude this content from managed paths.

Any suggestions on how to resolve this issue so I can run this custom ASP file under sharepoint 3.0?


Quick Note: Create Custom List Definitions in SharePoint 2010

In this exercise, you create a custom list definition in Microsoft SharePoint 2010 and then create an event receiver that is triggered when the list is used.

Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverlight 3

Learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend