on 02-09-2016 1:15 PM
I have a few quick questions regarding bookmarks, which I hope someone can help me out with:
I went over and it looks like that bookmarks are stored locally, is this correct?
Thanks for your help with this information,
Pete
Hi Pete,
If you could share the script code you are using to both create and load bookmarks we can try to identify the cause of your issue. My initial comments are as follows:
1) Bookmarks are valid for all sessions. If a user saves a bookmark and then logs on again, they should definitely see any previously saved bookmarks;
2) It sounds like you are working locally at the moment. In local mode, bookmarks are stored locally on the PC. If you publish your app to the server (such as BusinessObjects), bookmarks will be stored on the server. The location of bookmarks based on the platform is described in the presentation link Tammy has provided;
3) Are you making changes to the BI app in between sessions? Depending on the type of bookmark (especially a Standard Bookmark), if you make changes to the BI app, any existing bookmarks will become invalidated.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is pretty much the standard bookmark code provided by SAP in DS 1.5.
I'm now using DS 1.6, the problem was there in 1.5 as well
/* begin share button */
if (BOOKMARK_DROPDOWN.getSelectedValue() != "")
{
g_header_mode = "NONE";
g_footer_mode = "NONE";
BUTTON_INIT_BUTTONS.onClick();
Bookmark.shareBookmark(Bookmark.getBookmarkUrl(BOOKMARK_DROPDOWN.getSelectedValue()));
}
/* end share button */
/* begin create/load buttons */
g_header_mode = "NONE";
BUTTON_INIT_BUTTONS.onClick();
var name = INPUTFIELD_NAME.getValue();
if (name == "")
{
if (BOOKMARK_DROPDOWN.getSelectedValue() != "")
{
Bookmark.loadBookmark(BOOKMARK_DROPDOWN.getSelectedValue());
}
}
else
{
INPUTFIELD_NAME.setValue("");
Bookmark.saveBookmark(name);
var bookmarks = Bookmark.getAllBookmarks();
if (bookmarks.length > 0)
{
BUTTON_SHARE_BOOKMARK.setCSSClass("primaryButton");
}
else
{
BUTTON_SHARE_BOOKMARK.setCSSClass("disabledFilter");
}
bookmarks.forEach(function(element, index)
{
BOOKMARK_DROPDOWN.addItem(element.name, element.text);
});
}
/* end create/load buttons */
/* begin bookmark delete */
Bookmark.deleteBookmark(BOOKMARK_DROPDOWN.getSelectedValue());
/* get all Bookmark */
BOOKMARK_DROPDOWN.removeAllItems();
var bookmarks = Bookmark.getAllBookmarks();
if (bookmarks.length > 0)
{
BUTTON_SHARE_BOOKMARK.setCSSClass("primaryButton");
}
else
{
BUTTON_SHARE_BOOKMARK.setCSSClass("disabledFilter");
}
bookmarks.forEach(function(element, index)
{
BOOKMARK_DROPDOWN.addItem(element.name, element.text);
});
/* end bookmark delete */
//BUTTON_INIT_BUTTONS
// Header
//POPUP_BOOKMARK.hide();
PANEL_BOOKMARK.setVisible(false);
PANEL_SELECTION.setVisible(false);
POPUP_SELECTION.hide();
BODY.setLeftMargin(0);
BUTTON_BOOKMARK.setCSSClass("ICON_BOOKMARK");
BUTTON_SELECTION.setCSSClass("ICON_SETTING");
if (g_header_mode == "BOOKMARK") {
PANEL_BOOKMARK.setVisible(true);
//BUTTON_BOOKMARK.setCSSClass(BUTTON_BOOKMARK.getCSSClass()+ " B_ACTIVE");
//POPUP_BOOKMARK.show();
}
if (g_header_mode == "SELECTION") {
PANEL_SELECTION.setVisible(true);
POPUP_SELECTION.show();
//BODY.setLeftMargin(300);
//BUTTON_SELECTION.setCSSClass(BUTTON_SELECTION.getCSSClass()+ " B_ACTIVE");
}
// Footer
PANEL_ACTION.setVisible(false);
PANEL_INFO.setVisible(false);
PANEL_SETTING.setVisible(false);
g_popup_info = false;
if (g_footer_mode == "ACTION") {
PANEL_ACTION.setVisible(true);
}
if (g_footer_mode == "SETTING") {
PANEL_SETTING.setVisible(true);
}
Hi Pete - Please see this SAP presentation http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8085e6f7-f457-3310-a18e-9e7080081...
It covers the deployment options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.