SharePoint

10 Reasons Why You Need SharePoint Workflows

Every organization wants a better way to keep critical files safe, right? Microsoft SharePoint challenges the difficulty and clumsiness of having several discs or locations by providing a readily accessible one-stop solution for all the information your organization needs to compile. Never heard of SharePoint? It’s an excellent tool for creating internal web pages within

SharePoint Content Collaboration Now In Microsoft Teams

Microsoft SharePoint and Teams are the two highly-preferred enterprise collaboration offerings by Microsoft for organizations around the globe. Over the last twelve months, Microsoft Teams has become the most widely used enterprise collaboration because of the amazing functionality, but more importantly for its simplicity. Known for making collaboration a breeze, Teams lacked some enhanced integration

How Migrating to SharePoint Online Can Help Your Organization

Microsoft has been revolutionizing how businesses operate for the past 30+ years. In the beginning, we had the Office Suite that transformed the entire documentation and record-maintaining process. And if digitizing paperwork was not enough to blow one’s mind, the tech giant introduced the Enterprise Collaboration Solution called SharePoint which revolutionized how we saw digital

Display rating control in xslt list view webpart after migration from SP2010 to SP2013

  Make sure you have Ratings setting enabled in your list/ library.   As the rating field is not shown properly;   Add below link for XSLT; <xsl:include href=”/_layouts/15/xsl/blog.xsl”/> <xsl:include href=”/_layouts/15/xsl/internal.xsl”/> <xsl:include href=”/_layouts/15/xsl/fldtypes_Ratings.xsl”/>   Add below code for Rating; <xsl:call-template name=”emit_RatingsInitialization”/> <xsl:apply-templates

While migrating solutions and scripts from SP2010 to SP2013 “_spUserId” doesn’t work

When migrating solutions from and script from SharePoint 2010 to 2013, we ran into some weird error where we could not fetch the current logged in user with “_spUserId” anymore. var user = _spUserId As a workaround we used below; var user =

SharePoint 2013 BreadCrumb On Master Page

Let’s bring the breadcrumb back to SharePoint 2013! By default SharePoint 2013 design manager  doesn’t have a breadcrumb snippet . If you are going to build master page for sharepoint 2013 and wants breadcrumb in your master page, this was a very helpful feature to navigate back in your site and some users really miss

Bulk delete SharePoint List items using CSOM

SharePoint CSOM enables us to delete bulk list items using browser console. Scenario-1:  We have a list of records to be deleted from a SharePoint list and we do not want to delete record one by one. Scenario-2:  We want to delete the list and list already had cross the threshold limit and not allowing

SharePoint SPSiteDataQuery

SPSiteDataQuery is used to Query multiple lists or to read data from all the lists in a site collection. Get Combined result Below is the example to query multiple list data sources and get combined information in data

To set custom sub site icon in a custom master page.

I.e. For Sub Site – A: . For Sub Site – B: Below is the approach followed from me: Added below entry in master page but it was always resulting in wrong URL (404 URL not found) and referring to Site Collection URL (It was needed to refer sub site URL) <asp:Image runat=”server” id=”idMainSubSiteImageLink” CssClass=”subSiteIconData”

Apply Background image to SharePoint 2010 site

Add below lines of CSS and done!!! <style type=”text/css”> BODY { background-image:url(“bg.png”) !important; background-repeat:no-repeat; BACKGROUND-COLOR: transparent !important; }   .s4-ca { BACKGROUND-COLOR: transparent !important; } .ms-alternating,.ms-gb,.ms-alternatingstrong { background-color: transparent !important; } .ms-WPHeader { background-color: transparent !important; }

Get extract of files modified after particular date from SharePoint library or folder within library (PowerShell script)

Function getFilesWithin($list) { foreach($item in $list.Items) { if ($folderURL -ne “”) { if ($item.Url.StartsWith($folderURL, “CurrentCultureIgnoreCase”)) { $targetFile = $item.file; if ($targetFile.TimeLastModified -ge (Get-Date $lastDate)){ $item.Name + “;” + $item.Url + “;” + “File;” + $($targetFile.TimeLastModified).ToString(‘dd/MM/yyyy’) | Out-File $logWrite -Append } else { write-host -f green “Not changed

How to update SharePoint’s Group Owner using PowerShell

#Enter the site URL for which the group owner needs to be updated $webUrl = “http://test.company.com/man” Write-Output “Getting site object” $web = Get-SPWeb $webUrl Write-Output “Success” Write-Output “Getting User Group” $spGroups = $web.groups #Get the owner group $UserGroup = $spGroups | where {$_.Name -eq “User”} Write-Output “Success” foreach($group in $spGroups) { if($group.Name.StartsWith(“User”)) {

Delete all sharepoint list item using powershell

write-host “Type YES to continue” $retvalue = read-host if ($retvalue -ne “YES”) { write-host “exiting” -foregroundcolor green exit } write-host “continue” $web = get-spweb http://sharepointweburl:2015 $list = $web.lists | where {$_.title -eq “List Name”} Write-host “List $($list.title) has $($list.items.count) entries” $items = $list.items foreach ($item in $items) { Write-host ”  Deleted: $($item.id)”

Window scroll event is not firing in SharePoint

In SharePoint $(window).scroll() event is not firing because code is load in master page web part zone. SharePoint master page doesn’t use the scrolling on the “body” tag. Add scroll event on div tag with ID=”s4-workspace”. Replace $(window).scroll() code with something like bellow $(‘#s4-workspace’).scroll(function() { alert(‘Hi’);

SharePoint 2010 User Profile Sync

The SharePoint 2010 User Profile Synchronization is a very complex component in implementation and very fragile in implementation. We have seen a lot of issues in implementing this functionality in our environment. Following are the steps that we have gone through to successfully start a User Profile Synchronization in our environment and some helpful information

NGenious Solutions