More News
Nintex

Update Managed-Metadata fields using Nintex workflow

In this post, I will explain how a managed metadata field can be updated using Nintex workflow. At first glance, it looked pretty straightforward to me to update it by using ‘Update an item” nintex action but its not the case. If you use “update an item” action then you willn’t get any error but […]

SharePoint 2013

Issue while adding Content editor or Html form webpart in SharePoint 2013 WebPart Pages

Befor we talk about issue while adding Content editor or HTML form webpart in SharePoint 2013 Webpart page, I would like to first explain how to add webpart page to the sharepoint 2013! Beware that it’s little trickier than adding the same in SharePoint 2010. Creating a WebPart page should be fairly easy but it […]

SharePoint Developement

Integrate Twitter with SharePoint

In this post I will explain different approaches that can be used to display Twitter feeds in SharePoint. Using Twitter embed code This approach is based on getting twitter embed code of twitter widget from twitter and using that code in SharePoint Content Editor WebPart or Html Form webpart. Step 1 Create a User widget in […]

SharePoint Developement

Integrate Facebook in SharePoint

Displaying company Facebook page in SharePoint public facing sites can be a game changer for businesses. Below are the approaches that explains how this can be done. Approach 1 – Using Facebook widget Facebook provides a widget which gives you a code that can be used inside an IFrame to display any Facebook page on […]

SharePoint Developement

TypeScript

Basically, TypeScript is a superset of javascript. Apart from being a typed scripting language, it let’s me write javascript like C#. It comes with a compiler that compiles typescript code to javascript code. Create classes, interfaces, namespaces (called modules), Generics bit like C# and has in-built support for NodeJS (by support, I mean intellisense, syntax check etc.) […]

SharePoint Developement

How to enable CSS3 styles to apply on old IE browsers (IE6-IE8)

CSS Level 3 brings with it some incredibly powerful styling features. Rounded corners, soft drop shadows, gradient fills, and so on. Without these features, styling these elements are difficult, time consuming and involves complex sprite images. But the irony for old browsers (IE6-IE8), which are still used in most of the companies, is that they are […]

SharePoint Developement

How to create a Custom Search Results page in SharePoint

There are times when you feel the need to have a custom search results page especially when you want to include extra fields from list/document libraries in your search results which are not included by default. Search results with custom look and feel can be the other possible reason. Sharepoint provides many Out-of-the-box search webparts. […]

SharePoint Developement

Set default scope for Advanced Search Webpart

In this article, I will explain how you can set the default search scope of Advanced Search Webpart. By default, advanced search webpart searches content based on ‘All Sites’ search scope which is usually scoped to multiple site collections. I personally feel it’s not a good idea to have your (advanced) search webpart configured to […]

Splunk

Remove duplicate events from splunk

To remove duplicate events from splunk, follow these steps – Step 1 – Put all the duplicate events in lookup table. index=* sourcetype=[SourceType] | eval id=_cd.”|”.index.”|”.splunk_server | transaction _raw maxspan=1s keepevicted=true mvlist=t | search eventcount>1 | eval delete_id=mvindex(id, 1, -1) | stats c by delete_id | outputlookup delete_these.csv Step 2 – View the events stored […]

Splunk

How to remove all the events from Splunk

To remove all events from host, we need to actually clean the index that is applied on that host. To clean the corresponding index, run this cli command – Open command prompt and navigate to %SPLUNKinstallationdirectory%/bin. splunk stop splunk clean eventdata -index [indexname] –f splunk start Example – To clean index named ‘default’ Splunk stop splunk clean eventdata […]

SharePoint Developement

How to connect SharePoint Filter WebParts with Custom webpart

This post explains how to enable your custom webpart to read selected values from SharePoint’s Out-of-the-box filter webparts such as Choice filter, List filter etc. Real life scenario can be that there is a custom webpart that displays SharePoint list data (with much better look and feel than OOB ListView webpart) and want to filter the list items based on the […]

