I have recently upgraded from 2013 to Web 8.5. We are now running into an issue with our external link
field.
For our content, this field is sometimes a URL but can also be a token that our CD code resolves. However, now in 8.5 it looks like the external link
field type is validated to make sure it is a valid URL.
Is there a way to turn that off? Or is my best option to change the field type and update any of the code that this effects? The only docs I can find all talk about UGC validators or custom validators.
Update: Adding error details.
XML validation error. Reason: The 'http://www.w3.org/1999/xlink:href'
attribute is invalid - The value 'mailto:{{pa_region_email}}' is invalid
according to its datatype 'http://www.w3.org/2001/XMLSchema:anyURI' - The
string 'mailto:{{pa_region_email}}' is
XML validation error. Reason: The 'http://www.w3.org/1999/xlink:href'
attribute is invalid - The value 'mailto:{{pa_region_email}}' is invalid
according to its datatype 'http://www.w3.org/2001/XMLSchema:anyURI' - The
string 'mailto:{{pa_region_email}}' is not a valid Uri value.
As you will see the token in this field is {{pa_region_email}}
this is the same token we have always had. XML validation would have changed but we do also have a GUI extension (same one and code base as in 2013). Digging more into XSD or GUI config.