Hi Joseph,
Thanks for the clarification regarding using [url] in recent versions to generate custom links in the display template.
However, after testing this in ResourceSpace 10.6, it seems that [url] no longer behaves as expected for dynamic keyword list fields. Regardless of the template I define, the field values are automatically converted into internal search links (e.g., search.php?search=@@<node_id>), and my custom URL is ignored.
For example, with a metadata field of type "dynamic keyword list" (e.g., productid), containing multiple values like 123456 and 987654, I tried the following display template:
<div class="item"><h3>[title]</h3>
<a href="
https://testserver1/productid/[url]">[value]</a></div>
<div class="clearerleft"> </div>
But the generated links still point to the local ResourceSpace search (e.g.,
https://my-rs-server/pages/search.php?search=@@317) instead of using the custom URL I’ve provided.
Interestingly, this works perfectly with plain text fields, where [url] (or even [value]) is replaced correctly inside the href. It seems the auto-linking behavior for dynamic keyword fields is overriding the display template logic.
Question:
Is there a way to disable the automatic internal linking behavior for dynamic keyword list fields?
Or a way to fully control the output via view_template, without it being overridden by internal logic?
If not, would it be possible to make this behavior optional/configurable in a future release?
In some use cases (like mine), these values are meant to link to external systems, not trigger internal ResourceSpace searches.
Thanks in advance!