Hi,
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 = element.id;
}
});
LISTBOX_OPEN_BOOKMARK.removeAllItems();
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.id, element.title);
});
Script after selecting bookmark that we want to open.
var Open_bk_id = LISTBOX_OPEN_BOOKMARK.getSelectedValue();
Bookmark.FragmentBookmark.loadBookmark(Open_bk_id);
DIALOG_FUNCTIONS.Menu_Items_visible();
Script to save bookmark.
var bookmarkname = INPUTFIELD_3.getValue();
var Save_bk_id = "";
Bookmark.FragmentBookmark.saveBookmark(LAYOUT_CONTAINER,bookmarkname);
var Save_id = Bookmark.FragmentBookmark.getAllBookmarkInfos();
Save_id.forEach(function(element, index) {
if(element.title == bookmarkname){
Save_bk_id = element.id;
}
});
Bookmark.FragmentBookmark.assignToFolder(Favorite_id,Save_bk_id);