cancel
Showing results for 
Search instead for 
Did you mean: 

Portal Navigation Links not working

Former Member
0 Kudos

Hi Experts,

Please help me in solving requirement described below:

I have developed a Web Dynpro application which run on Mobile. This application must show all the Sub roles which are there under a Role named "Mobile". Under each of Sub Roles, Mobile related applications have been assigned. I have to provide links to all this applications. My view will somewhat look as below:

Personnel

Leave Approval

Reimbursement Sanction

HR

Manpower Requisition

Finance

Salary slip

In above display words which are in bold are actually Sub Roles under role named "Mobile". Words which are underline are actually links to respective mobile specific applications developed by our developers.

Problem arises in Navigation links. I am using WDPortalNavigation.navigateAbsolute() API but it's not working. My application is a standalone application. Is it because of this that WDPortalNavigation.navigateAbsolute() API is not working? Following is the example of how I am using the API:


               String url = "ROLES:portal_content/com.sap.Test/LeaveRequestApproval";
		WDPortalNavigation.navigateAbsolute(
			url, 
			WDPortalNavigationMode.SHOW_INPLACE, 
			(String) null, 
			(String) null, 
			WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
			(String) null, 
			(String) null, 
			"");

I am getting no error message on clicking of the link but nothing happens also. If i press link again then "Application have expired" message comes.

Thanks and Regards,

Gopal

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Closing thread

Former Member
0 Kudos

Hi ,

My application is a standalone application. Is it because of this that WDPortalNavigation.navigateAbsolute() API is not working?

yes that is the reason , you integrate your application to portal , u ill get desired output.

Thanks,

Sunitha Hari.

Former Member
0 Kudos

Hi Sunitha,

Thanks for response. Is there any way that Portal Navigation links works if fired from Standalone Web Dynpro Application?

Regards,

Gopal