Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [site-collection]

A site collection is made up of one top-level site and all sites below it.

Filter by
Sorted by
Tagged with
19
votes
6answers
35k views

Site collection owners and site collection administrators. Can anyone explain the difference in plain english

Just found this on MSDN and I'm confused. the Owners group of a site is not the same as the site collection owners, which themselves are called site collection administrators in the Central ...
18
votes
4answers
3k views

Any reason not to create a new content database for each site collection?

When creating a site collection in stsadm there are 2 commands I could use: createsite and createsiteinnewdb, where the latter creates a new content database for the site collection. Reading around ...
13
votes
4answers
1k views

Renaming a Page Library

What is the proper way of renaming a page library from a site collection that has a different regional setting? e.g. Dutch, changing Paginas to Pages. Swedish/Norwegian from Sider and Sidor to Pages, ...
12
votes
5answers
83k views

List all Site Collections in a Farm

I want to be able to see the number, names, url of all site collections there are in a given farm. Would there be a powershell command to do that?
12
votes
1answer
30k views

How to enable Content Query Web Part on SharePoint Server 2010 Standard?

I'm working with a new site collection in SharePoint Server 2010 Standard created using the Blank Site template. I would like to add a Content Query Web Part to one of my web part pages, however, ...
12
votes
2answers
8k views

Retrieve toplevel site's subsites using REST _api

I'm currently working on an iOS app which uses _api-services to retrieve data stored in documents libraries of a SharePoint Online. Consuming _api/web/Lists/ works well so far. At the moment the REST ...
12
votes
4answers
35k views

How can I get the root site collection from SPContext.Current?

With SPContext.Current I can get the current site or current web. However, I would like to get the root site collection for my current web application. I know that I can get the web application from ...
12
votes
3answers
6k views

Cross Site Collection Navigation

We are using SharePoint for our Intranet. We will have a site collection for the Intranet. Then a site collection for each department in the business. I.E. HR, IT, Finance. We are creating a custom ...
12
votes
1answer
11k views

Set a start page to your office 365 tenant

Is there a way to set start page of office 365 tenant to some SharePoint site, instead of portal.office.com, after a successful login? I want to be redirected to the custom site collection once ...
11
votes
4answers
3k views

CurrentUser.IsSiteAdmin should be true but returns false

Why does CurrentUser.IsSiteAdmin return false for a user that is listed in the site collection admin in SharePoint? I am building an Office 365 app that accesses SharePoint via the REST api. During ...
10
votes
1answer
4k views

Is it possible to create Site Collection such that URL should not have “/sites” in SharePoint foundation 2010?

I want to create Site Collection such that Site collection should not contain "/sites" in its URL(Except root Site Collection) in SharePoint Foundation 2010. Is it possible to do it?
10
votes
2answers
1k views

When does using site collections vs subsites affect performance?

My currently planned topology is one site collection with 80 subsites, 1,600 pages, 50 - 100GB of data and 165 security groups. I'm considering breaking up the subsites into 8 different site ...
10
votes
3answers
1k views

How to create a site collection

I need to create a site collection so that url looks like http://hr.mycompany.com instead of http://portal.mycompany.com/hr. How do I do that?
10
votes
1answer
13k views

Remove a single user from all site collections in a web application using powershell

Is there a way I can choose to remove a single user from all site collections within a single web application using powershell. There are number of user profiles whose domain account has been blocked ...
10
votes
3answers
3k views

Moving a site to a different site collection

I am looking for a C# script that will move a site with all permissions and content to another site collection. Google isn't helping me or maybe i dont know what exactly to look for. e.g. I have a ...
10
votes
3answers
6k views

How to move Site Collection to different Path in same Web Application?

I know the process involves backing up the site collection. And restoring it afterwards. I'm looking for specific steps on the restore process. I have a site collection at the root of a web ...
10
votes
1answer
449 views

Sharepoint Site permission issue

We have a web application based on SharePoint. Every Saturday night Site collection permission default groups gets deleted automatically and it is difficult to find the cause of this issue. We have ...
9
votes
5answers
47k views

How to activate “SharePoint Server Publishing Infrastructure ” in SharePoint Online

I don't see SharePoint Server Publishing Infrastructure listed in the site features list. but If i try to enable "SharePoint Server Publishing" I get an error saying that the Infrastructure plug in ...
9
votes
3answers
3k views

When should we separate a site collection into a different web application

we are planning a sharepoint topology and wondering if we should separate each department in a different web application or just a dedicated site collection. What's the guide or best practice to ...
9
votes
2answers
3k views

Programatically determine who created a site collection

Is there a way, preferrably with Powershell, to determine who created a site collection? I'm not interested in who the site collection admins are, but who the actual creator of the site collection was....
9
votes
6answers
6k views

Restore site collection from backup is not working

I have a problem while restoring a backup file on another server. Servers build versions are the same. I'm executing the Restore powershell command. And it is giving me the following error: <...
8
votes
3answers
15k views

When to choose web application vs SiteCollection vs Subsite?

