cancel
Showing results for 
Search instead for 
Did you mean: 

Bookmark Web Dynpro pages

Former Member
0 Kudos

Is there a way Web Dynpro pages could be bookmarked or added to list of favorities ? Not using the browser menu, but by providing a link or button on the WD page, that user can click to bookmark the page.

Looked in NWDS and could not find any UI element with this capability. As far as I know, no external javascripting is permitted in WD.

Thanks in advance for your response !

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Srikanth,

You are rigth: there is no such component and it is impossible to add custom java script.

However, you may embedd IFrame with following source (IE only, I don't know solution for Mozilla):


<html>
  <head>
    <title>Add to Favorites</title>
    <script Language = "JavaScript" type="text/javascript">
      var target = window.top;
      var urlAddress = target.location.href;
      var pageName   = target.title;
      function addToFavorites()
      {
        if (window.external)
          window.external.AddFavorite(urlAddress,pageName)
      }
    </script>
  </head>
  <body>
    <a href="#" onclick="addToFavorites(); return false">Add to favorites</a>
  </body>
</html>

VS

Answers (0)