cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Urgent!! Functions working on the background

Hello Powerapps,

 

How do I make powerapps to do fucntions behind the sceens? 

 

I want a way to update a collection without pressing a button. The code code be in a button, I do not want the users to click on it. 

 

Thanks,

AskQuestions

3 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Urgent!! Functions working on the background

Hi @AskingQuestions 

 

you could use OnVisible function of screne to perform operations

 

You could also use a timer control to do certian operations periodically

 

You could also create a button (visible false) which does the actions you need and call it using the Select function when required. example: Select(buttonname) will trigger the code

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Super User
Super User

Re: Urgent!! Functions working on the background

Hey @AskingQuestions 

 

You can create a timer to do so. Set it on a repeat mode and enter the duration as per requirement. You can set the "Visible" property to false. Also, you can write the collect() expression either on TimerStart or Timer End.
 
Auto-Start -> Enable 
Repeat -> Enable
Duration -> 60000 (every 1 minute)
OnTImerStart -> Collect(MyCollection, {Col1:"Value1"})

 

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!

Re: Urgent!! Functions working on the background

Thanks. I need this to work because I have a issues with my DataTable were it show the first row as blank, but when I populate data into my collection then it shows data on the second row.

4 REPLIES 4
Super User
Super User

Re: Urgent!! Functions working on the background

Hi @AskingQuestions 

 

you could use OnVisible function of screne to perform operations

 

You could also use a timer control to do certian operations periodically

 

You could also create a button (visible false) which does the actions you need and call it using the Select function when required. example: Select(buttonname) will trigger the code

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Super User
Super User

Re: Urgent!! Functions working on the background

Hey @AskingQuestions 

 

You can create a timer to do so. Set it on a repeat mode and enter the duration as per requirement. You can set the "Visible" property to false. Also, you can write the collect() expression either on TimerStart or Timer End.
 
Auto-Start -> Enable 
Repeat -> Enable
Duration -> 60000 (every 1 minute)
OnTImerStart -> Collect(MyCollection, {Col1:"Value1"})

 

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!

Re: Urgent!! Functions working on the background

Thanks. I need this to work because I have a issues with my DataTable were it show the first row as blank, but when I populate data into my collection then it shows data on the second row.

Re: Urgent!! Functions working on the background

This issues show up on my published app, but not on the editing view.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 240 members 5,075 guests
Recent signins:
Please welcome our newest community members: