Wednesday, September 30, 2015

SharePoint 2013 Send email to multiple users in designer workflow

Requirement: We need a form with fields Title, link, attachments and cc users. On form submit, an email notification should be sent to submitted user and CC to "CC Users" Developer Solution: 1. Create a list / app with fields;                    ...

Monday, September 28, 2015

SharePoint 2013 Get distinct values of a column in a list or library

I am sure you would have come across the requirement "Get distinct values of a column in a list or library" That's why you are here. What a typical developer usually does for the same requirement; In jQuery / C#: - Retrieve the list items - Create an array object - Loop all list items - Compare column value with array - Store the value in array if there is no match * I think it is very easy to...

SharePoint Read values from query string parameter

You will always be wanted to read Query string parameter values using javascript in SharePoint 2013 due to the App models. I was digging internal files of SharePoint 2013 for an issue and accidentally found out inbuilt javascript function "ReadQueryParam" to read query string parameter values. You can make use of it. No need to write custom javascript/jQuery functions. If you are not able to call...

Tuesday, September 8, 2015

SharePoint Hosted App error: This page can't be displayed

I did not get an opportunity to work on App model in SharePoint 2013 but I wanted to crack. I decided to give it a try from simple (I thought its very simple) SharePoint hosted app. What I did; - Opened Visual Studio 2013 - Created new project with template "Apps for SharePoint" - Decided to deploy...

SharePoint change context menu to other column instead of Title column in View pages

In SharePoint, we can create new View for Lists and Libraries and select the columns that we want to show. Most of us do not use Title column in List / Libraries. Therefore in views, we use to hide the Title column and SharePoint OOTB provides the context menu for Title column. Then how does the business...