PTCInc / thingworx-gitbackup-extension

[Unofficial/Not supported] ThingWorx GitBackup Extension for storing your ThingWorx application code in a Git repository
MIT License
25 stars 11 forks source link

Impossible to export UserGroups #15

Closed TG-JC closed 3 years ago

TG-JC commented 3 years ago

How to reproduce

What's wrong

Workaround:

cbadici commented 3 years ago

Hi, Thanks for pointing out this issue. Indeed I tested with the latest Git extension on ThingWorx 9.1, and the User Groups didn't get exported. This is because the entities are processed by entity type and then moved to the correct folder in the repository. To address this issue quickly, you can go to "Git.Utility.ThingShape" and edit the service: "ExportProjectEntities". At line 87, modify case "UserGroup": to case "Group": and then save your the Thing Shape. Then, when you try to export user groups, they will appear in your folder. I have attached an image with my result, after this modification. 3-18-2021 4-19-36 PM

TG-JC commented 3 years ago

Hi, Thank you for the fix. I confirm it works. I will replicate it on all our environments in the meantime next release is made available.