The process of preparing, creating and managing an organized system.

learn more… | top users | synonyms

6
votes
1answer
57 views

Provisioning MySite with feature that creates library with content type from CT hub

I'm having a problem when provisioning a new user's MySite. I'm trying to activate a feature that adds library / lists to the current user. The library / list should use a content type from the hub! ...
5
votes
1answer
714 views

From templates to remote provisioning (with self-service site creation enabled)

How to allow users to apply branding to new site collection (when self-service site creation is enabled) without having any code, solutions or features running server-side? The requested ...
4
votes
2answers
154 views

Upload Master Page / Page Layouts using PowerShell

I want to know how to provision a page layout using PowerShell (CSOM) for Sharepoint Online? Any information,examples etc are welcome. I know this can be done using SharePoint hosted App as well. I ...
4
votes
1answer
763 views

WebProvisioned event receiver is firing twice

I am creating a SharePoint site from code behind using SharePoint object model. In the WebProvisioned event, I am creating the groups, enabling a few features. Everything is working fine, except the ...
2
votes
1answer
36 views

How to create a feature stapler for all webtemplates?

I have created a delegate control and try to provision it to all new site collections. It is working now only for the web template "MySite". How to make it possible to provision this feature for all ...
2
votes
1answer
1k views

SharePoint 2013 High-Trust App - Site Collection Provisioning

Hi I am trying to get an app done to provision a Site Collection. The vision is to allow the user to enter important details and then click a button and have the Site Collection created ...
2
votes
0answers
235 views

XsltListViewWebPart provisioning discrepancy SPLimitedWebPartManager AddWebPart versus manually adding

I've exported a XsltListViewWebPart with all of my settings to a .webpart file. I have added this to the webpart gallery in several site collections, I can edit a page add the webpart and it somehow ...
2
votes
0answers
337 views

Provisioning publishing pages with custom webparts in SharePoint 2013

I have a sandboxed solution where i provision publishing pages with custom web parts. Like this: <Module Name="CustomPage" Url="$Resources:cmscore,List_Pages_UrlName;" ...
2
votes
0answers
131 views

Create a new SharePoint Site using WCF instead of Sites.asmx - CreateWeb

I am trying to ascertain whether there is a WCF equivalent of the CreateWeb method in the sites.asmx Web Service to be able to create a new SharePoint site. I was under the impression that the ...
2
votes
1answer
1k views

Sharepoint 2010 site definition one template to create multiple publishing pages

Im trying to create a publishing site definition where I use one file to provision many templates. eg in onet.xml ... <Modules> <Module Name="Landing" /> <Module Name="Test" ...
2
votes
0answers
136 views

Site is Provisioned but Content Type List is still empty

I have this feature that I am trying to run in order to configure a site, this feature among other things creates pages based on content types, etc. The problem I am facing is that everytime i am ...
2
votes
1answer
57 views

SharePoint Apps : Who can see it in “Site contents”?

Here is a good sample project that explains how to use APPS to provision custom components on sites in SharePoint online with custom fields, content types etc. In brief, the app explained in the video ...
1
vote
1answer
683 views

How to provision file to SharePoint document library?

We have added a VS module and foll. is the elements.xml:- <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="Module1" ...
1
vote
1answer
147 views

How can I provision the search center to my visual studio solution?

How can I provision the search center to my visual studio solution? I have edited my page layout and master page to be able to have the search center in the maincontent of my site collection. Maby ...
1
vote
1answer
555 views

aspx page in module and ghosted web parts

I am making a webtemplate. This webtemplate activates a hidden feature which contains a module, deploying the default.aspx page. The module looks like this: <?xml version="1.0" ...
1
vote
1answer
33 views

Problems breaking inheritance and giving permission to manager

By using feature stapling we activate a feature that creates a custom list on a users profile in my site web-application each time a new my site (site collection) is created for a user. We want to ...
1
vote
1answer
123 views

How to Change QuickLaunch During Site Creation

