# Panel plugin edits must be initiated from a supported UI event

**URL:** <https://forums.creativeclouddeveloper.com/t/panel-plugin-edits-must-be-initiated-from-a-supported-ui-event/1015>\
**Category:** UXP Plugin API\
**Created:** [July 9, 2019, 6:15pm UTC](https://forums.creativeclouddeveloper.com/t/panel-plugin-edits-must-be-initiated-from-a-supported-ui-event/1015 "2019-07-09T18:15:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Velara](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/velara/32/1278_2.png) [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Post date:** [July 9, 2019, 6:15pm UTC](https://forums.creativeclouddeveloper.com/t/panel-plugin-edits-must-be-initiated-from-a-supported-ui-event/1015/1 "2019-07-09T18:15:34Z")

</div>

I’m getting this error when setting the sceneNode.pluginData when using my panel.

I have a panel that exports on the panel `update()` method. So there is no _plugin_ UI event that it originates from. But there is a _design view_ UI event that it originates from.

I get this error intermittently. It might happen when I create a new artboard with the panel open.

---

<div class="post-metadata">

**Author:** ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)\
**Post date:** [July 9, 2019, 6:25pm UTC](https://forums.creativeclouddeveloper.com/t/panel-plugin-edits-must-be-initiated-from-a-supported-ui-event/1015/2 "2019-07-09T18:25:09Z")

</div>

The guidelines say that any edits must be initiated by some user UI action in the panel (apparently a click handler on anything is enough), and I think that makes sense. You don’t want a panel to start mucking with the document unless you do something that requests a change.

---

<div class="post-metadata">

**Author:** ![Velara](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/velara/32/1278_2.png) [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Post date:** [July 9, 2019, 6:27pm UTC](https://forums.creativeclouddeveloper.com/t/panel-plugin-edits-must-be-initiated-from-a-supported-ui-event/1015/3 "2019-07-09T18:27:38Z")

</div>

Maybe but if someone moves or resizes something on the stage _it_ _is_ a UI action.

---

<div class="post-metadata">

**Author:** ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)\
**Post date:** [July 9, 2019, 6:29pm UTC](https://forums.creativeclouddeveloper.com/t/panel-plugin-edits-must-be-initiated-from-a-supported-ui-event/1015/4 "2019-07-09T18:29:33Z")

</div>

> [@cpryland](#):
>
> You don’t want a panel to start mucking with the document unless you do something that requests a change.

… unless you do something **in the panel** that requests a change.
