Batul.aia (8.5 KB)
Why is my "Add Coach" button doesnt store any value to the cloudDB (its in "admin" screen)
If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...
which means in your case post a screenshot of your relevant blocks...
To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Sent the screenshot
Help, i cant seem to fix it no matter what i add or change the cloudDB just refuse to update its data. i have a list picker there to look into the list of variable "coach"
is the problem in cloud DB or its actually the add item in list??
Because you do this
on your first run you will receive a blank text instead of an empty list.
That will cause errors on any add item to list blocks against the result.
So you have to watch for the blank (non-list) in incoming data.
So change from
to
If you ask for students and coaches, and you use just one event to receive either, you need to test the tag that's incoming to update the right global list.
so i have to swap blank text in "valueIfTagNotThere" to "create empty list"?
That would work, except if you find a non-list there from prior testing or bad code.
In that case, treat it as an empty list.
apparently it still doesnt work.. i even added a button that clear the values in the cloudDB.. but the "add coach" still does nothing. It does trigger the "Done" alert from notifier but it doesnt change the list
nvm, i found the actual issue already. Apparently i cleared the textbox text to "blank" before it actually save the text to cloud. so my cloud has been saving them although as "blank"s
Good spot.
For good measure, add a when cloud DB error event block to catch and report cloud DB errors.
The MIT default cloud DB service is fickle.
just add a showalert?
I like the message block with the okay button, in case I blink.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.