cancel
Showing results for 
Search instead for 
Did you mean: 

URL Encoding , FIORI master detail application

0 Kudos

Hi experts,

I am developing a fiori master detail application,i have to pass my customer name in url as parameter,my customer name include '/' character(Eg:M/s Robin James) .So when i pass this through my url it is not working since it contain '/',My plan is encode and pass url.How can i do it with my fiori application or can you suggest any other methods to resolve this problem

For an eg:-

A/Sbob.mary   where the slash i want to encode

Thanks

Shilpa

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

I think M%2Fs Robin James should work. Basically replace / with %2F.

You may use this link to URL encode if you have other special characters.

URL Decoder/Encoder

0 Kudos

Hi Krishna!

Thanks for the update, can you please share sample codes for this purpose.

that would be a great help at this point .Thanks

Shilpa.

kammaje_cis
Active Contributor
0 Kudos

This is very well documented in most javascript references. Here is it anyway.


encodeURIComponent("M/s Robin James")


0 Kudos

Hi Krishna,

Thanks for your reply

Answers (0)