Add object in preset

hello,

i want to add object to the preset but not work :
InternetGatewayDevice.X_ATP_VLANTermination
with this configuration template
{
“type”: “add_object”,
“name”: “object_parent”,
“object”: “object_name”
}

with curl on the device i use this (work) but not static :
–data ‘{“name”:“addObject”,“objectName”:“InternetGatewayDevice.X_ATP_VLANTermination”}’

version 1.0.6

can you help me ?

regards
Wil

I don’t believe you can do this via a preset with v1.2. You need to use a provision script which is kicked off by the preset.

Here is the syntax:

declare('InternetGatewayDevice.X_ATP_VLANTermination.[Param1:Value1,Param2:Value2]', {path: 1}, {path: 1});