In Grid, I have one grid link Column (URL). But it is not displaying link


In Grid, I have one grid link Column (URL). But it is not displaying link(hyperlink) in the last rows. Here is my code.

a!gridTextColumn(
label: " Link Column",
field:"FOLDR_LOC_NME",
data: index(
local!datasubset.data,
"FOLDR_LOC_NME",
{}
),
links: apply(
a!safeLink(
uri: _
),
reject(
fn!isnull,
stripwith(
index(
local!datasubset.data,
"FOLDR_LOC_NME",
{}
),
"'"
)
)
)
...

OriginalPostID-222419

OriginalPostID-222419

  Discussion posts and replies are publicly visible

Parents
  • Can you try to remove the reject function in the xpression ,May be the data in the local!datasubset.data.FOLDR_LOC_NME was remove by the reject function

    or You can debug the xpression by creating another column that contains link data and check whether the data are correct or not

    a!gridTextColumn(
                                             label: " Link Column",
                                             field:"FOLDR_LOC_NME",
                                             data: apply(
                                                                 a!safeLink(
                                                                           uri: _
                                                                 ),
                                                                 reject(
                                                                           fn!isnull,
                                                                           stripwith(
                                                                           index(local!datasubset.data,"FOLDR_LOC_NME",""),
                                                                           "'"
                                                                           )
                                                                 )
                                                                )
                                   )
Reply
  • Can you try to remove the reject function in the xpression ,May be the data in the local!datasubset.data.FOLDR_LOC_NME was remove by the reject function

    or You can debug the xpression by creating another column that contains link data and check whether the data are correct or not

    a!gridTextColumn(
                                             label: " Link Column",
                                             field:"FOLDR_LOC_NME",
                                             data: apply(
                                                                 a!safeLink(
                                                                           uri: _
                                                                 ),
                                                                 reject(
                                                                           fn!isnull,
                                                                           stripwith(
                                                                           index(local!datasubset.data,"FOLDR_LOC_NME",""),
                                                                           "'"
                                                                           )
                                                                 )
                                                                )
                                   )
Children
No Data