Posted in SharePoint 2010, Sharepoint 2013

Using Hyperlinks in Calculated Columns with ID value of item

If you put this line of code inside a calculated column formula,it will show a hyperlink to the item:

="<a href='http://site/_layouts/15/listform.aspx?ListId=listid&ID="&ID&"'>Link</a>"

 

 

Cheers

Advertisements

2 thoughts on “Using Hyperlinks in Calculated Columns with ID value of item

  1. Please try changing your value of “The data type returned from this formula is: ” from “Single line of text” to “Number (1, 10, 100)”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s