cancel
Showing results for 
Search instead for 
Did you mean: 

Reading iView attributes on NetWeaver CE

Qualiture
Active Contributor
0 Kudos

Hi,

I have a questiuon regarding retrieving iView attribute values in a NetWeaver CE environment.

Prior to CE, if I would retrieve a certain iView created date, I used to retrieve the value of attribute com.sap.portal.pcd.gl.CreatedAt

In CE, this attribute is now renamed to com.sap.portal.pcd.unit.CreatedAt , but for some reason I cannot retrieve the attribute value.

The following code works in pre-CE environments (with the former attribute ID of course), but not in CE:

IPcdContext targetobject = (IPcdContext) initialContext.lookup(object);
Date firstChangedOn = (Date) (targetobject
	.getAttributes("")
	.get("com.sap.portal.pcd.unit.CreatedAt")
	.get());

Does anyone know the proper way to retrieve these attributes?

Any help would be greatly appreciated

Best regards,

Robin

Accepted Solutions (0)

Answers (1)

Answers (1)

Qualiture
Active Contributor
0 Kudos

No suggestion, anyone?