Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
11

To show list view from Parent site at subsite in SP 2013 / 2016, You have two options Using Data View Web Part Using Content Query Web Part (1) Using Data View Web Part Open your Parent site via SharePoint Designer 2013. Go to File Site Pages > Create a new Page > Edit in advanced mode. From the above ribbon > Insert > Data View > Select the list that you ...


10

Deleted subsites not going in Recycle Bin They are there, but You should find them with this path: http://server/_layouts/15/AdminRecycleBin.aspx?View=2 ...or view=13 for he case of SharePoint Online


9

You're within the limitations of SharePoint (http://technet.microsoft.com/en-us/library/cc262787.aspx) in either scenario, which is good. Some of my thoughts As far as performance, I don't think you'll see much in way of improvement going from one DB to multiple DBs, unless you can move the DB files to different disk arrays. 100GB is a reasonable size for ...


7

to do this in chrome: go to the home page (or any page really) of the sub site you want to check. open the Chrome menu and select More Tools > Developer Tools. View the page source and do a ctrl+f and search for "var g_wsaSiteTemplateId". This will give you a value like = STS#0 or something like that. That value tells you what the site template was. ...


7

The simplest way is to Save list as Template with Content > then at subsite create it from this template. Go to list Setting > Save List as a template . At subsite > Add app > create a list from this template Also, you can use Export -and Import Export-SPWeb -Identity http://site -Path c:\export.cmp -IncludeUserSecurity -IncludeVersions All -ItemUrl /...


6

http://server/sites/site1 is a different site collection. Go to the central administration. Select the site collection under the web application and add the account in its list of administrators.


6

You can read/write to web property bag using JavaScript object model. Example of reading the custom property: //wait until client object model dependencies are loaded before executing our code ExecuteOrDelayUntilScriptLoaded(getWebProperties, "sp.js"); var webProperties; function getWebProperties() { var clientContext = new SP.ClientContext....


5

Your code is, for the most part, correct. However, since this is done in an app, what you're doing is getting all the subsites of the app, which are zero. You need to use the Cross-Domain library, since the host resides on a separate domain. In order to call the Cross-Domain library, you just need to reference the SP.RequestExecutor.js file. You can ...


5

It could be achieved by creating a separate Term Set for Variation Navigation and configuring Navigation settings for a Variation sub site How to configure Managed Navigation for a a Variation sub site Assume we have Variation sub site named News for which we need to specify custom Global Navigation (Managed Navigation). Steps: Go to Term Store ...


5

You're missing the WebId property: var xlv = new XsltListViewWebPart(); using (var oSite = new SPSite(" http : / / app:3333/ ")) { using (var oWeb = oSite.OpenWeb("/ProxymIT/Direction")) { var oList = oWeb.Lists["AdministrativeNotes"]; //your list name xlv.WebId = oWeb.ID; xlv.ListId = oList.ID; xlv.ViewGuid = oList....


5

I have answered for the same kind of query , Please find below the detail to get the available custom templates and create a sub-site based on that . This can be achieved using power shell and CSOM by following below steps . Once the custom template is uploaded into the solution gallery of the site collection execute the below commands in Powershell: Add-...


4

You might also take into account that the initially required storage capacity will grow over time. Having to split your "catch-all" SiteCollection later on won't be fun, so my recommendation is to start with several SiteCollections and have room for growth


4

In site settings there is a section to select what page layouts are available on that site. You can set this to inherit or choose specific page layouts. That would be the first place to check.


4

It sounds like you need to activate the publishing feature down at the sub site level. This will create the Site Pages library for you. To do so go to Site Actions > Site Settings > Manage Site Features (under the Site Actions section) > Active "SharePoint Server Publishing". Note that you should do this down at the sub site level where the Create Page ...


4

the sub sites by default inherit permission from the parent site. you can go to --> Site Setting --> Site permissions of your sub site i.e sub_subsite1 and click on stop inheriting Permission and add your user to that site.also remove the user from the parent site.the user can access only the sub site.


4

I faced the same issue yesterday and the below solution worked for me. Gave read access for SharePoint Taxonomy Hidden List for all authenticated users (or only the owners if you wish) operating within the site collection. This list is hidden and does not inherit permissions. you can find it by browsing directly to /Lists/TaxonomyHiddenList. Posting the ...


