In your preset add a refreshObject after your addObject, but before you set the Line parameters. I can't recall if items are executed in order, or there is a precedents. If executed in order, then this method /should/ work. But at this point its just a wild guess, and probably not something I would use in production.
Now that I think about it, a better method would be to have your first preset that does the addObject set a tag. Then create another preset with the tag name as the precondition, and in there do your refresh and set parameters. On Tue, Aug 4, 2015 at 5:14 AM, Markus Mehlan <[email protected]> wrote: > Hello, > > in my preset I told the cpe to create a > "Device.Services.VoiceService.1.NetworkProfile.1.Line"-object. > The cpe creates a corresponding "SIPLine"-object after that. > > I don't see the "SIPLine"-object and it's parameters unless I do a refresh > on this object via the GUI. Before executing the preset, > there is an empty "SIPLine" in the cpe's data model. > > Is there a way to write the SIPLine's parameters with a preset? > I've tried with multiple presets and tags, but no success. > > Best regards, > Markus > > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
