custom properties
Posted: Tue Apr 22, 2014 11:58 am
Is there a way to add multiple properties at the same time (same instance of pui.addCustomProperty)?
I tried to following and it did not work.
pui.addCustomProperty([{
name: "weekNumbers",
type: "boolean",
help: "blabla help",
controls: ["ocx_calendar"],
category: "ocx_generalDisplay"
},
{
name: "events",
type: "long",
help: "blabla2 help",
controls: ["ocx_calendar"],
category: "ocx_generalDisplay"
}]
);
I tried to following and it did not work.
pui.addCustomProperty([{
name: "weekNumbers",
type: "boolean",
help: "blabla help",
controls: ["ocx_calendar"],
category: "ocx_generalDisplay"
},
{
name: "events",
type: "long",
help: "blabla2 help",
controls: ["ocx_calendar"],
category: "ocx_generalDisplay"
}]
);