Help

Filter By record id

Topic Labels: API
Solved
Jump to Solution
2803 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Isaiah_Ngaruiya
4 - Data Explorer
4 - Data Explorer

Hello.
I am trying to implement a search functionality using the record id is this possible given that the id isn’t in one of the fields?
As an example, I have the following records

records: [
{
id: “rec2PRjhAMAh2O64a”,
fields: {
Name: “blah blah”,
}},
{
id: “rec2otu8JF7ijlmA4”,
fields: {
Name: "klkdsd ",
},]
I want to search by the id. Is this possible?

1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

If you are using the Standard REST API, the only way to request filtered records is with filterByFormula, which only works on existing fields. If you have creator access to the base, you could create a new formula field that displays the record id.

See Solution in Thread

1 Reply 1
kuovonne
18 - Pluto
18 - Pluto

If you are using the Standard REST API, the only way to request filtered records is with filterByFormula, which only works on existing fields. If you have creator access to the base, you could create a new formula field that displays the record id.