CRM Tutorial Multiple Users Separate Data?

How could I modify the CRM Tutorial Web App so that when one user deletes a contact it only deletes the contact for that user.

Hello @AlexCronin,

Assuming you mean this tutorial/project, you would need to add a method on the CrmService class instead of using the deleteContact one.

You would also need to add some additional properties to the entities to keep track of which contacts have been “flagged” as deleted for which “users/agents”. The DeleteEvent inner class and the deleteContact method would also require some changes.

Thank you for pointing me in the right direction.

1 Like