• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

Calculated Hyperlink Column

Hello

I am trying to create a calculated hyperlink column within a SharePoint list. I would like to append the ID of the item onto the url so that it links to a page like this:

http://domain.com/page.aspx?id=136

I have managed to achieve this using a workflow but I would prefer it if it was a calculated column. Any advice would be much appreciated.

Thanks.
0
Grontmij_UK
Asked:
Grontmij_UK
1 Solution
 
ivan_vaguninCommented:
Hi!
You can create a custom field type like this: http://www.spsamples.com/2011/06/sharepoint-indicator-field-type.html.
The other option I see is to use ItemAdding event receiver instead of workflow: http://msdn.microsoft.com/en-us/library/ff728093.aspx
0
 
abhitrigCommented:
Another option is to create a simple calculated field to create the href link and then use the HTML Calculated technique to display the hyperlink. http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now