Skip to Content
Technical Articles
Author's profile photo Kevin Roos

API-Based „View in Browser” Function for Marketing Emails in SAP Marketing


A standard implementation of a “View In Browser” solution is not available for On-Premise releases. To create a customer-managed “View In Browser” solution with your own web servlet implementation, please follow the guidance in the following SAP Note:

2927969 – How to configure Custom ‘View In Browser’ in SAP Marketing

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Kevin Roos
      Kevin Roos
      Blog Post Author

      Additional info needed? Feedback? Write it down here 🙂

      Author's profile photo Varun Dev
      Varun Dev

      Hi Kevin,

      Thanks for sharing this.

      I am currently working on 1709 SP01 version and would like to activate 'view in browser' functionality. Could you pl. share the .WAR file that we could use. Also, if could pl. list down the list of steps to perform if we use Amazon API gateway. Do we also need a Java based web server also alongwith API gateway?



      Author's profile photo Kevin Roos
      Kevin Roos
      Blog Post Author

      Hello Varun,

      I updated the blog with the WAR file, find it here:

      Kind regards


      Author's profile photo Kamilla Ladeira
      Kamilla Ladeira

      Kevin Roos Hello! Very nice blog post.

      I am not sure if I got it right, but as per your post, I don´t need to do anything in Cloud scenario (I am in SAP Marketing Cloud 1902 Cloud version). But once I add the link - View in Browser - it does not redirect to anywhere, unless I include a fallback link (what I understood I don't need it, since the redirection is automatic.)

      In the source code  for the View in Browser link - in the Email Template I see like this:

      I don't understand what I am missing. When I send the email, the link doesn't work.


      Can you give some light?


      Thanks a lot,


      Author's profile photo David Scheffel
      David Scheffel

      The link won't work with sending a test email in Content Studio.

      Needs to be executed in a campaign.

      Author's profile photo HeeYoung Her
      HeeYoung Her

      In 1809 marketing on-prem, there’s no “Insert View in Browser Link” in Contents Studio.

      is it possible to make this feature enabled on 1809 on-prem ?

      Author's profile photo Kevin Roos
      Kevin Roos
      Blog Post Author


      as the blog states we can forward your request to consulting / expert services to develop a customer managed View In Browser solution.

      Kind regards

      Kevin Roos

      Author's profile photo Kyoungmi Oh
      Kyoungmi Oh

      Dear Kevin

      Regarding your post, I want to check something with you.

      Where should I deply the war file? Can I know the directory path?

      And, I also wonder the file should be deployed on the server that is installed SAP MKT or not.

      I mean i need new web hosting server?




      Author's profile photo David Scheffel
      David Scheffel

      Yes, needs to run on a Servlet Container, e.g. Tomcat. If you're also using hybris you can deploy it as an external application.