Record Action behaviour with a!recorddata & a!queryrecordtype

Certified Senior Developer

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. 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data