NAV 2013 R2 - Why can't this URL field be longer than 20?

MarcusRB
Member Posts: 40
Hello,
I've created a new table and in this table there's a field called "Link", it's of type Text with a length of 50 and it's ExtendedDataType is set to URL.
When I try to insert anything above 20 characters I get the following error:

Is there some implicit restriction in NAV that doesn't allow more characters, or is there some property that I just can't seem to find that will allow more characters?
Best regards
Marcus
I've created a new table and in this table there's a field called "Link", it's of type Text with a length of 50 and it's ExtendedDataType is set to URL.
When I try to insert anything above 20 characters I get the following error:

Is there some implicit restriction in NAV that doesn't allow more characters, or is there some property that I just can't seem to find that will allow more characters?
Best regards
Marcus
0
Best Answer
-
It seems that because the Link field is a part of the primary key, that it's not allowed it's full length.... I just tried creating an ID field and using that as the primary key instead of the Link combined with Machine and Rolecenter, and I was able to enter a link that was longer than 20 characters.
Does anyone know why that is?0
Answers
-
It seems that because the Link field is a part of the primary key, that it's not allowed it's full length.... I just tried creating an ID field and using that as the primary key instead of the Link combined with Machine and Rolecenter, and I was able to enter a link that was longer than 20 characters.
Does anyone know why that is?0 -
Perhaps you have a relation on the field to another table. It happens if you copy field definittion from another table and modify it later, forgotting to amend TableRelation propertySlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions