Magic text from database to appear in custom list

Hey!

I have made an custom list, with the purpose of updating a users record, with data from a record from second database.
I have succesfully programmed my toogle buttom for that, but suddenly i cant acces the information i want to diplay in my custom list from my second database.



Skærmbillede 2024-08-13 134751

Hi @janfogde, can you elaborate more

By second database, do you mean another database collection in adalo or an external database outside adalo?

Hi @clemxytech.

Just another database internal in adalo

Welcome to the community @janfogde! :partying_face:

Since it’s a many to many relationship, you need a list to show the records. You need to show user’s motivations?

Hi @dilon_perera

Thank you. No, i dont need to show it, just need the info in backend.

That means? Could you explain a bit?

I just want the motivation behind my users use of my app, i dont need to showcase the data in any way in the. I like the visuals possibilities the customs list gives me, thats why i choose that.

I also have a second list, where the need to link the information to the user i critical, and the problem is the same, so fingers cross for a solution :grimacing:

So you added a custom list to show the motivations? Then you can filter the list as Logged in user’s motivations. Could you explain a bit more your issue? ( also you can explain in your native language if explaining in English is harder :raised_hands: )

Yes. I have a custom list showing my motivations. My motivations is listed in a database for them self. (Them having a database for them self is not crutial, just the only way i could think of it.)

On that list i want to use toogle buttons to report my desired action.
That action is: To be able to see what motivation the selected users have choosen, and for them to be able to choose more than one.

Maybe i’m making the wrong relationships between my databases?

So you want to show the list of motivations with a toggle > then users can select motivations by clicking and unclicking on the toggle?

Am I correct?

No, sorry again. I need my users to be able to choose that motivation they want with the use of the toogle, that gives me the results in my database that they have chosen that/them motivations.

My wish is:
User see custom list with a,b,c, d motivations, motivations being drawn from database collection

A,b,c,d have each they own designated toogle.

User click toogle a + b

The users record is updated with the informations that this user have chosen a + b.

If I’m still nok making my self understandable, please fell free to stop you help, so you don’t vaste to much time on me. I’m already very thankful for your time.

Yeah, that’s what I show in the videos. Did you check them? So you can check the motivations collection for see which users selected the respective motivation.

I tried it, and it works perfectly. Thank you!!!

1 Like

It’s great to hear that the solution worked for you! If you run into more challenges, consider double-checking how your data is being updated in real-time, especially with toggle interactions. Sometimes, adding logging or debugging steps can help pinpoint any issues that might not be immediately visible. If you need more help, feel free to ask!