I have successfully created a web template as a farm solution on a SharePoint 2013 on premises farm and can use it to deploy site collections as well as subsites. In the web template I have used a ...
1
vote
2answers
154 views

Reference problem when trying to replace a master page file while keeping the original in CSOM

I have some logic that does some custom file provisioning in CSOM. It basically tries to upload various files located on a provided-hosted (Azure) site to mapped locations in the Sharepoint host site ...
1
vote
1answer
34 views

What approach should I take to update provisioned / existing team sites

I'm provision team sites based on web templates that are provisioned from a "request" list in SharePoint. (timerjob) I know that there would be some changes to the team sites, but what's the best ...
1
vote
1answer
849 views

The SharePoint Server Publishing Infrastructure feature must be activated at the site collection level before the Publishing feature can be activated

Ive created a very simple custom site provisoning provider as a test and im having some problems and cant figure out why. Basically at this moment all the site provisioner does is enable publishing ...
1
vote
2answers
510 views

Font symbol (Wingdings3) not working within SSRS ReportViewer Webpart

We have an SSRS report that uses the Wingdings3 font for rendering arrow signs in a table. In the SSRS Preview pane, the table renders fine: However, on the Sharepoint page where the report is ...
1
vote
2answers
535 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 ...
1
vote
1answer
678 views

Project Web App is stuck on: Waiting for resources

While trying to unprovision a PWA in order to move the DB to a new SQL Server. I followed the following article: http://technet.microsoft.com/en-us/library/ff961887(v=office.14).aspx After the ...
1
vote
2answers
185 views

Provision a file through a module (CAML) and choose its Content Type

How do you provision a file through a module (CAML) and choose its Content Type? Is it even possible? The normal behavior for a new item is to get the default content type.
1
vote
1answer
38 views

SharePoint Online - Hidden site collections

We use Powershell with CSOM to remove and provision site collections in SharePoint Online during the development phase. We use the Powershell commands provided by the PnP team like this: ...
1
vote
1answer
104 views

Permission issue creating site collection from service application

We have a custom service application set-up which is tasked with the creation of site collections. It uses the blank site template for this, on which we want to activate several of the out of the box ...
1
vote
1answer
278 views

Change Content Type for SharePoint 2010 Wiki to Create Custom New Page

Here is what I want to accomplish: Inside of a Wiki Library, user says they need a new page and creates one using the [[ ]] syntax. Then when the user clicks that new link, they are asked to create ...
1
vote
0answers
401 views

XsltListViewWebPart: select default view

I'm trying to configure an XsltLisViewWebPart for deployment to a SharePoint site. I'm provisioning the views beforehand using: List oList = clientContext.Web.Lists.GetByTitle(list.Title); ...
1
vote
2answers
598 views

XsltListViewWebPart provisioning of Community Discussion list is incorrect

I'm creating a SharePoint 2013 sandbox solution. On a Community site, OTB you have the Community Discussion list displayed on the home page. The view is based on Subject view. This gives you the graph ...
1
vote
1answer
2k views

Best practices for provisioning SharePoint 2013 sites / site collections with templates

I want to start prototyping a team or community site in 2013 on fairly standard intranet, with a view making it a template for the various departments. I am still revising the design for the ...
1
vote
1answer
38 views

What should be the provisioning model?

What should be the provisioning model for supporting only 2010 and above, if: it needs to include custom SharePoint security groups it would be deployed to multiple unrelated SharePoint ...
1
vote
1answer
2k views

How can I activate a wsp solution uploaded to solution gallery via code in SharePoint 2013

I'm creating a site definition which provisions a subsite based to a webtemplate(wsp) file. This webtemplate file is packed in a feature containing a module.When the feature is activated the wsp file ...
1
vote
1answer
28 views

Sharepoint 2010 - locate new site that haven't been checked in

If a user create a new site and just saves is without checking the site in, where's the location? I want to test what's happens if a farm administrator tries to publish a site that's not a "draft" or ...
1
vote
1answer
205 views

