Group.StoreGroupReplace
Posted: 07 Nov 2018, 09:42
I am looking for a way to store a group with the following conditions:
Store the group if it doesn't exist
Replace the group if it already exists
I tried to replace Group 999 but that didn't work. In fact it didn't store anything. There is an exception in the logs but that doesn't prove very helpful.
I can get delete, store and replace to work to build a workaround but that's not quite ideal the way I have that in mind.
Store the group if it doesn't exist
Replace the group if it already exists
I tried
Code: Select all
Group.StoreGroupReplace(Handles.GetTitanIdFromHandle("groupHandleUN=999"))
I can get delete, store and replace to work to build a workaround but that's not quite ideal the way I have that in mind.