Public Method Items API

publishEvent()

Publishes an event for the Item to Events API.

Examples

itemsApp.item('my_item_reference').publishEvent('progressed');

Arguments

None.

Return value

None (undefined).

Caveats

Important Events API must be enabled on your consumer for this to work.

This method only works when the events initialization option is set to true.

Related articles

  • The Events API publish method, the method that pushes events to Events API.
Was this article helpful?