cancel
Showing results for 
Search instead for 
Did you mean: 

calling WDPortalNavigation.navigateAbsolute not working?

Former Member
0 Kudos

Hi gurus,

i want to call a BSP from WebDynpro;

the call of

calling WDPortalNavigation.navigateAbsolute

seems not working;

i wrote this code:

WDPortalNavigation.

navigateAbsolute(

"ROLES://portal_content/PosteCRM.ZPosteCRM/PosteCRM.Iviews/PosteCRM.Release1/PosteCRM.Operazionale/PosteCRM.Scheda_Cliente/PosteCRM.Z_Scheda_Cliente_iView",

com.sap.tc.webdynpro.clientserver.navigation.api.WDPortalNavigationMode.SHOW_INPLACE,

(String)null,

(String)null,

WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,

(String)null,

(String)null,

(String)null);

what's wrong?

i try to call too

using first parameter in this way

"ROLES://pcd:portal_content/PosteCRM.ZPosteCRM/PosteCRM.Iviews/PosteCRM.Release1/PosteCRM.Operazionale/PosteCRM.Scheda_Cliente/PosteCRM.Z_Scheda_Cliente_iView",

but i haven't no result.

best regard , thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Here is the coding for portal navigation,

WDPortalNavigation.navigateAbsolute(

"ROLES:portal_content/com.cv.kaar.Test_Page2",

WDPortalNavigationMode.SHOW_INPLACE,

(String) null,

(String) null,

WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

(String) null,

(String) null,

"Name=" + wdContext.currentContextElement().getName());

Match this coding with your coding. Here, I have used "Name=" is to store the value for Name.

Remove 'pcd' after ROLES:// in your coding.

Regards,

Srinivasan T

<b>helpful answer=>points</b>

Former Member
0 Kudos

Hi Srinivasan,

thanks a lot for the solution,

it works very well

another questions: if i want to display the targeted view as an embedded view , the targeted is showed inside or it takes all the area of the container?

thanks in advance and good work

Answers (0)