Hyperlink function is not giving desired outcome in lightning, but works in Aura-rendered flexipages (and Classic)
Last updated 17 days ago ·Reference W-9081682 ·Reported By 1 users
No Fix
Summary
Some hyperlink formula fields are broken, and not going anywhere. A new tab may open with the same record that contained the initial hyperlink formula field.
This is caused by the filtering out of non-allowed-protocols from the href, as defined in formattedRichText Lightning Web Components.
formattedRichText employs an allow list for "URIs", but it appears to only check protocols. If a Formula Field is used, and in that formula field use a hyperlink function, and the protocol is not in the allow list, then the href is filtered out.
Repro
1. Create a formula field on a custom object
2. Create a record and make the formula field use hyperlink to something like "navision://somehost.com"
3. View the record, and click on the link
Workaround
Attempt a coded solution, possibly using visual force or apex
Reported By (1)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.
