Help

Selecting multiple records by ID, is this syntax a bad idea?

Topic Labels: API
1097 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Phil_Deschaine
5 - Automation Enthusiast
5 - Automation Enthusiast

Say I need to get 5, 10, or 50 records, and I have their record_ids. Is this style of syntax a bad idea?

{ filterByFormula: "OR(RECORD_ID() = 'reca9IDlX0gvu32ml', RECORD_ID() = 'recgh3XeMcdmX8uPj', RECORD_ID() = 'reczBZBWZG06DOsCO', RECORD_ID() = 'recXvnMcZKmxyBtUi')" }

I’m generating the innards of the OR with code.

Thanks in advance.

1 Reply 1
Robert_Jurado
5 - Automation Enthusiast
5 - Automation Enthusiast

Did you get an answer about this? I have a similar situation and trying to figure out the best way to return multiple records by passing the Ids.

RJ