Creating a product field of type Link creates a nvarchar(255) in the database, but links can be up to 2048 characters, so when programatically setting links with that are longer, it will fail.
Developer forum
E-mail notifications
Field type link and length
Bjørn Ingebrigtsen
Replies
Nicolai Pedersen
Posted on 11/06/2025 23:19:51
This post has been marked as an answer
Hi Bjørn
I can see that. You can change the field directly in the database - that should work all the way through.
I will send this to Søren - PM for PIM and see if we should change this.
Thanks, Nicolai
Votes for this answer: 1
Søren Jensen
Posted on 12/06/2025 13:41:03
Hi Bjørn,
Created feature request (24594), to make change on this field type.
Workaround is, as NP mention, that you change it directly in database
/Søren
Bjørn Ingebrigtsen
Posted on 12/06/2025 13:57:39
Yes we ended up creating a Long text field and then later changing the field type to Link in the database, and it works.
You must be logged in to post in the forum