I would like to share import csv files using PowerShell script. The easiest way import csv file to SharePoint, convert csv to excel file and use Import spreadsheet option. If your requirements does not meet import spreadsheet option, please use below script. Add PowerShell dll to access SharePoint objects if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction…
Zero Profiles Displayed After User Profile Synchronization in SP 2013
It seems number of user profiles is displaying nothing after user profile synchronization. Method 1 Go to Central administration -> Application Management -> Manage Service Applications. Select the user profile service and click on Administrators User must have “Retrieve People Data for Search Crawlers” permission to get the search results. Method 2 We can verify…
SharePoint 2013 user profile synchronization with Active Directory
SharePoint active directory import allows you to import the active directory user information to SharePoint user profile service. First step, ensure user profile and user profile sync service whether started. To check the service status, Central administration -> Manage services on server If services started, good to start the profile sync. If user profile sync…
Create user profile service application
I will show you how to setup and configure the User Profiles Service so you can begin to use SharePoint’s social networking features. This is where the personalization element comes into SharePoint: providing information that is specific to each user that can be indexed and searched. It can contain data about group memberships, managers, colleagues,…
Show custom Active directory attribute to SharePoint people search results webpart
I have a task that is show custom active attribute to people search results web part. In SP2013, it is very easy to achieve. This article how to display mobile field in search results web part. First, we need to go user profile service application in central administration. Click on manage user profiles and check custom…
SharePoint client side people picker
I would like to share how to implement SharePoint client side people picker in this article. First, we should add the reference files in solution as below /jquery-3.1.0.js /SiteAssets/ChangeRequestForm/sppeoplepicker.js /_layouts/15/MicrosoftAjax.js /_layouts/15/init.js /_layouts/15/sp.runtime.js /_layouts/15/sp.js /_layouts/15/SP.UserProfiles.js /_layouts/15/1033/strings.js Then, we should add div section in aspx page like below, this tag populate the user names if user type…
The Visible property cannot be set on Web Part
I have faced an issue while edit home.aspx page. The issue is that am getting web parts maintenance error. I thought its common error and add contents=1 in url. But, unfortunately all the web parts are fine. Then, I have started to trace with correlation id and found an error. The error is below, Getting…
Delete SharePoint groups in PowerShell
We can create SharePoint group in testing or production environment. But, we can see sometimes group name is not available but group name exists in SharePoint. Here, the question is raised, OMG!!!!! How to delete this group??? Do not worry :-). Please use below script to delete particular group in SharePoint. Add-PSSnapin “Microsoft.SharePoint.PowerShell” #Get web…
Create SharePoint groups in sub sites using powershell scripts
We know to create SharePoint group in root site or site collection. But, its hard to create group in sub sites. Why? We need to stop inheriting permissions and assign new permission role for sub site group to create every group. The below script is making easier your work 🙂 if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell…
Create SharePoint groups using powershell scripts
I would like to share below script to create group in SharePoint with permission if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null ) { Add-PsSnapin Microsoft.SharePoint.PowerShell } Custom Function to Create new SharePoint Group function Create-SPGroup { param ($SiteURL, $GroupName, $PermissionLevel, $GroupDescription) try { #Get the Web $web = Get-SPWeb -Identity $SiteURL if($web -ne…