# Alarm Shelf Display by Default

**URL:** <https://forum.inductiveautomation.com/t/alarm-shelf-display-by-default/47787>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 15, 2021, 2:10pm UTC](https://forum.inductiveautomation.com/t/alarm-shelf-display-by-default/47787 "2021-06-15T14:10:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.morris](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@chris.morris](https://forum.inductiveautomation.com/u/chris.morris)\
**Post date:** [June 15, 2021, 2:10pm UTC](https://forum.inductiveautomation.com/t/alarm-shelf-display-by-default/47787/1 "2021-06-15T14:10:26Z")

</div>

Is there anyway to get the shelved alarm slider to be slid up by default? I’ve tried a few different things but the methods setShowShelve() method did not seem to work. I have also tried:

```auto
obj = event.source.parent.getComponent('Alarm Status Table')
print(obj.getPropertyValue('showManageShelf'))
print(obj.getPropertyValue('showShelve'))
obj.setPropertyValue('showManageShelf', True)
obj.setPropertyValue('showShelve', True)
```

But they return None before I set them and nothing happens when I execute the code. I want the alarm to have the shelf footer displayed by default like in the image below, without the user having to click the shelf icon.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/0/d09d44e10c77bc3627c2bc3ac2682255418588db.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 15, 2021, 3:53pm UTC](https://forum.inductiveautomation.com/t/alarm-shelf-display-by-default/47787/2 "2021-06-15T15:53:36Z")

</div>

`setShowShelve` would be called as `obj.setShowShelve(True)`, but all that’s toggling is whether the Shelve button that opens the panel is visible.

I don’t see any good ways to do what you want. Programatically firing the [`Action`](https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Action.html) that opens the popup panel would be the best solution, but it’s going to be ‘hard’ to access it. You might be able to use Java reflection to access the `footer.ackAndShelve.shelve` (or maybe `.shelveButton`) field on the Alarm Status Table class - I’d search through the forum for `FieldUtil` for an example use. Once you have the action (or button) you can programatically trigger an event.
