SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a lookupfield which is containing an E-Mail Adress and want to have it inside an Tag. How is this Possible?


<a href="mailto:<SharePointWebControls:LookupField FieldName="b0d8fc62-4160-4a62-a594-ac4deb6f33ec" runat="server"></SharePointWebControls:LookupField>">E-Mail</a>
share|improve this question
up vote 3 down vote accepted

use a reference to the internal column name wrapped in curly braces

<a href="mailto:{@InternalColumnName}">Email</a>

The internal name is different from the display name. To find the internal name, navigate to your list settings page, then right click on the column name, scroll down through the complete url until you see "title=" and then copy and paste everything after that. Lookup columns inject underscores and percent symbols all over the place so they often don't match the display names.

share|improve this answer
Thank you, worked :D – fr34kyn01535 Dec 15 '11 at 8:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.