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"
}]
);
custom properties
-
- Profound User
- Posts: 41
- Joined: Fri Aug 16, 2013 7:23 am
- First Name: Sebastien
- Last Name: Gagne
- Company Name: Oceanex
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: custom properties
I'm pretty sure that pui.addCustomProperty() doesn't accept an array. Of course, you could create an array in a variable, and then call pui.addCustomProperty() in a loop... Or just call pui.addCustomProperty() repeatedly, passing a different object every time.
Who is online
Users browsing this forum: No registered users and 4 guests