Splunk

Setup Splunk Forwarder to monitor csv file

This post is basically a walkthrough about how to setup Splunk forwarder and configure it to monitor csv files. It was reasonably difficult for me to collect proper information on this topic as splunk documentation is not very extensive in terms of how it can be configured with different data sources that it supports. I […]

SharePoint Developement

Quote of the day SharePoint webpart

Just another utility to have in your arsenal but very useful and very commonly asked by some customers. Pretty trivial to develope however only part that needs a bit of thinking is how to randomly generate a quote on a daily basis. To begin, Create a sharepoint list that looks something like this – Title (Single Text) Quote (Multiple […]

SharePoint Developement

Reporting on Social feeds in MySites using SharePoint 2013 .Net Client Object Model

Recently, I was part of an exercise where we had to setup and implement SharePoint 2013 mysites in an organization. Going forward, we thought it would be very handy to have a summarized data on all the posts such as – Total number of Posts posted in a week Most Liked User last week Top replier last week Top Poster last week. […]

SharePoint Developement

Schedule a Nintex workflow using Nintex Actions

In this post I will explain how we can Schedule a workflow using Nintex actions. Let’s create a Nintex workflow which will use workflow actions to schedule a workflow named ‘Fetch Project server Details’ Step-1 Get the Workflow ‘Start From’ Date and Time To schedule a workflow, we need to get ‘Start From’ Time of Workflow. So, […]

SharePoint Developement

Add links to Create new document and edit existing document in document library using javascript

Link to Create new document in document library using documenttemplate of content type docUrl = “CoreInvoke(‘createNewDocumentWithRedirect2’,event,’”http:\\serverurl\sites\sitename\u002fDocuments\u002fForms\u002f” + contentTypeName + “\u002f” + docTemplateName + “‘, ‘http:\\serverurl\sites\sitename\u002fDocuments’, ‘SharePoint.OpenDocuments’, false, ‘http:\\serverurl\sites\sitename\u002f_layouts\u002fCreateNewDocument.aspx?id=http:\\serverurl\sites\sitename\u002fDocuments\u002fForms\u002f” + contentTypeName + “\u002f” + docTemplateName + “‘, true, 1); return false;”; In the above line, ‘contentTypeName’ and ‘docTemplateName’ variables are used, get their values using Javascript […]

InfoPath and Nintex

Publish a Nintex Workflow dynamically using Nintex workflow actions

Today, we will see how we can publish a Nintex workflow dynamically through Nintex actions. Briefly summarizing, we will create a Nintex workflow(a publisher) which will use workflow actions to publish a workflow(let’s call it ‘Project Details’). Step 1 – Store the ‘Project Details’ workflow in Document Library To begin, add the workflow, that needs to be published, in a […]

InfoPath and Nintex

Add a Spell checker in infopath form

SharePoint has a spell checking web service which can be viewed at “_vti_bin/SpellCheck.asmx” and can be used to check spelling errors. So, to enable spell check in Infopath form, we can use this webservice. Basically, in your New or EditForm.aspx, add either content editor webpart or Html Form webpart with this code that calls this […]

Project Server 2010

Add multiple Calendar Exceptions to Project server using PSI

Recently I had to write a Project Server gateway (a class library) that interacts with Project server site using Project server webservices. In this case, I had to copy all the leave details from some old system to Project Server 2010. The only challenge that I faced was to filter and fill the Resources dataset only […]

SharePoint Developement

Client Side validation in SharePoint New and Edit forms using PreSaveAction() and Javascript Client Object model

It’s very common to validate data before adding or editing item using sharepoint list forms i.e. Newform.aspx and Editform.aspx. To handle this kind of scenario “PreSaveAction()” javascript function can be very handy. The default ‘Save’ button in SharePoint calls this function before it does anything else. Simply place a Content Editor Webpart in NewForm.aspx or EditForm.aspx. Inside […]