Developer forum

Forum » Dynamicweb 10 » Field type link and length

Field type link and length

Bjørn Ingebrigtsen
Reply

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. 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
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 Dynamicweb Employee
Søren Jensen
Reply

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
Reply

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