Hi guys, even though I may understand the NodeJs code (need to go back to university jaja), I don’t have enough time to self learning…I need to shorten the learning curve with some training. I am using it the ACS in a lab enviroment to help my company’s R&D develop the TR069 Nodes. Sent an email to sales@genieacs.com but the did not reply…anyone know someone inside GenieACS to contac??
Or anyone willing to give me some lessons (paid of course)??
This forum is awsome but I think that understanding JS code is killing me jajaj
Hi @akcoder most of the questions rely on things related to understanding the JS code.
Declare function is one of the key functions…and I’ve seen many ways to provide or parse parameters to it…I just can’t understand it completely, how to create when the instance is not there, or how to delete…
Using the parameters between or {}, using path: “number”, the values null, now, daily,
Those kind of stuff.
Thanks !
// Remove all existing instances
// No work will be performed until GenieACS has determined all the changes to make
declare('Device.Some.PathWithInstances.[]', null, {path: 0});
// Add new instances (unless one already exists with matching keys/values, in which no changes will be made
declare('Device.Some.PathWithInstances.[Key1:Value1,Key2:Value2,Key3:Value3]', {path: 1}, {path: 1});