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

How to remove unwanted string in URL SAP UI5

$
0
0

Hello ,

 

I want to remove unwanted string from URL which is highlighted in below screenshot.

after /index.html i want to show /index.html/page/Page1 only..

 

And  i want to remove other generated unwanted string.

 

Actually below screen shot is generated when  i used  :

 

jQuery.sap.history.addHistory("#Page",oStateData.id+"#/", false);

 

Capture.PNG

 

But now, I am using

 

jQuery.sap.history.addHistory("Page",oStateData.id, false);

 

where oStateData.id contains Page1

.


It is showing below code

http://localhost:56045/Notif/index.html#Page|%22Page1%22|0

 

My Desire output is as below.


http://localhost:56045/Notif/index.html/Page/Page1/


.. Kindly advise on the same..


Regards,

Gaurav Wani


Viewing all articles
Browse latest Browse all 8581

Trending Articles



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