Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Using CSOM (JavaScript) how do you get the URL and description fields from a Hyperlink field?

share|improve this question
Did you check the SPFieldUrlValue class? – Vardhaman Deshpande Nov 17 '12 at 18:43
Yes - there's no complete example on there of how to use it. – Ryan Nov 17 '12 at 18:45

1 Answer 1

up vote 4 down vote accepted

Here is the working code:

var context = SP.ClientContext.get_current();
var myListItem = context.get_web().get_lists().getByTitle("ListName").getItemById(1);



share|improve this answer

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.