cancel
Showing results for 
Search instead for 
Did you mean: 

Get iview properties of site map to show on a WebDynpro View

Former Member
0 Kudos

Hi,

We need get iview properties of site map to show on a WebDynpro View. We have been tried with:

INavigationGenerator service = (INavigationGenerator) PortalRuntime.getRuntimeResources().getService(INavigationService.KEY);

but occours a:

ClassCastException: Cannot cast com.sapportals.portal.navigation.cache.CachedNavigationService (id=427) to com.sapportals.portal.navigation.INavigationGenerator.getContext()

I catch this code on http://help.sap.com/saphelp_nw04s/helpdata/en/42/fd515a2aa95277e10000000a1553f7/frameset.htm

Anyone have a idea?

Thanks,

Bruno

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

How can i get iview properties on Web Dynpro?

Example with the structure:

Iview: X, Y

Role: A, B

User: XPTO

-


IView X in Role A

IView Y in Role B

-


User XPTO has Roles A and B.

I need get the properties (path) from each IView, to create a IResource for each one.

Any idea?

Thanks,

Bruno

Edited by: Bruno Ambrozio on Mar 5, 2008 2:05 PM

Former Member
0 Kudos

Hi,

I solved the problem putting PORTAL:sap.com/com.sap.portal.navigation.service on Sharing References.

Thanks,

Bruno