kwizcom banner advertisement

Find and Replace User ID in SharePoint InfoPath Forms using PowerShell

6:34 PM    , , , ,
Requirement: Replace User IDs in InfoPath Forms. Little background: A particular user's User account changed in Active directory and in SharePoint we ran Move-SPUser cmdlet to accommodate the user's SAM account name change. However, There are many InfoPath form libraries with bunch of InfoPath forms in it - with old user id. Of course, Move-SPUser has no effect on InfoPath Forms! PowerShell script to search and replace user id in InfoPath XML Forms: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Configuration Parameters $SiteCollURL="http://intranet.crescent.com" #Old and New User IDs - CASE SENSITIVE! $OldUserID="<pc:AccountId>i:0#.w|Crescent\JohnA</pc:AccountId>" $NewUserID="<pc:AccountId>i:0#.w|Crescent\JonhAbraham</pc:AccountId>" #Get all webs in the site collection $WebsColl = Get-SPSite $SiteCollURL | Get-SPWeb -Limit All #Iterate through each web foreach($web in $WebsColl) {
Find and Replace User ID in SharePoint InfoPath Forms using PowerShell Find and Replace User ID in SharePoint InfoPath Forms using PowerShell Reviewed by Salaudeen Rajack on 6:34 PM Rating: 5

SharePoint Online: Create a Document Library or List with New Experience UI using PowerShell-CSOM

5:00 PM    , , , ,
The new list and library experience in SharePoint Online improves the user experience by providing many features such as navigation, fast response, mobile UI, easier to use, etc. You can switch between classic & new experiences anytime. Here is the PowerShell-CSOM script to create a document library in SharePoint online with new experience UI. PowerShell Script to create a document library in new experience UI: #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" ##Variables for Processing $SiteUrl = "https://crescent.sharepoint.com/Projects" $UserName="salaudeen@crescent.com" $Password ="Password goes here" #Setup Credentials to connect $Credentials = New-Object Microsoft.SharePoint.Cli
SharePoint Online: Create a Document Library or List with New Experience UI using PowerShell-CSOM SharePoint Online: Create a Document Library or List with New Experience UI using PowerShell-CSOM Reviewed by Salaudeen Rajack on 5:00 PM Rating: 5

Fix "Unfortunately, help seems to be broken...There aren't any help collections in the current language for the site you're using." Error in SharePoint 2016

8:26 PM    ,
Problem: The Help Menu (?) in SharePoint 2016 is not working! On clicking the Help menu, it gets the error message: "Unfortunately, help seems to be broken... There aren't any help collections in the current language for the site you're using." Troubleshooting Steps:  Enable External Web-based Help in Privacy Options of SharePoint 2016 Central Admin. Navigate to : http://central-admin-url/_admin/privacy.aspx , and Set "Yes" to "Display Help from external web Sites as specified by each Help collection?" Check the help collection status and install if needed: Open SharePoint 2016 Management Shell, Run: Get-SPHelpCollection It gave nothing. Guess help collection is not installed. Now, Install help collection by running: Install-SPHelpCollection -All wait for few minutes to get them installed (10 min!). Try close and reopen the SharePoint 2016 sites! Now, SharePoint 2016 help should work.
Fix "Unfortunately, help seems to be broken...There aren't any help collections in the current language for the site you're using." Error in SharePoint 2016 Fix "Unfortunately, help seems to be broken...There aren't any help collections in the current language for the site you're using." Error in SharePoint 2016 Reviewed by Salaudeen Rajack on 8:26 PM Rating: 5
Powered by Blogger.