To first understand my situation, I have a Group (container) for Office Locations. Under that I create a sub-Group for each office we have. When an office is closed, we do not immediately remove the info for the office, data stored in Custom Properties, but also want that office to be moved from Office Locations to a Closed Office Locations Group. So, what I want to do is change the parent of that closed office sub-Group to be Closed Office Locations instead of Office Locations without having to recreate the office Group in the new location. I also have other similar needs like equipment that is taken out-of-service or decommissioned and we want to move it out of the active equipment Groups.
Within the Orion website there is no ability to change the parent of a Group (container). In the database there are nine "Container" tables. Five of those are "dbo.ContainerStatus" tables. One table is for related "dbo.ContainerCustomProperties". Then there are tables called "dbo.Containers", "dbo.ContainerMemberDefinitions" and "dbo.ContainerMemberSnapshots".
The Snapshots table appears to be where the relationship between containers is stored. In that table the "ContainerID" appears to contain the parent container's ID number and the "EntityID" contains the ID number belonging to the container represented on that row.
In my case, the container I want to move is 573 and the current parent is 572. I want to change the parent to be 153. However just changing the "ContainerID" from 572 to 153 for the row with "EntityID" equal to 573 did not change how it appears in the website when looking at the Groups resource.
Is there something more or someplace different I would need to change this?
Or is there a different way I can go about this?
Mike