error 0x80070055 when provisioning a site collection with Document Center or Record Center

In QC we are getting 0x80070055 error when provisioning a site collection with web template Document Center or Record Center template. Did some googleing and learned this error is due to dup guid in ...
0
votes
1answer
74 views

How do you tell if a site (SPWeb) was unsuccessfully provisioned programmatically?

I have an application that is running periodically using the task scheduler. The Application gets a list of projects from a database and checks to see if there is a corresponding sub-site in the ...
0
votes
1answer
34 views

“Failed to instantiate file from module: The specified list does not exist.” when deploying file through module

I am trying to deploy two files to a custom list. I created two features for this: one that holds the list definitions along with the module and one that contains the list instances. Both are in the ...
0
votes
1answer
189 views

Unable to get list “Calendar” list in feature while creating site

I want to create custom calendar list programatically. SPListTemplate template = web.ListTemplates["Calendar"]; var newListID = web.Lists.Add(fromTitle, description, template); But i cannot do ...
0
votes
3answers
216 views

Deploying to style library / site pages from a web application scoped feature

I am writing a web application-scoped feature which will provision a site collection and a small number of sites. The problem is that I have my own style files (.js, .css, images) and even some ...
0
votes
1answer
34 views

Setting default values for my new sub site during the sub site creation process

I have a site collection column named “Sub site Manager” which is associated with a security group named “Site Admis”. And inside our sub sites list, users select the related admin user when ...
0
votes
1answer
61 views

Clone site collection vs web templates provisioning (team site)

What's the drawback of cloning existing team sites? Fist I created team sites based on web templates, but after a while with tons of changes from the client I'm thinking of just cloning a "team ...
0
votes
1answer
377 views

How to provision XsltListviewwebpart programmatically

I want to add Xsltlistviewwebpart with some pre difened property(like list,view,zoneid) and also apply xsl to it.Does anyone has any example/code sample to show how can it be achieved. Thanks for ...
0
votes
2answers
323 views

How do I provision a WikiPage with Visual Studio 2012

So far, I'm not able to do anything to provision a WikiPage with Visual Studio. The most recent avenue was to try calling SPWeb.Files.Add("dest.aspx", SPTemplateFileType.WikiPage); but ...
0
votes
1answer
62 views

DRY and page layouts

Being a fan of DRY to write maintainable code I'm having some problems getting to terms with SharePoint development. Some information (e.g. GUIDs) is often repeated and spread out over several files, ...
0
votes
2answers
4k 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 ...
0
votes
1answer
2k views

Creating a sharepoint site definition using onet.xml and site templates

Im starting to develop a site definition using this tutorial http://vimeo.com/23670570 (which I found a good starting point. But lacks more detailed explanation). Everywhere I look in the onet.xml ...
0
votes
1answer
262 views

SharePoint 2007 - Creating a web application in C# gives Error Access Denied at Provisioning

I am trying to create a SharePoint web application (on SharePoint2007) in C#. How differently I tried, it ends up with the same access denied error in the Provisioning step. The error message does not ...
0
votes
0answers
10 views

SP 2013 MySite pre-configuring for all users

I configured a MySite sites collection for users. They will be only accessing these personnal sites, never access other sites. So when they access https://my.site.com (MySite site), it returns an ...
0
votes
2answers
42 views

How to trigger some custom c# code when a new site collection is created? Feature Stapling, delegated control?

I am using sp 2013. I have some custom code which is adding some webpart to the welcome page. I would like to execute this code for each new site collection depending on a template (mysites). Someone ...
0
votes
0answers
45 views

Set welcome page when site created

I have a custom site definition. When site created I have an event receiver it will activate related features. After features have been activated I set my welcome page. public override void ...
0
votes
1answer
87 views

2013 Sharepoint-Hosted App Masterpage Provisioning Problem

Here is the JavaScript I'm currently using to set my Masterpage as the default Masterpage within my site. I'm running into a problem where I receive the onQuerySucceeded message after deploying the ...