161364 - no subject - my link to records doesn't work:\nlinks:

my link to records doesn't work:
links: apply(
a!recordLink(
label: "Go to record view",
recordType: cons!CONS_RRF_Records,
identifier: _,
dashboard: "summary"
),
local!datasubset.identifiers

I'm getting the error: "An Error Has Occurred
The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006)".

The weird thing is, the link works fine on the first two rows.

OriginalPostID-161364

  Discussion posts and replies are publicly visible

Parents
  • You can force a label like the one described with an apply() over a repeat() that accounts for the size of the array.

    I tried to contextualize according the the example given.
    a!gridTextColumn(
              label:"",
              field: "someField",
              data:
                        apply(
                                  repeat(
                                            times:_,
                                            input: "Go to Record View"
                                  ),
                                  {length(local!dataSubset.data)}
                        ),
              links: {
                        apply(
                                  a!recordLink(recordType: cons!CONS_RRF_Records, identifier:_),
                                  index(local!datasubset, "identifiers",{})
                        )
              }
    )
Reply
  • You can force a label like the one described with an apply() over a repeat() that accounts for the size of the array.

    I tried to contextualize according the the example given.
    a!gridTextColumn(
              label:"",
              field: "someField",
              data:
                        apply(
                                  repeat(
                                            times:_,
                                            input: "Go to Record View"
                                  ),
                                  {length(local!dataSubset.data)}
                        ),
              links: {
                        apply(
                                  a!recordLink(recordType: cons!CONS_RRF_Records, identifier:_),
                                  index(local!datasubset, "identifiers",{})
                        )
              }
    )
Children
No Data