Change PDF Icon in SharePoint

By default, SharePoint does not include PDF document file type icon. So we need to do the below changes to display the PDF icon for PDF files in our SharePoint environment. Here is how we can add PDF icon in SharePoint 2010: Download an appropriate icon for the PDF document type. You…

Read more

How to Hide View All Site content & Recycle Bin Links in SharePoint 2010/2007?

Another frequently asked question: How to Hide the Recycle Bin & View all Site content links in SharePoint site? Yes, we can hide them, not a big deal! Hide View all site content & Recycle Bin Links from Quick Launch in MOSS 2007 Here is how to hide View All Site Content…

Read more

Expand-Collapse for Multiline Text columns in SharePoint

Sometimes, when working with the Multiline fields, they may occupy the whole page :-). We can solve this issue by introducing Expand-Collapse Trick with jQuery. On clicking on the little Arrow that row will be expanded, then again clicking will collapse. Here is How: Add the CEWP webpart and place the below…

Read more

SharePoint Site templates, Site Definitions, Feature Stapling – Explained

The main objective of the feature stapling concept is: Pre-activate desired features automatically on creating SharePoint sites based on site definitions like Team Sites (not site template .stp). For example, if you want to apply branding to creating team sites, you can use feature stapling. So, in your feature, you have to…

Read more

KPI Dashboard using SharePoint List

We can generate the KPI list using simple SharePoint list with computed columns! Here is how we can get SharePoint list based status indicator. Create a SharePoint list with desired fields, then create a field with choices, Let’s say, Field name Cost_Input: with values Red, Green, Blue. Then let’s create another computed…

Read more

Image Tool tips in SharePoint using jQuery

Here is my requirement: when I mouse over an image, I should get a tool tip with screenshot for easy usage. Here is how I’ve done this using J-Query: Download the jQuery files and upload them into a document library, from here: https://plugins.jquery.com/files/dimensions-1.1.2.zip https://jquery-very-simple-tooltip.googlecode.com/files/jquery.tooltip_v3.2.2.zip (Update: Looks this link is unavailable! Use: https://www.jqueryscript.net/tooltip/Easy-Tooltip-Image-Preview-Plugin-with-jQuery.html)…

Read more

How to Get the Query String from the URL and Set the Form field value?

From the Above URL, I need to get the value for the parameter: AccountName. Here is how it got achieved using javascript: Another Case: Today, I am running in a situation like: I have to get the value from URL and set that value to SharePoint form’s field. My URL is: https://abc.com/sites/xyz/Lists/Metrics/Edit.aspx?List=3f7f4d96%2D00da%2D46f9%2Dae38%2D5053a9e8b321&ID=319&Source=http%3A%2F%2Fabc.com%2Fsites%2Fxyz%2FOwnerEntry%2Easpx%3FProjectID%3D71…

Read more