cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
Dual Super User

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

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

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,971)