Quantcast
Viewing all articles
Browse latest Browse all 2686

Getting PCD location of a navigation target from short URL

Hello,

 

My requirement is to get actual pcd location or actual full path of a navigation node from it's short url.

 

I have a JSPDynpage DC where I am using EPCM API to get navigation using below code: -

 

EPCM.subscribeEvent("urn:com.sapportals:navigation", "Navigate", NavigationEvent);

function NavigationEvent(evntInput){

  var pathArray = EPCM.getSAPTop().LSAPI.AFPPlugin.model.getCurrentSelectedPath();

  var path = pathArray[0].getTitle() ;

  for(var index = 1; index < pathArray.length; index++)

  {

    path = path +">" + pathArray[index].getName();

 

  }

}

 

Now, this getName method of navigation node is returning value like "navurl://fhwrfgh6756734bhvbhvgeygrfgg463"

From this 'path', I some how need to get node's PCD location or direct actual URL.

 

Is there any way to get it?

 

Thanks & Regards,

Amey


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>