cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

C4C - Redirecting back to HTML Mashup page

swallis
Participant
0 Likes
1,199

I have an HTML mashup in C4C which contains links to other pages that accept a 'return URL' parameter. These pages use that parameter to provide a link to get back to the original page (i.e. the HTML mashup)

When I inspect the source of the HTML mashup frame the URL is:

https://mashup-de.sapbydesignmashups.com/mashups/html/render

However, if I provide this as the Return URL, it just stays on the 'Loading...' page and doesn't reload the mashup. Does anyone know of a way to trigger the mashup to load again via the URL?

Unfortunately I don't have control of the pages I'm linking to, so am not able to modify how they work (e.g. by using a browser 'back' function instead.. which does work!)

Thanks,
Simon

Accepted Solutions (1)

Accepted Solutions (1)

former_member226
Employee
Employee

Hi,

Did you create a reverse navigation for your mashup in order to navigate back from custom URL to C4C UI? If not, I would highly encourage to check this blog:

https://blogs.sap.com/2019/05/14/c4c-mashups-how-to-return-data-from-a-mashup-to-c4c/

I know that in your case you are just returning back the URL and no data being transferred but in order to get the control back from external iframe to C4C, a dummy navigation has to take place.

I haven't tried this approach very recently but a couple of years back and it worked for me.

Thanks

Saurabh

swallis
Participant
0 Likes

Thanks saurabhkabra2009 I will try this out!

dschattenberg
Explorer

I'm using this blog https://blogs.sap.com/2020/01/27/adding-an-html-mashup-to-opportunity-to-display-detailed-status-and... However, the mashup doesn't work and I have also a rendering issue: https://mashup-de.sapbydesignmashups.com/mashups/html/render

Saurabh do you have any idea?

Thanks,

Daan

Answers (0)