How do deal with automatic created objects

Markus Mehlan markus.mehlan at argus.info
Wed Aug 5 09:42:47 EDT 2015


Hi Dan,

1. The items aren't called in order.
2. I've already tried with a second preset and tags. The refresh doesn't
    work in the second preset.

Am 04.08.2015 um 20:59 schrieb Dan Morphis:
> 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 <markus.mehlan at argus.info
> <mailto:markus.mehlan at argus.info>> 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
>     Users at lists.genieacs.com <mailto:Users at lists.genieacs.com>
>     http://lists.genieacs.com/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>




More information about the Users mailing list