Tuesday 3 December 2013

Calculated Column hyperlink to open an InfoPath Form

This is very tricky. Here I need to create a calculated column where I use a Hyperlink image on which, when the user clicks , InfoPath form shall open in browser.

First you simply set the data type of the Calculated Column from Text to Number or Date/time and it will display the link as a hyperlink. Copy and paste the below code and edit the url based on your site and library.

="<a href ='http://{SERVER}/{SITE}/{LIBRARY}/Forms/template.xsn?openin=browser'><img src ='http://{SERVER}/{SITE}/PublishingImages/Applynow.png'></img></a>"