I'm not seeing a clear answer on this after browsing through other answers. Closest I found was this, but doesn't work after fiddling with it for a while. I already have some jquery filling in textboxes, would like to keep going with that.

var urlValue = new SP.FieldUrlValue();


urlValue.set_description("test link");

myItem.set_item("TestURL", urlValue);

also tried playing with this:

$("input[title='Item Path']").eq(1).val("link description");

$('input[id^="ItemPath"]').eq(1).val('link description');

this works:


$("input[id^='testlink']").eq(1).val("description here");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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