Good afternoon,
I'm setting an Equipment Schedule component. I start making some tests with the add, move and delete events and everything was working fine.
After moving on the job I try to delete again but with no success, now I'm at the point that the only code that I fire in the "onDeleteEvent" is this:
system.perspective.print("HERE")
and it is not print in the browser, it looks like the event is not fired.
The "deleteEnabled" option is selected.
I've tried to insert a new empty equipment schedule component and the delete events is fired, so the problem is in the one that I'm using; I could start from zero but I should do all the job again.
Hi, actually I use my buttons to manage the events, so I skip this problem. However, when I try to replicate it for the support, I have not been able to.
In the emails with support, they told me that they are not aware of this issue.
I reached out to support and was able to resolve my problem—big thanks to Cody!
Apparently, the data types of the IDs from your items must match the data type of the itemId from your scheduledEvents. In my case, this mismatch prevented the onDeleteEvent from triggering.