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,
- Add a Multi-Text column to your list
- Edit the item that has long URL
- Go to the Multi-Text field and you will get Rich-Content Ribbon
Inserton the Ribbon > Link > To Address
- Add your Title and long URL in the respected field
You can not increase the limit.
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.
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" &"longurl_max255_chars" &"longurl_max255_chars" &"'>UrlName</a>"