Baserow version: Free
Self-Hosted: No
OS: Windows 11
Browser: Chrome
Issue:
I am adding a data source, which is to “Get a single row”. However, I can’t select the #id for the table in question. I only see an option for a “user” table, which I don’t even have.
So I got the Parameter > #id to show up. Sharing datasources between pages does not work well, especially with single rows. I had to set up a single row datasource for the detail page only.
I am making a “Details” page. A page to be viewed after clicking on a “Repeat element” link/item. To do that, you have to make a page with an ID parameter.
I was having an issue where the Parameter > #id would not show up. I discovered that this was because I had my data sources “shared between pages”.
You cannot use a shared datasource to make a “details page” (/pageurl:id), as the parameter > #id will not be available, which is needed to make the “details page”.
Datasource “Shared between pages” (get single row):
Notice the Parameter ID is not present.
Hi @Iokaar, I may still be a bit confused by the specifics of your situation - but perhaps there is some confusion as to why the parameter option is available or not available. That option will only be available if you are creating a datasource within a page that has a parameter available to it. So in your case, this option would only be available when creating a datsource within the details page and not within the page that has the repeat element to navigate to that details page. I hope that clears up the confusion. If I have misunderstood the problem, I apologise and await your response with further explanation.