Tag Info

Hot answers tagged

2

You can implement like the following: $web = Get-SPWeb http://sharepoint.contoso.com/sites/sitecollection $web.AnonymousState = [Microsoft.SharePoint.SPWeb+WebAnonymousState]::Enabled $web.Update()


2

You can do it all from C# using the excellent post found here: http://blah.winsmarts.com/2014-4-Get_list_of_site_collections_using_CSOM_in_Office365.aspx This example is, I believe, from within a SharePoint app but you can do it similarly from a console app. First you'll need to add a reference to Microsoft.Online.SharePoint.Client.Tenant.dll which you ...


1

You would have to resort to calling the PowerShell, and using the Get-SPOSite cmdlet to get all the site collections. The following will return the url of all site collections: var runspace = RunspaceFactory.CreateRunspace(); runspace.Open(); var pipeline = runspace.CreatePipeline(); pipeline.Commands.AddScript( "Import-Module ...


1

You can create site collections in SharePoint Online with C# using the client side object model. You will need to install the SharePoint client SDK first which includes the CSOM libraries and the all important Microsoft.Online.SharePoint.Client.Tenant.dll. There is a full walkthrough on how to get the client SDK and use the CSOM libraries with C# to create ...


1

Their are couple of reasons for the issue. Make sure the imgages are still in the Imgaes folder on 14 hive( all server in farm) Make sure Docicon.xml is correct( sometime its become corrupt or somebody make changes in it which cause broken image).location of file is C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES.


1

try the below code and see if it works $claim = New-SPClaimsPrincipal -TrustedIdentityTokenIssuerr $ap -Identity UserName $site = New-SPSite $url -OwnerAlias $claim.ToEncodedString() -template "STS#0" I think you need to encode the string to get it works. http://technet.microsoft.com/en-us/library/ff607753(v=office.14).aspx#section1 Also check this one: ...


1

Rather than send your uses to the useless OSSSearch Page, why not just configure the Site Collection to send them to your search center. This way you will get results from all sites? Alternatively you can teach them what to expect when searching a list (just list content) a site (just site content) and "everything" all site collections.



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