cancel
Showing results for 
Search instead for 
Did you mean: 

Bookmarking and standard reset button

Jorge123
Explorer
253

Dear all,

I created a dashbord where trhe user can select different bookmarks. The dashboard also contains the standard reset button. 

 

In the onInitialization function I use the following code:

console.log("BEFORE BOOKMARK CHECK");
var l_Bookmark_Applied = Bookmarks.getAppliedBookmark();
console.log(l_Bookmark_Applied);
console.log("AFTER BOOKMARK CHECK");
if (l_Bookmark_Applied !== undefined) {
console.log("Bookmark applied");
 
Howeever, when the user selects a bookmark and presses the standard reset buton he gets the following error message: 
app.chunk.story2-chua81cda57520cf1.js:1
 
Uncaught (in promise) TypeError: v.forwardConvertBookmark is not a function at p.<anonymous> (app.chunk.story2-chu7520cf1.js:1:738395) at app.main.f5041d64ff613af3.js:101:106949 at Object.next (app.main.f5041d64ff613af3.js:101:107054) at app.main.f5041d64ff613af3.js:101:105975 at new Promise (<anonymous>) at d (app.main.f5041d64ff613af3.js:101:105724) at e.resolveBookmark (app.chunk.story2-chu7520cf1.js:1:736465) at app.chunk.story2-chu7520cf1.js:1:110656
 (anonym)
 
It's very strange that also a console.log from the first line of the onInitialization function is not shown. For me the standard reset button function is a black box. How can I avoid the exception ?
 

 

Accepted Solutions (0)

Answers (0)