cancel
Showing results for 
Search instead for 
Did you mean: 

How to completely delete a user's Share settings?

jonvargas
Confirmed Champ
Confirmed Champ
I am having an issue after deleting a user: If I create the user again, the Share's settings are kept. By Share settings I mean dashboard customizations.

The question is: How to completety remove a user's Share condfiguration?

I was recommended by someone else to delete this node by using the API:

workspace://SpacesStore > company_home > sites > surf-config > pages > user > <USERNAME_TO_DELETE>

But after a sucessfull deletion of that node, Share continues loading the old settings.

Any idea about what else to do? Are settings saved on database instead?
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

only the page Surf model object is saved / deleted in ../pages/user/. You also have to consider the component binding model objects in ../components/. These are unfortunately not separated by users / page. You need to delete all the files that relate to the users dashboard - you can identify them by a fragment in their name, as this follows a pattern. All files that match
^(.*\.)+user~USERNAME~dashboard.*\.xml$
should also be deleted.

Regards

jonvargas
Confirmed Champ
Confirmed Champ
Thank you so much AFaust. Very clear now 🙂