Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Working with foundation 2010.

I'm trying to create an admin configurable read-only hyperlink field.

I'd like a column type where I can specify the url and description (in the content type administration), but when it's used in a list on the site, those values are read-only.

How can I go about this?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

You will need to create a custom field type

For what you need the code will be very easy to produce.

share|improve this answer

So you want to create a column that is going to be static, and the same for all items in the list? What a waste! Instead, it would make more sense to store the link in a separate location, and append it to the rendered views.

share|improve this answer

You should get most of your answer from here as it goes into detail with examples:

http://technet.microsoft.com/en-us/library/ee524076.aspx

and

http://sharepoint.microsoft.com/blogs/GetThePoint/Lists/Posts/Post.aspx?ID=58

hope it helps :)

share|improve this answer
    
Thanks for the links, although they don't seem to apply 1) - It's not external data, just a column I want to contain a link to a specific list 2) I only want the one field/column read only, not the whole item, and I can't restrict to 'owner/creator' –  Trevor Sep 10 '12 at 15:53
    
He meant field not the whole content type chap. –  Hugh Wood Sep 10 '12 at 16:10

Your Answer

 
discard

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.