'Data missing from this link'

I’m having an issue where ‘Current Exercise’ Data is not being passed into ‘Exercises’ screen. I’ve checked the relations of databases and followed the journey. So far I can’t see any brakes, can anyone suggest what could be the cause? 3 Days ago this problem wasn’t there and it worked as expected, so my guess is that I’ve messed up somewhere.
Link to my adalo: Adalo


Hello, please check if the screen is linked to another screen passing the “Current exercise” data.

Thank you!

Based on the images and the description of your issue, it looks like there might be a problem with how the data is being passed to the “Exercises” screen. Here are a few steps you can follow to troubleshoot and potentially resolve the issue:

Steps to Troubleshoot:

  1. Check Data Links in the Screens:
  • Ensure that the data link between the “Workout Week” and “Workout Day” screens is correctly passing the current workout day data.
  • Make sure that the data link between the “Workout Day” and “Exercises” screens is correctly passing the current exercise data.
  1. Verify Database Relationships:
  • Double-check the relationships between the “Workout Days” and “Exercises” collections to ensure they are set up correctly. From the image, it appears you have a many-to-many relationship, which is correct.
  • Ensure that the “Exercises” collection correctly references the “Workout Days” collection.
  1. Data Passing in the Link:
  • When you set up the link from “Workout Day” to “Exercises,” make sure to select the correct data to pass. You need to pass the “Current Exercise” data to the “Exercises” screen.
  • In the link action, verify that you are passing the correct context (i.e., the current exercise data).
  1. Check for Recent Changes:
  • Since the issue appeared recently, consider any changes you made to the screens, data collections, or relationships.
  • Revert any recent changes if possible to see if the issue resolves.
  1. Testing Data Flow:
  • Use preview mode to navigate through the screens and check if the correct data is being displayed and passed along each step.
  • Add temporary text fields or lists to display the current data being passed at each screen to help debug the issue.

Detailed Steps:

  1. Ensure Correct Data Link:
  • Go to the “Workout Week” screen, click on the component that links to the “Workout Day” screen, and verify that the “Current Workout Day” is being passed correctly.
  • Do the same for the link from the “Workout Day” screen to the “Exercises” screen, ensuring that the “Current Exercise” data is being passed.
  1. Database Relationships:
  • In Adalo, go to the database section and check the relationship between “Workout Days” and “Exercises.” Make sure it is set as many-to-many and that there are no missing references.
  1. Pass Data in Links:
  • When setting up the link, click on “Show Advanced” and ensure the correct data is being passed.
  • For example, when linking to the “Exercises” screen, make sure to pass the “Current Exercise” data.
  1. Preview and Debug:
  • Use the preview function in Adalo to navigate through the app and check if data is correctly displayed on each screen.
  • Add text fields temporarily to display the current workout day and exercise data to ensure it’s being passed correctly.

Example of Setting Up Links:

  • Link from Workout Week to Workout Day:
    1. Click on the link action.
    2. Ensure you are passing the “Current Workout Week” data.
  • Link from Workout Day to Exercises:
    1. Click on the link action.
    2. Ensure you are passing the “Current Workout Day” data.
    3. Check if “Current Exercise” data is correctly passed in the link to the “Exercises” screen.

By carefully following these steps, you should be able to identify where the data is not being passed correctly and fix the issue. If you need further assistance, please provide more specific details about the links and data you are trying to pass.

Thank you both for looking into this.

@Ali-Bazzi ,
the ‘Current exercise’ data should be taken from the Workout Days. As each Workout day contains a number of the exercises.

@KelvinKlassen ,

On your point: * Ensure that the “Exercises” collection correctly references the “Workout Days” collection.

  • Can you please elaborate? As I’ve have Many to Many relationship set up between 2, I thought this is the only reference I’ll need?

    1. Data Passing in the Link
      It looks like I don’t have a control of what being passed here. As soon as I link screens, I see data missing from this link.
  • 4 I’ve been rolling back updates and relations that I did before it stopped working, unfortunately it didn’t help. I think it’s something to do with the relations, however I’m yet to find what’s causing the issue

Here is the link to a Loom recording where I show all links and relations Understanding Workout Day Setup 🏋️‍♂️ | Loom

@Vladyslav,

From where the exercise data passing? In your video I don’t see that from where the exercise data comes. You can check from the Exercises screen that from which screens(s) the current exercise data is missing.

Check these videos made by Patrick : https://www.youtube.com/watch?v=Qo9SnoyWAyU&pp=ygUSYWRhbG8gZGF0YSBtaXNzaW5n, https://www.youtube.com/watch?v=hnQQ5dfKZLY&pp=ygUSYWRhbG8gZGF0YSBtaXNzaW5n

Thank you all for looking into this.

@billyloewe has pointed out that the issues was caused by screen’s title back arrow, which had action to Link to another screen, instead of having an action ‘back’. After removing those links it all works as expected now.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.