I have made a simple app where there is a title at the top of the screen and the user can type in a text and click a button to set that as the title. I want to in future make this more advanced and practical, as I am new to Thunkable and still learning how to use it The title on the screen uses a label and blocks to set the text of the label to the text of a cell in a Google Sheet, but I can’t find a way to refresh the data without needing to restart the app. I know that the designated data viewer component has the ability to refresh the data, but if I use a label, how would I make it refresh so that the text I input instantly appears on all devices running the app?
Hi @gw14haugheyfraserdd2 , welcome to Thunkable!
Could you please try to use the “get row object from” with the “get property” block?
Here is an example:
When the app opens on mobile, it gets the latest data from Google Sheets. If someone has opened the app and you at the same time are editing the data, the user will need to close and reopen the app to see the new data.
A workaround will be to use a Data viewer on your app. You can connect a Data viewer with your data source and then hide the data viewer component.
Every time an action in the app is performed, like when a user opens a screen or clicks a certain button. you can refresh the data when you are using Data Viewers with the “Refresh Data” block:
Be sure to check out How to ask Great Questions v2.0, the Community Guidelines, and our Getting Started Guide to make the best of your Thunkable Community experience!