On sharepoint 2013 I have a list and one of the field is a Link and picture field, we use this for links only. I would like to set the description to some text e.g. "Click Here" whenever there is a link set in the field e.g. not blank. this should override anything the user may have entered for the description, not the link itself.

This is so we don't have long links showing in the list.

Can this be done in items validation field or else where?

1 Answer 1


Yes, you can use JSLink to take control of the rendering of your field. It requires development skills, but is still very easy to do. Check out the PnP example for JSLink, https://github.com/SharePoint/PnP/tree/master/Samples/Branding.JSLink

If this answers your question, please mark as answer.

  • thanks but I was hoping for an answer without compiling code... could it be done within a workflow on the create?
    – Adrian
    Commented Nov 30, 2017 at 11:16
  • @Adrian JSLink does not require you to compile code. Just write the js file, upload to SharePoint and register it. Registration can be done with PowerShell if you prefer. You can build a workflow if that is more in your comfort zone. It is still important to mark as answer if it helps you, it will help others in the future. Commented Nov 30, 2017 at 17:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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