when is in list? event triggers it says cannot accept arguments is in list(something like that) when i build the app/ connect it with ai2 companion.
What's the problem with it.
Note: the selected listviewer element is Neil
I would be grateful if you could help me with blocks very soon as today is deadline of my project
@TIMAI2,@Peter The whole project is of 512 blocks
Hence, let me explain it to you very briefly(I'll try)
Globaluserlist is the list of users on database through firebase tags.
Getvalue is get the saved contacts list in clouddb under the tag(username+savedcontacts[JOINED])
Process:
In my project, i am using getvalue event many a times for various tags. Therefore I have set conditions and variable states for differentiating between the conditions when to get which value under which tag.(in clouddb)
So, the condition set by me here is after picking from global userlist, i want to check whether that value under the saved contacts tag matches with the globaluserlist. If yes, i want this event to notify by alert.
Using firebase AND cloudDB. Why ? (rhetorical...) Just use one...
Given that you have not shared your blocks, it is difficult to know where the list error is coming from. I can only give a verbal response. I suggest you look at the values being returned by your getValue calls, the answer will probably be there, somewhere.
If it is so, right click on the workspace and download the blocks as image and attach it here or send a .aia file.
It will be easy for everyone to check your code and help you out. (just a suggestion)
When i try to get value as considering it to be a list
it gives argument
when i try to show it on a label
it changes label text to the last/latest value under tag
i am storing multiple values
and i want to check that one entered by me while operating the app is one the values under this tag.
I hope this helps you to help me
I am not blaming you, sir.
Okay, Let me make my question as simple as possible as i tried to make it earlier... How can I check whether a specific thing/value provided by me is one of the values under a given tag?