Skip to Content
0
Sep 23, 2019 at 12:24 PM

Lumira SDK component not ready until after APPLICATION.onStartup

51 Views

I have created a Lumira SDK component which is used for getting things like the local execution hostname etc. These values are only available at runtime so the SDK component fulfils the requirement with no problems. The properties are available and can be accessed through property get methods in the contribution.ztl file. This all works fine when wired up to for example a button the user clicks, but if I try to implement the methods in the Application On Startup event, the application BIAL scripts execute before the SDK component has fully initialised and so the methods return empty property values.

During debug I can see the property values being correctly updated, but this happens long after the On Startup application script has completed.

Does anyone know how to force SDK components to initialise early?