Passing data to 2 different screens

Hi,

I have a list which shows an student information which when clicked calls an student details page and this works fine.

However, I also have a link on the Right Icon which is to goes to another page - Add Grades. On this page, I want to display some of the student details above a form but the collection doesn’t show so I am unable show the student information on this page.

Is there anyway to accomplish this?

Thanks

Steve

Do you have any other pages linked to grades page? Aside from the button link from the student list.

Also can you check the grades page data. Let me what was data the page has available.

@SynopsisLabs on the “Add Grades” screen, if you created a link from the icon in the List of Students, there should be “Current Student” data available.

If it is not - some other screen is breaking the data flow (look at the left pane, available data and you’ll see which one is not pushing Current Student to this screen).

Best,
Victor.

Hi,

Thanks for the suggestions. I should have included the fact that this is an external API pulling data from Xano.

I tried it with local tables and it worked fine.

Have to figure out how to do it with Xano data as I added the API endpoint to a new collection which should search by student_id, but the only options showing in the Magic text are still the count, etc.

Steve

@SynopsisLabs that would be an @Victor explanation. I try to keep every native to Adalo in my builds, so I do not have enough experience with external collections to provide good help.

1 Like

Hi Steve,

Since the list is connected to the students table in the students list screen, that data should be available in the add grades screen too. Did you checked if the current student data is available in the add grades screen like Jacob & Victor mentioned?

I think you would need an addon, added into your endpoint response. : https://youtu.be/XKIbVm-jFGE

Thank you and have a great day!

Ok,

I got the data to show

but am now trying to add the grade info. I have a Xano API which posts the date but am not seeing how to add the parameters in the Query Params section.

How would I reference the student_no along with the form data in the query params?

Thanks

Steve

You would not need any query params in the external collection setup. Have you connected the grades table as an external collection and connected that external collection with the form? Then the create action in the form will create the row in the Xano table and in the form, you can add the student_no property as an automatic field and fill it with the current student_no using magic text.

Let me know, thank you and have a great day!

Hi,

Thanks. Getting there slowly but surely!!

Steve

1 Like