Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3193

Re: Routing with Parameter SAP Web IDE

$
0
0

Hi Yoppie,

 

Route:

 

 

{

  pattern: "Product/{productId}",

  name: "ProductDetails",

  target: "productDetails"

  }

 

Follow this pattern in component.js

 

 

For Navigation:

 

this._oRouter.navTo("ProductDetails", {

  productId: encodeURIComponent(oEvent.getSource().getBindingContext().getProperty("Id"))

  }, false);

 

Try this method

 

Regards,

Karthik A


Viewing all articles
Browse latest Browse all 3193

Trending Articles



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