Skip to Content
0
Former Member
Apr 13, 2005 at 09:29 AM

Programatically personalize iViews

22 Views

Hi,

I am tring to change the name of an iView through program. I am working on APC. The code I am using is

Hashtable env = new Hashtable();

env.put( Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY );

env.put( Context.SECURITY_PRINCIPAL, request.getUser() );

env.put( Constants.REQUESTED_ASPECT,PcmConstants.ASPECT_ADMINISTRATION );

env.put( IPcdContext.PCD_PERSONALIZATION_PRINCIPAL, request.getUser());

.......some code.........

The iview I am working is on Read/write mode.

Constants.REQUESTED_ASPECT....this cannot be resolved.

Which jar file i need to add to solve this and where can I find it?

Thanx in advance

George Jacob

Message was edited by: George Jacob