Pass list details block to Rest API Placeholder

Hello all,

I’m playing with the Rest API on a list details page. I’m passing the recordId from the list details block to the API, and the list details is showing the correct information.

I’m now trying to add another list on that list details page, to show further information. about the same record, but from a different Rest API call.

The use case is a company register search:

  • List Page: List of entities
  • List Detail Page: Rest API call, passing the company registration number (recordId)
  • Desired subsequent list: List of company filings, passing {recordId} again

Is there a way to pass the list detail block recordId to the Rest API? I’m getting the following (which suggests it is just passing the string “{recordId}”:

Hi! We’re looking into this for you. Will see what we can do and will come back to you soon.

1 Like

I have the same problem. Going from list to details page via {recordId} works. But adding another list on that details page is tricky. Also: is there a way to use something different then {recordId}? Using the value from the CURRENT RECORD of that details page would be awesome to filter.

Look at the bottom of this help article - you can use all of the fields on the user record. Everything that is currently possible is listed in that doc :point_down:t3:

Ok, I’ll try to make sense of that :slight_smile: There’s something off with editing the REST API Data Sources, if I’m adjusting a Data Source it always creates a new one instead of updating.

Hmmm, this is the first we’ve heard of this. Do you mind contacting live support with this so they can look into what it’s happening with your app?

I’m hearing that this has been fixed. Can you try again when you get a chance :wink:

1 Like

Are we able to use any other place holders.

I want to use a value from my current record into the place holder not just recordId. But it is not working.

I don’t know the answer to this. I’ve asked one of our engineers but he’s on leave at the moment. When I find out, I’ll let you know.

1 Like

Thank you. If not can we get a timeline on this would be a huge update. I want to pass variables dynamically. I’m sure a lot of people will need this/ ask for it.

Any update yet @Jjenglert

No update on a timeline. It’s something we’re looking at doing, but don’t know how long it will take. We have many, many things we’re working on at the moment. Will let you know when I know.

1 Like