For the first time I have had to create a workflow against a calendar item, previously the workflows I have been writing have been against documents or InfoPath forms.
A reasonably common occurence in these workflows has been to send an email out to users which would typically include a link to the document. Up to now I have been using the Encoded Absolute URL field to embed the hyperlink and this has worked fine. However this did not produce the effect I was expecting when the workflow was linked with a list item.
The link I was getting was being formatted something like this http://localhost/sharepoint/home/Lists/listName/915_.000 which is not a valid URL.
To work around this I found that I had to build up the URL using HTML like this <a href=’http://localhost/sharepoint/home/Lists/listName/DispForm.aspx?ID=%5B%CurrentItem:ID%%5D’>Click Here</a>
There is nothing like a bit of consistency to brighten my day!
Leave a comment