Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Not seeing Task in UWL

$
0
0

Hello SCN Team,

 

My Environment is 7.4 Portal

Iam not able to view my tasks in UWL. I am currently using UWL Custom Connector API code to display the tasks in UWL.

I could able to View the View Description in header part of View but could not see the line items in UWL.

 

From the below task how do i check the below tasks are created or not

 

below is the code which i used.


private List mapFeedsToUwlItems (UWLContext context,String itemType,ConnectorFilter qp,String system) {
ArrayList retItems = new ArrayList();
for(int j=0; j<4;j++) {
String externalid="1"+j;
StatusEnum itemStatus = null;
Item uwlItem1 = new Item(CustomUwlConnectorProj.CONNECTOR_ID,system,externalid, context.getUserId(), -1, new Date(),Author,
   null, null, "GEN_ITEM_TYPE","GEN_ITEM_TYPE",PriorityEnum.LOW, StatusEnum.NEW,"CLM Title");
uwlItem1.setDescription("Hello World");
uwlItem1.setUser(context.getUserId());
uwlItem1.setSubject("T"+j);
uwlItem1.setItemType("CLM_ITEM_TYPE");
uwlItem1.setCreatedDate(new Date());
uwlItem1.setDueDate(new Date());
uwlItem1.setCreatorId(context.getUserId());
uwlItem1.setStatus(StatusEnum.NEW);
uwlItem1.setExternalObjectId("2");
uwlItem1.setExternalType("GenericTask");
retItems.add(uwlItem1);
}
}

items = mapFeedsToUwlItems(context,itemType,connectorFilter,system);
ProviderStatus  status = new ProviderStatus(true,system, CustomUwlConnectorProj.CONNECTOR_ID);
result = ConnectorResult.createSnapshotResult(new ItemCollection(items),status);


Viewing all articles
Browse latest Browse all 2686

Latest Images

Trending Articles



Latest Images