on 05-17-2015 11:04 AM
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
Christian - just a quick thought - are you on the latest SP for Design Studio? SP2?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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;
}
});
}
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.