Removing private folders using XML

Hi there,

A database we have has 4500 private folders we cannot see using the notes client or server.

I have written out folder information from this database into an xml file. I intended to parse this XML file using DOM and remove ay private folders. Then i could import the xml file and i was hoping it would remove the private folders.

I have a few questions about this though…

  1. any code in the original XML file that contains < or > is erroring because it confuses the parser with the XML tags. If i remove code nodes when i create this original file will that mean that upon reimporting the file down the road it will strip out all the code? how do i get around this?

  2. My XML file only contains folders. If i remove private folders how do i ensure it takes away only the private folders and not any other design element not included in my xml file?

Many thanks guys, I only started learning XML this morning and I am confused :slight_smile:

Subject: Removing private folders using XML

If your XML contains private folder info, then at least one entity is able to see those private folders. Can this same entity not delete those folders too?

Subject: RE: Removing private folders using XML

Hi there,

The Entity is the server itself. It can access the views/folders but if i write an agent to access the views in the back end i get the error ‘Index is not to be generated on the server’ which is apparently a known bug they don’t wish to fix.