cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
drobinson
Level: Powered On

Update Textinput in gallery

Trying to update my duration so far for each item consintously.  

 

Right now I have a timer set every 5 seconds to UpdateContext({now: Now()}) and the gallery item is set to 

 

 

If(IsBlank(ThisItem.Start)=true,"",DateDiff(DateTimeValue(ThisItem.Start),now,Minutes))

 

This doesnt seem to do the trick.  It updates once but not continously in the gallery.

 

 

image.png

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Update Textinput in gallery

Hi @drobinson 

 

I carried out a test using your formula and this works fine for me.
 
Can you verify few properties of Timer Control:
1) Duration: 5000
2) AutoStart: true
3) Repeat: true
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
4 REPLIES 4
Super User
Super User

Re: Update Textinput in gallery

Hi @drobinson 

 

I carried out a test using your formula and this works fine for me.
 
Can you verify few properties of Timer Control:
1) Duration: 5000
2) AutoStart: true
3) Repeat: true
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
drobinson
Level: Powered On

Re: Update Textinput in gallery

I have all of those settings set like you mentioned.  

 

It works for textinputs outside of the gallery.  

 

Inside the galery seems to only update after the first round of 5 seconds.

 

 

Super User
Super User

Re: Update Textinput in gallery

Hi @drobinson 

 

Do you mean it updates the text inputs inside the gallery control after 5 seconds? If yes, that is because you might have entered the UpdateContext formula on the "OnTimerEnd" property. If you want this to get updated as soon as the timer is started, you need to place this formula on "OnTimerStart" property.
drobinson
Level: Powered On

Re: Update Textinput in gallery

Figured it out.  I am an idiot.  I was thinking I still had to formula set to seconds and was expecting a change in data every 5 seconds.  I had to wai the full minute to actually see the change. A big waste of timeon my end. Guess that's life.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 18 members 4,321 guests
Please welcome our newest community members: