Hi All, I would like to do an apply function on a safeLink. Basically

Hi All,

I would like to do an apply function on a safeLink. Basically the code looks like this:

apply(
a!safeLink
(
uri: urlforrecord(cons!recordType, _)
),
local!datasubset.data.primaryKey
)

This is happening inside a gridField for a column that I want to display as a link. I would like the users if they click on the link open the result in a new tab. I found only this combination of safelink and the function of urlforrecord to yield that result. But right now it is issuring a JS error saying that it cannot cast from function or rule to type SAFEURI. the uri tab of the safelink expects a type of SAFEURI and that is not liked by the apply function. Is there any way around this?...

OriginalPostID-118314

OriginalPostID-118314

  Discussion posts and replies are publicly visible