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
Dual Super User
Dual 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

View solution in original post

Dual Super User
Dual 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!

View solution in original post

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.

View solution in original post

4 REPLIES 4
Dual Super User
Dual 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

View solution in original post

Dual Super User
Dual 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!

View solution in original post

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.

View solution in original post

Re: Urgent!! Functions working on the background

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,265)