Skip to main content
anveshs420634
July 17, 2025
Question

Record Action behaviour with a!recorddata & a!queryrecordtype

  • July 17, 2025
  • 4 replies
  • 0 views

I noticed a behaviour , just curious to understand more details if anybody knows

Using API backed record for read only grid, 

 case1:- For data: a!recorddata() was used and  action was configured as below

      a!recordActionField(
         actions:a!recordActionItem(
                     action: 'recordType!myRecord.actions.myAction',
                     identifier: fv!identifier

case2:- For data: a!queryrecordtype() was used and  action was configured as below

      a!recordActionField(
         actions:a!recordActionItem(
                     action: 'recordType!myRecord.actions.myAction',
                     identifier: fv!row[recordtype!recordname.field.primarykeyfieldname]

 if I use identifier: fv!identifier in second case its throws error saying record was either deleted or I do not have enough permission to perform action. So i have to use primary key field of record as identifier. 

4 replies

stefanhelzle0001
July 17, 2025

I checked the documentation. Looking for fv!identifier, I do not see any reference of using it inside the gridColumns.

Did you try to use a textField to display and validate the value of fv!identifier in the grid?

anveshs420634
July 17, 2025

No, I was not using fv!identifier anywhere else in grid. And only record action was called in a separate column without any additional details configured- just the code i mentioned above at start was present in separate column to trigger the record action

stefanhelzle0001
July 17, 2025

I did a quick test, and using fv!identifier just works like expected. This is for a normal DB backed synced record.

So, I suggest to add a simple text field showing fv!identifier to find out what the actual value is. As a first step in debugging the issue.