Questions tagged [onet]

Onet.xml file defines list templates for hidden lists, list base types, a default definition configuration, and modules that apply globally to the deployment.

Filter by
Sorted by
Tagged with
0 votes
1 answer
71 views

how to changed logo image of a Site

I currently try to set logo image in the Site of SharePoint Provisioning a WebTemplate. I want to know if is exists a way to change logo without using code and by using some feature of Onet.xml
Andres Williams's user avatar
1 vote
0 answers
17 views

Create global navigation nodes in the onet fle

I have a custom site definition and master page that I want to provide a default set of navigation nodes for. How do I go about incorporating navigation (global top navigation) nodes in the onet.xml ...
Tom's user avatar
  • 41
0 votes
1 answer
225 views

Publishing Pages creation during Site creation through site definition

I have deployed a custom site definition.. Features available in onet.xml are - Site Features- SharePoint Server Publishing Infrastructure Publishing Workflow feature Web Features Office ...
CHANDRU D's user avatar
1 vote
0 answers
40 views

Enable versioning for all the lists under a site through site definition

I want to enable versioning for all the lists under a site through site definition xml. Note: Would not prefer powerhshell script.
TheCoder's user avatar
  • 469
0 votes
0 answers
47 views

Edit link not visible in Quick Launch after site provisioning using custom web template

I am using a custom web template to create a site based on team site template, but it is not showing the edit links on quick launch and top navigation. This is the element of the web template: <...
Burre Ifort's user avatar
  • 1,318
0 votes
0 answers
306 views

Activate features by code when site created -Onet.xml

I created a new sub site from custom site template. I deployed my custom web template to this site collection. I create a new site and select my custom web template. But I dont understand, why I need ...
Sivakumar Piratheeban's user avatar
0 votes
1 answer
256 views

How to set default page layout

I have created a site definition, when creating a subsite my layout that I want to use doesn't get set? How can I set my own default page layout when creating a subiste? Here is my onet.xml ...
Batistuta's user avatar
  • 718
0 votes
1 answer
451 views

Recommended method to automatically enable sharepoint server publishing feature for new sites

Just a query to see what the best method is for automatically enabling the sharepoint server publishing feature for new sites. Currently users are creating sites but they are unable to add the ...
Musti's user avatar
  • 1
0 votes
1 answer
3k views

Cant add list view webpart through XML

I'm trying to add a listview webpart to my default page of my sandboxed solution for SharePoint 2013 in Office 365. I'm using a ONET file to define my webtemplate based on the STS template. Among ...
Timo's user avatar
  • 15
0 votes
2 answers
84 views

Options for modifying custom site definitions in SharePoint 2010

There is a current custom site definition which many sites are based on that needs to be re-worked. I am familiar (somewhat) with creating and deploying new site definitions through VS and creating ...
Justin's user avatar
  • 1,361
2 votes
2 answers
1k views

After creating a Web Template the pageTitle becomes hidden, how can i access pageTitle from onet.xml

I have created a Web Template but I haven't quite gotten my head around the Onet.xml file. I've Added some custom Web Parts and basically done most of the things that people suggest one would ...
George Norberg's user avatar
1 vote
2 answers
978 views

Provision list view for discussion board

I have provisioned a publishing page through a feature and andded an instance of a discussion board web part to the home page, this works fine. How can I make sure the web part chrome is set to ...
Adonis L's user avatar
  • 123
1 vote
1 answer
529 views

Navigation Option Within Web Templates and Onet.xml

I have created a web template which deploys and creates subsite when used. Problem : I am trying to get the navigation setting to work as the image below The current Onet.XML being used to create ...
Miyagi's user avatar
  • 623
1 vote
1 answer
3k views

Add a visual web part to the default page of the custom site definition via ONET.xml file

We have created a SharePoint solution with custom site definition and a simple visual Webpart using Visual Studio 2012. The purpose of the solution would be to add the custom visual webpart to the ...
suryakiran's user avatar
2 votes
1 answer
783 views

Delegate Control SiteMapDataSource throws error

We have a solution with WSP package. This contains set on Delegate Controls. I want to use one of the Delegate Control with multiple parameters. Hence, I have copied that code related to that and ...
Ram's user avatar
  • 439
1 vote
1 answer
636 views

custom Web Template for Team site not showing Promoted links

I have created a custom web template which uses onet.xml file of 15hive\TEMPLATE\SiteTemplates\sts\xml and following is the element.xml file. However when I create a sub site based on this custom team ...
Medes's user avatar
  • 2,086
0 votes
1 answer
440 views

onet.xml and survey

Is it possible to include a survey and it's questions in the onet.xml ? I know you can create the survey list, but is it possible to include the questions as well ? TIA so far I have been create ...
Ronen's user avatar
  • 119
2 votes
1 answer
3k views

why this site feature is not activated when I create a new site by my custom web template?

I am using sharepoint 2010 and vs2010. I have created a custom webtemplates and begin from a copy of a teamsite. In my onet.xml I see the following site feature elements: <SiteFeatures> &...
Ola's user avatar
  • 4,395
0 votes
1 answer
443 views

Why is it possible to declare more then 1 configuration section in the onet.xml?

I am using sharepoint 2010 and vs2010. I created a custom web template and start with the onet.xml from the teamsite. I see 4 configuration sections. Why there are more then 1 configuration sections? ...
Ola's user avatar
  • 4,395
2 votes
1 answer
658 views

Set "inherit top navigation from parent node" to yes in site template

I am currently trying to set the button "use top navigation from parent node" from the default value no, to yes. After hours of google research, playing around with the site template (WSP) file, I ...
user15401's user avatar
0 votes
2 answers
174 views

Problem with adding TagCloud web part to site definition/onet.xml with userscope

I'm trying to add a Tag cloud web part to my site definition's onet.xml file and set its userscope to everything under the current url. I understood from Microsoft I cannot simply export and import ...
Johnny Tordgeman's user avatar
1 vote
1 answer
1k views

How do i alter the quicklaunch navbars using the onet file?

I have the following markup in my onet file. All i want to do is show these 2 sections in the quick launch area and NOTHING else. The code below adds these 2 sections but also adds extra sections e....
user1786107's user avatar
0 votes
2 answers
1k views

"Cannot complete this action." When calling ApplyWebTemplate()

SPWebApplication webApp = SPContext.Current.Site.WebApplication; using (SPSite site = webApp.Sites.Add("/sites/site3", "SharePoint", null, 1033, null, "administrator", "Administrator", "admin@...
JᴀʏMᴇᴇ's user avatar
0 votes
2 answers
6k views

Document Library in Site Definition with custom content type

I am attempting to specify a custom content type onto a reference library which is being provisioned in a site definition but am so far failing. I have read:- Deploy document library with multiple ...
Nicholas King's user avatar
0 votes
3 answers
5k views

Getting global Navigation working using onet.xml

Im trying to create a site definition using onet.xml in sharepoint 2010. So far things are going well however I am now having a problem getting the subsite to inherit the global navigation from its ...
Nicholas King's user avatar
2 votes
2 answers
287 views

Site definition configuration. Multi feature visibility dependency

I have created a new site defenition and I would like to set a feature dependency. There are a attribute that is called VisibilityFeatureDependency. As I understand, if I set this attribute, my ...
Alexander's user avatar
  • 8,149