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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,879)