Skip to Content
0
Former Member
Dec 11, 2007 at 11:50 AM

Get UWL Items using API

23 Views

Hello

I´m trying to get UWL items from my code using UWL API

IUWLService uwlService = (IUWLService) PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);

UWLContext uwlContext = new UWLContext();

IUser user = request.getUser();

uwlContext.setUser(user);

uwlService.beginSession(uwlContext, 20);

IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);

QueryResult result = itemManager.getItems(uwlContext,null,null);

Everything works fine except for the items from ActionInbox Connector. I don´t get them with this code until they have been displayed in UWL iview. I want to recover them everytime I want.

Do you know why does it work with Adhoc connector and not with ActionInbox. Is there something I have to configure to achieve this?

Thanks in advance