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 texttool 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
Discussion posts and replies are publicly visible
It is expected as it is not a link, rather it includes a link. Why not just remove the "tool link" from the text and only keep it as "https://www.google.com"?
Hi
Yes, we can remove it.
Is it possible that if we change something in the code and this error will not come? As users may do this mistake and because of this we are getting a blocker that all the users can not use the application until I delete or rectify this record from the production database.