I am working on a restaurant feature and in the design I sign a user and company up, the process works when I sign up the user and data on the company is also visible in the database itself.
The problem I have is that when I preview the page, no data except the user details are shown.
I have deleted all privacy settings to test if there is an issue with the permissions.
The data source is set at the page level and everything is blue, so clearly the workflow and the logic is fine.
I have also set the slug and the slug has been created but when I click o the nativation bar which has a “send more parameter” option set as well.
Any help would be highly appreciated.
Since you’ve already checked privacy settings, here are a few things to test:
Ensure the page is set to the correct Company data type and is actually receiving data when navigating. Try displaying the current page’s thing in a text element to confirm.
If you’re using ‘Send more parameters,’ make sure the company ID or slug is correctly passed and retrieved on the next page. You can check this by using Get data from page URL
.
Use ?debug_mode=true
in the preview URL and step through the workflows to see if any data is missing.
Also check if elements are hidden or set to display only when conditions are met.
If none of these work, try creating a simple test page with just the user and company data to isolate the issue. Let me know what you find!
Thanks. So I have managed to view the data by changing the page url to show the slug. However, as soon as I move away from the page and try to preview the page removes the slug and I think that’s why the data isn’t showing.
I have logged out and logged back in again, user data shows and the same issue but if I manually change the url with the company data then it shows.