New answers tagged

1

Projectsite is new template introduced in the SharePpint 2013, that site does not required the Project server licensing. You can read in depth about this template over here: On the PWA templates called project web app which are part of Project Server( Project service Application) and required extra configuration. i.e project server configuration, provision ...


1

A project site, ProjectSite#0, is a standard SharePoint project site template. A Project Web Access site, PWA#0, is a special template for those using Project Pro/Project Web Access for project management. If you don't have anyone using MS Project, stick to ProjectSite#0 templates.


0

In principle you have three alternatives: 1) Two site collections 2) A site collection with two sites 3) A site collection with a site In option 1 the information is completely separate and permissions as well. It will be very difficult to access information from another, except for programming. I do not recommend it. In option two you can manage ...


0

[SharePoint Online] I've had this problem too, it was not the App principal that was returned but the site admin as current user. The problem for me was that I had not yet added this to the app manifest: <AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" ...


0

We had this issue many times, In our cases. The fix was, Make sure site is not locked. For some reason, SharePoint restore process put a Lock on the Site collection which causes this issue. Could you please check this from Central admin > application management > Configure Quota and Locks...On this make sure your site is not locked.


1

You could compare the ID with the RootWeb: clientContext.Load(clientContext.Site.RootWeb, rw => rw.Id); clientContext.Load(clientContext.Web, w => w.Id); clientContext.ExecuteQuery(); var isRoot = (clientContext.Site.RootWeb.Id == clientContext.Web.Id) ? true : false;


1

First of all, there is no way to do this using the GUI, You have to rely on the PowerShell. there are 2 options in Powershell. use the Copy-Spsite Copy-SPSite http://contoso/sites/OldTeam -DestinationDatabase WSS_Content -TargetUrl http://contoso/sites/NewTeam Now Run the Remove-Spsite to remove the old site. Another option is Using the BackUp and ...


2

Source: http://www.sharepointrelated.com/2015/03/30/change-site-collection-url-sharepoint/ $site = Get-SPSite http://servername/customer/questions $site.Rename("http://servername/customer/generalquestions") And you have more detailed info in http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=573


0

SPSite.RootWeb is the object you're after, in server side code ( http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.rootweb.aspx). SP.Site.get_rootWeb() in client object model code ( http://msdn.microsoft.com/en-us/library/ee552834.aspx). Below is the sample code to get ROOT Site Collection. var clientContext; var siteCollection; // Make ...


5

CSOM Using the ClientContext, get your Site object and check its URL SPContext.Current.Site.ServerRelativeUrl : if == "/" JSOM For that you can use the _spPageContextInfo variable. To check if user is in root site collection vs any other site collection, check this variable : _spPageContextInfo.siteServerRelativeUrl : if == "/", then is the absolute ...


1

<script type="text/javascript" src="../../JSLibrary/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../../JSLibrary/jquery.SPServices-0.4.8.min.js"></script> <script type="text/javascript"> $(document).ready(function () { var managerName; var userName = ...


1

Please try below code <img src="<asp:Literal runat='server' Text='<%$SPUrl:~sitecollection/sitecollectionimages/MyImages/test.png%>' />" />


0

I would probably create an app to facilitate this. You can make it SharePoint-hosted, and it would just have a form that a user fills out to execute a creating on a SharePoint site collection. This may be a little harder than a SharePoint list + powershell, but the app makes it easy to port over from site to site. Create an app using the App Model in ...


1

I think if you need to create a wizard with the user interaction, powershell is not the alternative. It is correct to use an application page. With C # code. Another alternative is that the sites are created in a list and trigger an event receiver with c# code to create the site collection. By using SSOM you have many tools for flexible solutions. Of ...


2

I would do this way( i am guessing you are developer). Create a List in SharePoint with all required column( Site collection name, url, Owners, Site template etc)as per your requirement.One special field which will indicate whether this request processed or not( true/false type). Now create PowerShell Script, which will read from List and create the site ...


0

There are a couple of things to check: Check the alternate access mappings for the web application and ensure that all of the URLs over which you want access to the web application on are listed. Check the IIS bindings configuration for the web application on each server. If you've created a web application without a host header (i.e. just an IP ...



Top 50 recent answers are included