cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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

Re: Urgent!! Functions working on the background

Hi @Anonymous 

 

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

Highlighted
Dual Super User III
Dual Super User III

Re: Urgent!! Functions working on the background

Hey @Anonymous 

 

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

Anonymous
Not applicable

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

Re: Urgent!! Functions working on the background

Hi @Anonymous 

 

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

Highlighted
Dual Super User III
Dual Super User III

Re: Urgent!! Functions working on the background

Hey @Anonymous 

 

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

Anonymous
Not applicable

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

Highlighted
Anonymous
Not applicable

Re: Urgent!! Functions working on the background

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

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,355)