cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
antonio_piernav
Helper III
Helper III

app open 7/24

Hello, I have created an application to schedule workers, the application will be running 24 hours 7 days a week. But it is not possible because after 24 hours the session of my user closes and closes the application. Is there a solution to have an application open 24 hours a day 7 days a week?

 

Thanks for the help

3 REPLIES 3
timl
Super User III
Super User III

Hi @antonio_piernav 

I don't think this is possible. With any browser app, the session will eventually expire and the user will need to re-authenticate.

 

Can you clarify why it's a problem for the user to login again? Is it because you're using a shared account, and you don't want to provide the end users with the login credentials?

RusselThomas
Microsoft
Microsoft

Hi @antonio_piernav ,

There is a Launch parameter that is currently in preview that might help you.  I should emphasise that this is in preview, and personally, I can not get this to work myself - it always opens the app in a new tab for me 😣

If you can get the LaunchTarget parameter working from the Launch function, I would suggest a timer that relaunches the App in the same window every 20 hours or so, or when your app is in a low usage timeframe.

Obviously I can't test whether this will solve your problem or not, but it's maybe worth a try.

Anyway, it might be related to my browser or maybe I'm just doing it wrong - but you can try if you like - maybe it will work for you;

First, copy your app URL from the Web Link property on the Details page of the app (plenty of stuff online to provide step by step details on where and how to get this).

Add a button to test - you can convert this to a timer if it works.

Set it's OnSelect: property to;

Launch("yourappweblinkhere", {LaunchTarget: Replace})

Save, publish then run the live version of your app to test (not in edit mode).

If it works for you, then you can add a Timer and run that function whenever the timer ends, or set something up to only run at a certain time of the day by updating and checking the time every 30 seconds or so.

Good luck, I'd love to hear if you can get it working!

Kind regards,

RT

timl
Super User III
Super User III

Thanks @RusselThomas - that's a great tip!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (47,061)