Gurus,
- I've used ignition-module-tools to boilerplate my module (this is my 1st ever module in Ignition),
- with the help of the Gateway Webpage (Home Connect) Example, I was able to have a settings page for my module.
- I've played around scripting-function ( SDK Example ) and was successful to hook my needed function to my designer and through RPC I am able to invoke my gateway function from the designer.
- I see that Gateway Context must be injected to retrieve my settings ( please correct me if my understanding is wrong )
APISettingsRecord thatOneRecord = context.getLocalPersistenceInterface().find(APISettingsRecord.META, 0L);
how do I inject Gateway Context or what are the possible path/s I can retrieve my module gateway settings?
Thank you for your help and cooperation as usual
Regards.