Skip to main content
gautams4173
November 13, 2023
Question

Index Data in a!recordData

  • November 13, 2023
  • 8 replies
  • 0 views

Hi 

I am using a!recordData to show data in my gridField 

Now I have a requirement of implementing a button wherein If I click that button all the data should be selected ( i.e. the ids of all the records should be saved into a local variable )

But now I am not finding a way to index the recordData at once 

Can anyone help me in this ?

8 replies

sriramk5349
November 13, 2023

Hi [mention:33794ebc39034be6a8166212f1b53ddb:e9ed411860ed4f2ba0265705b8793d05] ,

a!recordData cannot be used everywhere. 

If you need all the ids of records, use a!queryRecordType with same filters you used in a!recordData and then save them in local variable.

gautams4173
November 13, 2023

But the problem here is there can be more then 50k records at a time . 

stefanhelzle0001
Brainy
November 13, 2023

What are you doing with this? Do you really need to store ALL ids in a variable, or just "know" that all items are selected and react on that further down in processing?