cancel
Showing results for 
Search instead for 
Did you mean: 

Current portal role

Former Member
0 Kudos

Hi

I am using the following code;but i am not able to find the package for PortalRuntime. From where can i get the jar file for the mentioned?


NavigationEventsHelperService service = 
	(NavigationEventsHelperService) PortalRuntime.getRuntimeResources()
		.getService(NavigationEventsHelperService.KEY);
String actualName = service.getCurrentLaunchNavNode( request).getName();

Thanks,

Vinod V

Accepted Solutions (0)

Answers (2)

Answers (2)

praveenkumar_gudapati
Active Contributor
0 Kudos

Hi,

PortalRuntime is present in prtapi.jar.

To add this jar file to the build path of your project in NWDS:

Right click on the project->properties->java build path->add external jar's -> add the jar.

prtapi.jar is in

eclipse\plugins\com.sap.ep.applicationDevelopment

or

eclipse\plugins\com.sap.ep.applicationDevelopment_7.00

depending on your eclipse version.

Regards,

Praveen Gudapati

Former Member
0 Kudos

I sent you the jar file.reward points if helpful

Former Member
0 Kudos

Thanks for your reply. Please see my business card to fetch jar file/details.

Regards

Vinod V