Hey guys,
As I understand I cannot just use Refresh() function to update my gallery.
Currently I have a following formula in Items to my Gallery:
Office365.CalendarGetItems(CalendarName.Text).value
I would like to update it lets say every 2 minutes, so that I can see the updated version of my meetings
As I read I need to collect again. Could someone provide me a solution as I really spend long time on figuring it out.
Thanks a lot!
Solved! Go to Solution.
I found solution myself.
Need to use variable. so create a new gallery, in text write f.e. varGallery
Then create a timer and in the end of it use Set(varGallery,code_which_gallery_used)
And voila it works!
@lenro
You could create a Timer with the following properties to Refresh the collection every 2 mins.
Autostart: true
AtTimerEnd: ClearCollect(colCollection, your_code_here)
Duration: 120000
Repeat: true
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Thanks for fast reply.
When you say, your code here, which one you mean?
My suggestion is to create a Timer control and put the code I shared in each property.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
That I understood, the problem is, you wrote a part "your_code_here", and I am unsure what I should type in there? I tried dífferent things, and nothing updated gallery
Can you please give an example?
Thank you for clarifying. Where I wrote your_code_here you should be using whatever code you used to create the collection originally. It will have the effect of 'refreshing' it once the timer is ended.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
I wish it did. When I go to play mode it is showing that something on screen is updating, however f.e. newly created events in my calendar or prolonged meetings are not getting updated.
Any suggestions?
Your said your gallery was populated by a collection. The code you showed me in the screen above not a collection. Can you please clarify what your datasource is?
A. Collection
B. Something else
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hmmm now i am very confused.
I am sorry if I pushed you wrong direction as I am a bit lost in naming.
So. I used my connection to outlook 365. There I am connected to my calendar. So my gallery is showing what events I have in the calendar.
I found solution myself.
Need to use variable. so create a new gallery, in text write f.e. varGallery
Then create a timer and in the end of it use Set(varGallery,code_which_gallery_used)
And voila it works!
User | Count |
---|---|
259 | |
110 | |
97 | |
52 | |
39 |