cancel
Showing results for 
Search instead for 
Did you mean: 

Error while retrieving bookmark. Bookmark with id "OnlineCompBookmark" does not exist.

ChristianSass
Participant
0 Kudos

Hi,

I've tried the mentioned tutorial on the "Composition" Feature. I was very accurate and I've checked everything twice but when I try the application I get the following error:

"Error while retrieving bookmark. Bookmark with id "OnlineCompBookmark" does not exist."

What could this be? Do I have to set-up my browser in a certain way?

Thx

Chris

Accepted Solutions (1)

Accepted Solutions (1)

TammyPowlas
Active Contributor

Christian - just a quick thought - are you on the latest SP for Design Studio? SP2?

ChristianSass
Participant
0 Kudos

Thx for your quick answer! I've found the mistake in my coding

but I've another problem.

In the last step of the tutorial they show a way how DS generates a URL that I could share with others. This script does not work. It opens the initial screen of my Dashboard but not the customized page.

Thx for any hint

var id = RADIO_BTN_DASHBOARDS.getSelectedValue();

var url = Bookmark.getBookmarkUrl(id);

var array = url.split("&");

var int = 1;

if (url != " ") {

  array.forEach(function(element, index) {

   if (int == 1) {

    APPLICATION.openNewWindow(element + "&XID="+ id);

    int = int + 1;

   }

  

  });

}

Former Member
0 Kudos

Hi Christian

To share your bookmark try the following code:

//Share the selected bookmark from dropdown

Bookmark.shareBookmark(Bookmark.getBookmarkUrl(RADIO_BTN_DASHBOARDS.getSelectedValue()));

This prompts the url link

//To open the bookmark automatically in a new window use the below code:

APPLICATION.openNewWindow(Bookmark.getBookmarkUrl(RADIO_BTN_DASHBOARDS.getSelectedValue()));

Thanks

Kavya

Answers (0)