web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Making the page unavai...
Power Pages
Answered

Making the page unavailable during certain times

(0) ShareShare
ReportReport
Posted on by 2,557 Super User 2026 Season 1

Hello everyone,

 

maybe somebody already came across such a problem.

Every night the customer wants to update the database which is effecting the items on my page.

Unfortunately I have to transform the data before publishing those with PowerAutomate. The flow takes around 20-30 Minutes.

In that time no client shall be able to place an order as not all items are yet loaded.

 

I would create a javascript Date object and transform it as needed and block the user from submitting an order.

Problem is that I would need to use UTC and apply a rule when we got daylight time and when not to properly block the users.

 

Does liquid use the local page data where it is set up, so I could just fetch that?

Anybody who encountered a similar problem and has a tip?

 

 

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Lucas001 

     

    The standard and best practice is to enable maintenance mode while doing the update to the database. 

    Official link here 

    Tip: You can create a custom page with a specific message about the migration so the customers can get your message. 

     

    Also, from my experience, using the Power Platform pipelines will also be helpful when you are upgrading your database.

     

    Hope it helps.
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Verified answer
    Fubar Profile Picture
    8,491 Super User 2026 Season 1 on at

    If you don't want to take down the whole site, one possibility, but not sure if it will work.

    • Create a Web Page that tells the user to come back later
    • Use a portal Redirect record to redirect from the page you do not want them to access to the Web Page that tells them to come back later
    • With Flow Disable/Enable the Redirect record (enable 15 minutes before you start your update, disable at the end) - or instead of enable/disable, create/delete it

    Alternatively, create a custom Web Template behind the Pages that you want to not be available, and in the Template with Liquid check the Web Pages Publish state if published show the Form else show a message to come back later.  Use Flow to change the Publish state.

     

    Other than taking down the whole site (which will happen almost straight away), they all will have the portal Cache to contend with so you will have to leave enough time at either end for it to read the updates and not the cached values.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 65

#2
11manish Profile Picture

11manish 55

#3
Vish WR Profile Picture

Vish WR 29

Last 30 days Overall leaderboard