Skip to Content

Custom Personalization Data Cleanup tool Not working

Jul 24, 2017 at 02:10 PM


avatar image
Former Member

Hello All,

We have prepared a custom "Personalization Data Cleanup" tool, that takes object path as input and clears all its personalization.

We have noticed that all lines get executed without any errors in logs, but still, this object is seen in list of personalization objects inside "System Admin > Support > PCD Tools > Personalization Data Cleanup" .

1. Does it mean that our custom code is NOT able to clear personalization for this object?

2. How we clear personalization for an object such that it disappears from this list?

Code snippet we used is:

  String objectName = "portal_content/mycompany/fwk/dsk/fwk.desktop";

IUser user =;  

env.put(javax.naming.Context.SECURITY_PRINCIPAL, user);
env.put(, user);

iCtx = new javax.naming.InitialContext(env);

myObject = ( iCtx.lookup(objectName);      

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers