I set up bookmark functionalities and tried leveraging the "isDefault" flag as shown here in the Analytics Designer API Reference Guide.
However a "default" bookmark does not load when opening the application.
When loading the "default" bookmark in the "OnInitialization" Script, the Application goes into a loop as it's initializing again when applying the bookmark.
So my Question is: How was the default bookmark intended to work ?
Request clarification before answering.
Dear fa_no,
I'm not familiar with the 'Default Bookmark', but we also offer the bookmark option within our application and we handle the onInit call as follows:
// LOADS THE COCKPIT
if (Application.getMode() === ApplicationMode.Present){
// DO SOME INITIAL SETTINGS
}
// RELOAD APP WITH MODE PRESENT
// WITHOUT BOOKMARK
else if (Application.getMode() !== ApplicationMode.Present && BookmarkSet_UserSettings.getAppliedBookmark() === undefined){
NavigationUtils.openApplication(Application.getInfo().id, UrlParameter.create("mode", "present"), true);
}
// WITH BOOKMARK
else {NavigationUtils.openApplication(Application.getInfo().id,[UrlParameter.create("bookmarkId",BookmarkSet_UserSettings.getAppliedBookmark().id),UrlParameter.create("mode","present")],true);}
Maybe this helps you to solve your issue.
Best regards
Susanne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.