Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I am trying to import the organization from the Dev system to the Q system, but the old user groups are not being removed from the organization unit. Additionally, I cannot edit them in the Q system because they are in an extension format."
I am facing the same issue mentioned in the article: Article - CS327733 - Organizations imported in ThingWorx Platform are not overridden correctly
I want to remove the old user groups from the organization unit in the QA system.
Is there any way to do this?
Thanks & Regards
Suraj
Solved! Go to Solution.
Hello,
The fact that old groups stay is not a bug, but a feature. Try to remove them programmatically:
Organizations["MyOrganization"].DeleteOrganizationalUnit({
deleteChildren: true,
name: 'MyOrgUnit'
});
or if it doesn't work, then you'd need to import a new version of the extension, where those org units are not there anymore.
/ Constantine
Hello,
The fact that old groups stay is not a bug, but a feature. Try to remove them programmatically:
Organizations["MyOrganization"].DeleteOrganizationalUnit({
deleteChildren: true,
name: 'MyOrgUnit'
});
or if it doesn't work, then you'd need to import a new version of the extension, where those org units are not there anymore.
/ Constantine