Can I store component blocks in TinyDB?

94 views
Skip to first unread message

Scott Ferguson

unread,
Sep 29, 2012, 9:47:56 AM9/29/12
to app-inventor-de...@googlegroups.com

This was a test to see if a component id block can be saved, retrieved then plugged into an advanced block with TinyDB. The test scenario was to save a button's component id block and some text for a new button label in TinyDB, then retrieve the component block and new text from TinyDB then plug the component id block and new text into the button. When attempting to do this in the app, the error "Property setter was expecting a Button component but got a String instead." was thrown and End Application was the only option available.

David Sanborn

unread,
Jan 20, 2013, 10:45:06 AM1/20/13
to app-inventor-de...@googlegroups.com
I forget what app I was working on, as I have quite a few on the go, but I tried using the component block in a 'for each' and got the same error. I had a list of components the 'for each' was to process. 

Scott Ferguson

unread,
Jan 21, 2013, 4:55:18 PM1/21/13
to app-inventor-de...@googlegroups.com
As far as i know thisstill doe not work.
Reply all
Reply to author
Forward
0 new messages