Where can i find the CustomEvent.fireAll events code?

clyon
Tera Guru

I am trying to find the events that are called in CustomEvent.fireAll().

ex CustomEvent.fireAll("wsd.multiLevelSpacePicker.cabrilloValues", cabrilloValues);cabrilloValues);

I have looked everywhere and I can't find the events that are called in the function. 

On Request a Desk Change form, I'm trying to figure out where the code is that is producing the error on the Floor map when an office is chosen. Trying to figure out why it is saying, ' This space can not be selected. Try selecting a different space' when an location type = office is chosen. TIA

1 REPLY 1

Suresh Krishnan
ServiceNow Employee
ServiceNow Employee

Hi Clyon,

Thanks for the query.

This event is mostly used in UI pages when we want to communicate two different components (like widget to widget, widget to other components etc.,). I guess you just gave us a sample event, which is fired by the Multi level space picker widget and being listened by our Record producer to hide few fields. Similarly there are other events for the communication between the Catalog items & the widget. I doubt these will be stored somewhere which we can look at. This error in particular will be thrown if the embedded floor directory widget couldn’t find the space to be selected. A support ticket with a hop access onto the affected instance can be a better option to resolve this issue.