1 Reply Latest reply on Jan 13, 2018 10:00 PM by adamlev RSS
    adamlev Explorer

    How to fire an event from LSR code?

    The example LSR template has a function that is supposed to fire an event on the platform, but I can't get it to work. 


    I create the example thing from example.lua, add the event (ExampleEvent), and the data shape (also named ExampleEvent).  I've tried making the event on the platform both local and remote.  The result is always the same, 500, internal server error.  All the other example template functionality works - the properties and services.


    Does anyone have example LSR code that fires an event on the platform, or can tell me how I'm configuring the example template wrong?