Hot answers tagged

2

You can do the following at the Web Application, Site Collection, or Web level (so substitute the cmdlets appropriately): $wa = Get-SPWebApplication https://webAppUrl $wa.AllowCreateDeclarativeWorkflow = $false $wa.Update() There are no settings to control creation, deletion, editing of 2013 workflows. The only option for 2013 is to remove the Workflow ...


1

The issue is that PowerShell expects null value to be specified as $null, In your case, this is the correct syntax: if($_["Task Owner"] -eq $null)


1

The subweb count is the problem, here. Even if the subwebs were empty, it would take a significant amount of time to perform the upgrade, likely on the order of days. Your best solution is to move subwebs to their own Site Collection, even if within the same database (though this would be an opportunity to split them out appropriately across two or more ...


1

SharePoint Server products do not provide the function of live streaming. You should be looking for social networking service or communication platform like Yammer or Teams. References: Live events in Yammer. / Broadcast a live event in classic Yammer using Teams. Yammer Enterprise also provides integration with SharePoint Server in case you need ...


1

You could try to add add a setTimeout() menthod in the end: setTimeout(SlideshowObjectInitializer, 500);


1

Answer: You cannot use =CONCATENATE(Proper(Right)(Left)) The proper sequence or hierarchy is CONCATENATE((PROPER(Left)),(PROPER(Right))) In order to change a field with a value of first.last and make the value a proper name I used the following formula in a calculated column: =CONCATENATE(PROPER(LEFT(fieldName,INT(FIND(".",fieldName)-1)))," &...


1

The method to set whether the column is displayed in the edit form should be SetShowInEditForm. $username = "amos@contoso.onmicrosoft.com" $password = "Password" $cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force) Connect-PnPOnline -Url ...


1

If you can execute PnP PowerShell script, you can hide columns from appearing in the forms like: Import-Module -Name SharePointPnPPowerShellOnline -Verbose $cred= Get-Credential #Config Variables $SiteURL = "https://mytenant.sharepoint.com/sites/testing/" #Connect to PnP Online Connect-PnPOnline -Url $SiteURL -Credentials $cred $list = Get-...


1

There is no OOB way to achieve this in SharePoint. From your description, you want to add columns in the Task content type, however we can't build relationship between newly created column and related columns' properties.


1

We cannot make cross-sitecollection calls from JSOM in SharePoint 2010. Here is a similar issue for your reference: https://social.technet.microsoft.com/Forums/en-US/a1853212-62ac-4a15-a47f-e27bc1c35187/hot-to-get-list-which-is-located-in-different-site-collection-using-ecmascript?forum=sharepointgeneralprevious The scope of client object model is site ...


1

Per my knowledge we cannot do this in SharePoint Online. Without version history part, you can use MS flow to automate the process. However we cannot migrate the version history from one file to another.


1

Just like psdpainter said, limited access is not a permission level for you to grant. It is only a bridge helps user to go through locations where he/she does not have enough permission and navigates to the specific item which he/she can access. Quote from MS doc: it enables a user or group to browse to a site page or library to access a specific content ...


1

In SharePoint 2010 CSOM, try to get file stream using Microsoft.SharePoint.Client.File.OpenBinaryDirect, here is the modified code: private static byte[] GetFileData(ClientContext clientContext, string SiteUrl, string path) { try { var web = clientContext.Web; clientContext.Load(web, website =&...


1

In addition to the site policy function, no other functions need to be activated. Please check ULS logs or event logs for any clues. As a workaround, we could use powershell to make the site collection read only: Set-SPSite -Identity "SiteCollection" -LockState "No access" More information for your reference: https://docs.microsoft.com/...


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