Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Is there a way to create organization branches via scripting?
I know I can create top level organization via following snippet:
var params = {
topOUName: "customer"/* STRING */,
name: "customer"/* STRING */,
description: undefined /* STRING */,
topOUDescription: undefined /* STRING */,
tags: undefined /* TAGS */
};
// no return
Resources["EntityServices"].CreateOrganization(params);
But is there a way to create branches also via script? See attached picture (branch1 & branch2).
Solved! Go to Solution.
You can use this service:
Organizations["MyOrg"].AddOrganizationalUnit({
parentName: undefined /* STRING */,
name: undefined /* STRING */
});
Hope that helps
--Nick
You can use this service:
Organizations["MyOrg"].AddOrganizationalUnit({
parentName: undefined /* STRING */,
name: undefined /* STRING */
});
Hope that helps
--Nick