Why we are using .@attributes.@anyAttribute._recordRef in the below rule and what is the need for using it in that rule.
cons!COM_ENV_TXT_SITE_URL & cons!CLM_TXT_RECORD_URL & a!recordLink( recordType: cons!CLM_RECORD_REQUEST_DETAILS, identifier: ri!requestId, dashboard: ri!dashboard).@attributes.@anyAttribute._recordRef & "/view/" & ri!urlStub
Discussion posts and replies are publicly visible
You are trying to access properties of the record link that are not supported which is dangerous for your app. I imagine you want to use a safeLink so instead you should use fn!urlForRecord()
And also let's not forget that for the past few versions we can now (thank goodness) use a!recordLink() and instruct it to open in a new tab similar to the behavior of a!safeLink, except doing it this way also stays within the context of the user's current Site.
© 2023 Appian. All rights reserved.