Is it possible to create/add a dynamic organization(Programatically) in Thingworx
I have to create/add Organization programatically. Is that possible to add so.
I have to create/add Organization programatically. Is that possible to add so.
HI, the following service would create an Organizatio with a Parent and a child unit:
var par = {
topOUName: Parent /* STRING */,
name: Parent /* STRING */,
};
// no return
Resources["EntityServices"].CreateOrganization(par);
var params = {
name: Child /* STRING */,
parentName: Parent/* STRING */
};
// no return
Organizations[Parent].AddOrganizationalUnit(params);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.