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-chu…a81cda57520cf1.js:1
Uncaught (in promise) TypeError: v.forwardConvertBookmark is not a function at p.<anonymous> (app.chunk.story2-chu…7520cf1.js:1:738395) at app.main.f5041d64ff6…13af3.js:101:106949 at Object.next (app.main.f5041d64ff6…13af3.js:101:107054) at app.main.f5041d64ff6…13af3.js:101:105975 at new Promise (<anonymous>) at d (app.main.f5041d64ff6…13af3.js:101:105724) at e.resolveBookmark (app.chunk.story2-chu…7520cf1.js:1:736465) at app.chunk.story2-chu…7520cf1.js:1:110656
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.