Hi All
Looking for some advise. Currently I have an App CaravanMate on the stores and for whatever reason it will update but it will not retrieve user local storage.
I have decided to give it a facelift with a brand new version.
I am looking at better ways to build the App.
Perhaps save to variables, perhaps an option to save their data to the cloud so if they change their phone they don’t lose their data
The App currently has Labels and text inputs where the user can add their descriptions and weights on 2 different screens. Can a list viewer contain 2 values and can the second value be summed to give a total weight? Can a list viewer have multiline
There is a checklist with sliders to check off items when they are packed. User inputs their own descriptions
There is a save favorite caravan parks where the user enters suburb, park name, address and a field for other details about the park. This is a home built list type screen that displays the 4 fields when a suburb is touched
I have been experimenting with thunkable lists and getting my head around them.
Can a list be saved as one in a variable?
Can that variable then be saved to google sheets, firebase or airtable, rather than as I currently do it where each field is saved independently to local storage.
Lists would allow the user to add their own items as few or as many as they want rather than being restricted to the current amount of fields I offer them
I think backing up your users’ data to the cloud is an excellent idea!
You can only save text and objects as a cloud variable.
To save a list to the cloud, you can convert it to text and save it as a cloud variable. You can then retrieve this variable, convert the text back to a list, and use it in your project. You can read more about this in the variables docs.
You can save a list of data to an online Data Source, but you would need to create/update individual values in a column individually.
I hope that’s helpful! Let me know if you have any follow-up questions.
I have rewritten the test app with variables. It is now a List viewer where I join 2 input fields into the list.
All working fine but now I need to sum every row after the delimiter Space - Space. " - "
I have tried to sum this but with no success. Could you assist with blocks to help do this. I can sum when I enter 1,2,3,4 in a text input but I need to sum everything in the list after the delimiter.
You already have those… you’re creating them by joining the text inputs with the delimiter. In your When Btn_Save Click block, you are adding that whole text string to the numberslist list:
You literally just replace the block “app variable list” in my project with your own list which I believe is called “app variable numberslist”. That’s it.
The “for each item j” block just loops through the list storing each item in the variable “j”. And then the remaining blocks parse that item to find the location of the dash (-) and get a substring of the item starting after the dash.
I’m not sure what else to explain. I think if you switch the two blocks I mentioned, you’ll find that it works.
And if not, post a link to your project and I’ll see if I can help make more sense of things.