Skip to Content

Bookmark stuck in loop while we execute it on BI platform.


We are using design studio 1.6 SP03 and BIP 4.2 SP03.

Currently we are migrating WAD reports functionalities to design studio application.

In design studio application we have used booking functionality to Create, Delete, Share and Open the bookmarks.

Create, Delete and Share bookmark functionality is working fine but when we open existing bookmark, design studio application stuck in loop.

This happen when we execute design studio application on BI platform however the same thing is working fine with local mode.

I am attaching script written for open bookmark functionality.

Script written for bookmarking functionality.

Script written on open button from menu list

var Open_favorite = Bookmark.getBookmarkFolders();

Open_favorite.forEach(function(element, index) {

if(element.title == "Favorites"){

Favorite_id =;




LISTBOX_OPEN_BOOKMARK.addItem("Please select bookmark", "Please select bookmark");

var Open_Favotite_BK = Bookmark.FragmentBookmark.getAllBookmarksByFolder(Favorite_id);

Open_Favotite_BK.forEach(function(element, index) {

LISTBOX_OPEN_BOOKMARK.addItem(, element.title);


Script after selecting bookmark that we want to open.

var Open_bk_id = LISTBOX_OPEN_BOOKMARK.getSelectedValue();



Script to save bookmark.

var bookmarkname = INPUTFIELD_3.getValue();

var Save_bk_id = "";


var Save_id = Bookmark.FragmentBookmark.getAllBookmarkInfos();

Save_id.forEach(function(element, index) {

if(element.title == bookmarkname){

Save_bk_id =;




Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 03, 2017 at 03:56 AM

    Hi Darshil,

    A couple of comments and questions:

    1) Can you provide a screenshot of your application showing what is included in the LAYOUT_CONTAINER and what is not?

    2) Have you confirmed that the BIP User has all the necessary privileges for the Favourites bookmark folder?

    3) Have you confirmed that LISTBOX_OPEN_BOOKMARK.getSelectedValue() is returning the expected BookmarkID by say displaying the value in a text field after selection?

    4) When saving a bookmark, there is no need to retrieve the saved bookmark ID by looping through a list of bookmark infos and checking the title. The ID is returned when you save the bookmark so you can simplify your code with a single line as follows:

    var Save_bk_id = Bookmark.FragmentBookmark.saveBookmark(LAYOUT_CONTAINER,bookmarkname).id;



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Darshil,

      It's a little difficult to compare local mode to platform mode in this scenario for the purposes of determining the exact cause of the issue. Clearly it was due to one or more of the conflicting components being moved outside the LAYOUT_CONTAINER. If you really wanted to, you could revert to your original app and move components outside of the container one by one to isolate which one has caused the issue. I guess it's up to you if you want to go down that track.