In SharePoint you have the following types of objects: Web application (1) A container in a configuration database that stores administrative settings and entry-point URLs for site collections. (...
8
votes
2answers
3k views

Custom URL for sharepoint Online

I have been reading around that it is not possible to change the default Sharepoint Site Collection Url eg. https://mycompany.sharepoint.com/ to something like http://mycompany.com. Is this still true ...
8
votes
4answers
12k views

SharePoint 2010 Javascript Client Object Model cross site collections?

I've read some unofficial things online that using the Javascript client object model to retrieve content from other site collections is not allowed due to prevent the equivalent of "cross site ...
8
votes
1answer
6k views

How to create root site collection with custom web template using PowerShell

I have found a PowerShell script to create a site collection with the template "STS#0", but i want to create a root site collection with a custom template, what will be the possible PowerShell command?...
7
votes
4answers
5k views

Site collection creation cancelled partway - now I can't delete or use it

Unfortunately we had a situation where an IISRESET was performed by one user whilst another was creating a site collection - now the site collection can't be deleted. When I go to central ...
7
votes
3answers
5k views

Automatically turning on a feature on a new site collection

Is it possible to turn on a custom feature atomically when you create a new site collection? I have a branding feature that I want to be turned on by default for each site collection made.
7
votes
6answers
10k views

What is the REST endpoint URL to get list of site collections?

If I go to SharePoint 2013 site, click on Admin -> SharePoint, you will see a list of site collections (the link is https://somename-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx) What ...
7
votes
1answer
280 views

Web Application and Site Collection

Recently, I was asked like why do we have a web application? What's the use of it? After listening to my answer I was questioned on the same as why can't we do the same for a site collection directly? ...
7
votes
2answers
590 views

Site Collection Administrator has left the building

We have an issue with some of our SharePoint MOS (2007) installs - the SCA has left the organisation and taken his privileges with him, and we need to reassign his role to someone else. Is there any ...
7
votes
4answers
15k views

What is the best practice to duplicate a site collection?

I have a site collection, that contains sub-sites and other list that have different level permissions. If I use the "Save as template" I don't obtain a satisfied result, because template loses the ...
7
votes
2answers
8k views

Changing a site Collection URL

When I created my site collection we called it /sites/teama. The business has changed the name of teama to teamb. How can I change the URL for our site collection.
7
votes
2answers
12k views

creating site collections using SharePoint management shell 2013

I am creating Site Collections for Testing SharePoint. I am using Host Named Site Collection to do that instead of the path based site collection addressing. For that Got a reference to the HNSC web ...
6
votes
3answers
7k views

No. of subsites in a site collection?

How to get number of subsites in a site collection using Powershell?
6
votes
4answers
20k views

How to activate feature using powershell script?

I need to activate specific feature to all site collection which is inside the particular web application using powershell script?
6
votes
5answers
10k views

How do I obtain a list of large files in a site collection?

Without jumping the gun and writing some extravagant Web Services CAML query or PowerShell script (which may be optimal here), I would like to ask if anyone knows how to obtain a list of large files ...
6
votes
3answers
22k views

Activating Site Collection Level Feature with PowerShell Script

I am trying to activate a Site scoped feature using a powershell script. I have another scrip which deploys my solution and I see my feature is installed correctly in Site Collection feature gallery. ...
6
votes
4answers
8k views

Get SPWeb by ID without Site Collection?

I have a list of SPWeb IDs and would like to open the associated SPWeb objects. However, I do not know in which Site Collection they are (I DO know that they are in the current Web Application though)....
6
votes
2answers
1k views

What is the effect of granting users “Restricted Interfaces for Translation” permsion on a site

I have a team site collection, and i grant users the following permission "Restricted Interfaces for Translation" but seems users can not view the site and its lists, and they will get the following ...
6
votes
2answers
1k views

how to get site collection url from SharePoint Hosted App

I am trying to get site collection URL using _spPageContextInfo.siteAbsoluteUrl but it is giving output as https://domain.-a08083bbaacc988.sharePoint.com/sites/sitecollectionname but I want it ...
6
votes
1answer
1k views

What is the purpose of the default site collections?

In our SharePoint admin portal, we have the following site collections. We created none of these. [tenant].sharepoint.com [tenant].sharepoint.com/portals/community [tenant].sharepoint.com/portals/...
6
votes
1answer
1k views

Modify SharePoint Online Site Collection URL

I have a SharePoint Online private site collection which have called https//myco.sharepoint.com/sites/coolthing_poc. Is there a way for me to rename it to https//myco.sharepoint.com/sites/coolthing ...
5
votes
3answers
2k views

Sharepoint 2013 - List of Site Collection Administrator (JavaScript)

SharePoint 2013 On-Premises. I have a need to display Site Collection Administrators somewhere on the main page. To test this out, I have written a JavaScript for fetching user data of a website, ...
5
votes
2answers
17k views

create New site collection with new content database using powershell

How to create a new site collection in existing web application but with new content database using powershell.
5
votes
3answers
10k views

Cannot delete site collection in Central Administration

I had created a site collection. But there is a problem of web-frontend server (I did not know when I created the site), so the page is always in processing. After waiting 40 mins, I closed the page. ...
5
votes
4answers
6k views

How to add event receivers to all the lists in a site collection?

What is the best practice around adding event receivers across all the lists in a Site Collection?
5
votes
2answers
660 views

Cannot get all site collection users using CSOM

I am an admin of a new site collection in a SharePoint Online environment, and I can see all the users in user pickers. However, if i want to get the users in CSOM, i.e: var users = context.Web....
5
votes
2answers
193 views

Create site collection in content database

I want to set by default to create a site collection in an independent content database when creating a new site collection automatically! Ex: each content database only holds one site collection by ...
5
votes
1answer
696 views

Deleted Site Collection is still visible in View All Site Collection in Centeral Administration

I have deleted one of my site collection and when I check under View All Site Collection in Central Administration the deleted site collection is still appearing. How can I remove that site from ...
5
votes
4answers
2k views

CSOM - Get all site collections for a Web Application

How to get all site collections for a web application using CSOM(SharePoint on-premises). There are ways to do the same for SharePoint online. But I couldn't find a way to do it for SharePoint on-...