# Change layout on event

**URL:** <https://community.xibo.org.uk/t/change-layout-on-event/13747>\
**Category:** Get Help\
**Created:** [March 20, 2018, 8:25am UTC](https://community.xibo.org.uk/t/change-layout-on-event/13747 "2018-03-20T08:25:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisterB](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@MisterB](https://community.xibo.org.uk/u/MisterB)\
**Post date:** [March 20, 2018, 8:25am UTC](https://community.xibo.org.uk/t/change-layout-on-event/13747/1 "2018-03-20T08:25:25Z")

</div>

Hello,

Im wondering, is it possible to change a layout depending on an event or condition.

I’m using some screen in our main office to display a monitoring system (state of our websites or servers, events, pictures, infos bla bla bla)

I want to only display the monitoring page if there are an error detected. otherwise I need to wait 3 min to see that a website is done.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [March 20, 2018, 9:58am UTC](https://community.xibo.org.uk/t/change-layout-on-event/13747/2 "2018-03-20T09:58:06Z")

</div>

If you can get an output from the monitoring system that can run a script, then you could write a script that would connect to the CMS API and send a LayoutChange action to a group of Players that would force them to change to a different layout for a fixed period of time, and then revert back to the standard schedule. So yes it’s broadly possible, but you’d have to do some coding to write the script required to do that.

---

<div class="post-metadata">

**Author:** ![MisterB](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@MisterB](https://community.xibo.org.uk/u/MisterB)\
**Post date:** [March 20, 2018, 10:19am UTC](https://community.xibo.org.uk/t/change-layout-on-event/13747/3 "2018-03-20T10:19:32Z")

</div>

Top thanks

im using PRTG so its really easy to do the script.

I checked the wiki for the API but I can’t find the LayoutChange.

can you help me with the xibo part ?

Thanks

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [March 20, 2018, 10:25am UTC](https://community.xibo.org.uk/t/change-layout-on-event/13747/4 "2018-03-20T10:25:25Z")

</div>

The call is here:

> **[Swagger UI](https://account.xibosignage.com/manual/api/)**

We have a basic guide to getting started with the API here:

> [@API Introduction with Postman](https://community.xibo.org.uk/t/1-8-api-introduction/7702):
>
> Introduction This guide is applicable for CMS 1.8 and later versions and assumes that you already have a working CMS. Players need to be version 1.8.0-rc1 or later and [XMR](http://xibo.org.uk/manual-tempel/en/xmr.html) also needs to be configured. As a first step, you will need to decide what application you will want to use to connect to the API. In this guide we will use [Postman](https://www.getpostman.com/) as an example application. The API documentation can be found in the [Developer manual](https://xibo.org.uk/docs/developer/) under the [Integration](https://xibo.org.uk/docs/developer/integrating-with-xibo) section. CMS Application No matter what applicatio…

---

<div class="post-metadata">

**Author:** ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)\
**Post date:** [March 4, 2020, 5:10pm UTC](https://community.xibo.org.uk/t/change-layout-on-event/13747/5 "2020-03-04T17:10:32Z")

</div>

Closed on March 4, 2020, 5:10pm UTC


