Tag Info

Hot answers tagged

3

After searching over internet four hours I found one thing. That it is not possible to make alias of the url because the site collections lie within same web application. So, that way was not possible for me. The final solution is to create an HttpModule for web application that checks specific url, if it meets the condition then redirect that request to ...


2

Create a custom 404 page for your site collection, then either add code behind to it with your own logic as when you want to create a subsite and when not.. OR in SharePoint 2013 create a custom error page, add a content editor webpart to it, and some javscript code which will create a subsite for you, but there is a lot of things that you will require to ...


2

You can activate SharePoint Server Publishing Infrastructure features on the site collection level. Then Go to the site settings of your subsite and find Navigation link in Look and Feel section. In Current Navigation settings select Display the same navigation items as the parent site


1

In you custom ONET.XML you need to provision default.aspx as well. <Module Name="Home" Url="$Resources:osrvcore,List_Pages_UrlName;" Path=""> <File Url="default.aspx" Type="GhostableInLibrary" > <Property Name="Title" Value="$Resources:cmscore,IPPT_HomeWelcomePage_Title;" /> <Property ...


1

Is the stuff with promises important? If not why not just use 'Include(AllProperties)' to include the properties and do something like this: var context = SP.ClientContext.get_current(); var webs = context.get_site().get_rootWeb().get_webs(); context.load(webs, 'Include(AllProperties)'); context.executeQueryAsync(function(){ var enumerator = ...


1

You can try the below powershell code. You need to # get a sitecollection object(SPSite) $SPSite = Get-SPSite -Identity "http://sp2010/" # loop through all the subwebs(SPWebs) in the site collection foreach ($SPWeb in $SPSite.AllWebs) { # check so that this is not the root web if (!$SPWeb.IsRootWeb) { # allow unsafe updates ...


1

I found an answer, just for site collection created on web application root. Use this command to backup a site collection Backup-SPSite -Identity "http(s)://your-site-collection-url" -Path "C:\backups\your-site-collection-backup.bak" It's important to use an absolute path as -Path parameter. Then create a new web application and then run the following ...


1

couple of things you can do. 1) Backup curent site collection and then restore it with different name & url. 2) you can use export Site Collection and Import site collection. You will lose the metadata etc. 3) you can use the 3rd party tool for this, which give you more power & flexbility and less effort. try ShareGate migration tool. they have 15 ...


1

Your sub sites will have the content types. Make sure that you have created the content types, and the hub, on the root site. You know that you are on the root site because if you go to site settings, you will see the "Site Collection Administration". Really the only possibility is that the hub is not coming from the root site of the site collection (I ...



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