cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Old user groups are not removed from the organization after deployment.

SZ_10833245
7-Bedrock

Old user groups are not removed from the organization after deployment.

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

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

1 REPLY 1

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

Announcements


Top Tags