Deleting talk groups
Deleting talk groups
It would be nice if the talk group (contacts) list was indexed differently, so that one could, for example, delete the first talk group in the list without having the contacts change in all channel definitions.
Re: Deleting talk groups
This is largely due to the way the codeplug references the contacts by ID (note: index ID not DMR ID)
So when deleting a contact it, as you mentioned, would simply shift all the contacts by 1 place, unfortunately making everything after the deleted contact ID wrong.
CPEditor does check if the contact exists when loading a zone etc, so perhaps I can reference them by name separately and then resolve that back to the ID when needed.
Should solve that issue![Smile :)](./images/smilies/icon_e_smile.png)
So when deleting a contact it, as you mentioned, would simply shift all the contacts by 1 place, unfortunately making everything after the deleted contact ID wrong.
CPEditor does check if the contact exists when loading a zone etc, so perhaps I can reference them by name separately and then resolve that back to the ID when needed.
Should solve that issue
![Smile :)](./images/smilies/icon_e_smile.png)
-73 de MM7DBT
Re: Deleting talk groups
Update released.
Removing a contact should now;
A) Remove the contact from any RX Groups it was in and update the RX Group with each contacts new ID.
B) Update all channels to reflect the new contact ID's.. If the contact was set on a channel, it will now be set to OFF.
Removing a contact should now;
A) Remove the contact from any RX Groups it was in and update the RX Group with each contacts new ID.
B) Update all channels to reflect the new contact ID's.. If the contact was set on a channel, it will now be set to OFF.
-73 de MM7DBT
Re: Deleting talk groups
Thanks, David, that was fast!