Expression evaluation error at function a!safeLink [line 31]: tool link - https://www.google.com/ is not a permitted URI under the configured security rules and cannot be cast to safeUri. (APNX-1-4198-000)
Hi Team,
I am using the below code snippet for the links column and separating multiple links using semicolons.
a!gridColumn(
label: "Links",
sortField: 'recordType!LA Record Link.fields.links',
value: a!richTextDisplayField(
label: "Real Links",
value: a!forEach(
items: split(fv!row['recordType!LA Record Link.fields.links'], ";"),
expression: a!richTextItem(
text: fv!item & char(10),
link: a!safeLink(
uri: fv!item,
openLinkIn: "NEW_TAB"
),
linkStyle: "STANDALONE"
)
)
)
)
But when the user is inserting a link with the below text
tool link- https://www.google.com/ it is giving an error tool link - https://www.google.com/ is not a permitted URI under the configured security rules and cannot be cast to safeUri. (APNX-1-4198-000).
Even the tool record type interface is not working until I delete the record from the database.
We tested multiple cases and found if we write anything before the https:// it is giving the same error. Is there any possible way to resolve it like whatever we write inside the link column it should take it as link?
I am attaching the error screenshot as well.

Could someone please help me with this?
Thanks
Kundan
