I am using sharepoint 2013. I have column type Hyperlink in a list. It is not taking more than 255 characters for the url. Can I increase the limit? How can I do this using js?


You can't increase the character limit of the hyperlink column. But you have a workaround for it,

  1. Add a Multi-Text column to your list
  2. Edit the item that has long URL
  3. Go to the Multi-Text field and you will get Rich-Content Ribbon
  4. Click Insert on the Ribbon > Link > To Address
  5. Add your Title and long URL in the respected field

Source: https://stackoverflow.com/questions/16424917/long-url-in-sharepoint-for-url-type-field


You can not increase the limit.

Possible workaround

You can use Multi-Text column find more here


You can use URL shortener like https://goo.gl/ and then store the URL in your hyperlink column.

Google's URL shortener has JavaScript API. So call this API from your JS code and then store it in your hyperlink column.



As an alternative (only to display a Hyperlink in a VIEW) you can use a calculated column, with the datatype set to DateTime (Number will align the HTML to the right) to output it as HTML.

This also has the maximum string length of 255 characters BUT you can concatenate multiple strings up to the maximum Formula length of 4000 bytes

="<a href='http://longurl"

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.