4

For Publishing Site or sites have publishing feature enabled, you can use the Design Manager as the following: To inherit Master Page / Theme of the Main Site to the subsites. Look and Feel > Design Manager > Publish and Apply Design. For Site Master Page Check Reset all subsites to inherit the Site Master Page Setting. For System Master Page Reset ...


4

I feel stupid answering my own question seven hours after posting, but in my efforts on another Subsite to Allow management of content types (Under Advanced Settings of a List) so I could hide the default column I accidently altered this content type on the top level site. I changed the Status of the Document content type to Hidden and saved. When I noticed ...


4

Workflow 2013? You can make a REST call inside the workflow to achieve this goal. You just need grant app permissions to your workflow in both sites. To create a workflow with elevated permissions: https://msdn.microsoft.com/en-us/library/office/jj822159.aspx (do the 5-9 steps in both sites, with the same App ID) To make a REST call inside the workflow: ...


4

I tried contacting Microsoft for the same requirement but I found this question is already answered by Microsoft support team. The reply from Microsoft Team was like Currently, the sub site limit is 2,000 for Office 365 subscriptions. We can see the limit here: SharePoint Online software boundaries and limits. For any changes, we will update the News ...


4

You could try using Export-SPWeb and Import-SPWeb w/ PowerShell. These commands have parameters for including security and versions. I think you generally need to create a new subsite at the destination before importing. Here's an example of a bulk archive process I did recently, using a CSV file that contained the URL (.web), Title and Site Collection ...


4

This should help $web = get-spweb http://intranet $template = $web.GetAvailableWebTemplates(1033) To create a new subsite, based off of a custom web template, you can use the following script $web = get-spweb http://intranet $template = $web.GetAvailableWebTemplates(1033) | Where-Object {$_.Name -eq "My Custom Template Name"} New-SPWeb -Url "http://...


4

Here's a approach based of the Search which should be way faster and more ressource friendly. It currently only groups subwebs after rootwebs, but could easily modified to also group the subwebs. Result: [ 22.04.2016 11:41:02 ] Infrastructure found by Search: https://rootSPDomain.de https://rootSPDomain.de https://rootSPDomain.de/SubWeb1 ...


3

A variation would be to instead impersonate an account that are setup for this special use, with the needed permissions on the root web. But in this scenario I do not really see the problem with giving the users read access on the list. So I agree fully with @Benny Skogberg in this scenario, although noting that there are scenarios where elevating ...


3

I apologize for this post, because this is opinion based only. Opinion based on experience, however, but nevertheless - opinion. I'd go down the path of giving All Authenticated Users read access instead of elevating to some administrator level. One problem with elevating to admin is that SharePoint "help"s your code to not be your admin but rather the ...


3

Yes it is possible, the sub-site has its own Permissions and you can setup its unique permissions so that the users you want have access to sub-site [not all of them] You simply need to play with Site Settings -> Permissions when in sub-site!


3

No, you can't do it for sub community sites The Enable auto-approval option is available only for communities that are root site collections and not available for community subsites Managing Community Memebership


3

You should do it recursively as below function DeleteWeb([Microsoft.SharePoint.SPWeb] $web) { $webs = $web.GetSubwebsForCurrentUser() foreach($w in $webs) { DeleteWeb($w) $w.Dispose() } Remove-SPWeb $web -Confirm:$false } $web = Get-SPWeb "http://weburl" DeleteWeb $web $web.Dispose()


3

I depends on many factors. Some of the rules I follow are Create Site Collections - For not related entities (Ex - Departments) Create Site Collection if we are dealing with large amount of data. This will enable us to split Content Database per site collection In all other cases I simply create site based on the organization structure.


3

Similar to the other posts, I recommend a single site collection for customers, and a subsite per customer. As far as sharing columns and such, use the Content Type Hub and load up your content types and throw those in your issues lists. If you don't have a site provisioning process, get one ;) this can handle your CTs and lists for you. Then using search ...


Only top voted, non community-wiki answers of a minimum length are eligible