Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I have to create/add Organization programatically. Is that possible to add so.
Solved! Go to Solution.
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);
Yup
Resources["EntityServices"].CreateOrganization
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);
Thanks