Skip to main content
August 31, 2023
Question

Create a maintenance page.

  • August 31, 2023
  • 1 reply
  • 0 views

Hello.

I created a maintenance interface. When I do releasing, all the link are pointing to this maintenance interface. like interceptor, blocking all the link.

How to do ?  Thanks.

    1 reply

    mathieud0001
    Brainy
    August 31, 2023

    You can't really "intercept" links but you could wrap all your Site Pages like this:

    a!localVariables(
      local!refreshMaintance: a!refreshVariable(
        value: cons!T_MAINTENANCE_MODE,
        refreshAlways: true,
        refreshInterval: 0.5
      ),
      if(
        local!refreshMaintance,
        rule!T_MaintenancePage(),
        rule!T_Employees()
      )
    )
    

    You could also use the built-in global maintenance functionality availlable in the Admin Console: [View:https://docs.appian.com/suite/help/23.3/Appian_Administration_Console.html#maintenance-window]