on 2015 May 07 9:01 AM
Hi All
I've been strugling a bit using the bookmark functionality in my application.
It seems that my scripting gets the bookmark created, but somehow it doesn't show in my dropdown box arfterwards (it's all empty).
Are there any specific settings in BW backend that allows for this?
The code i'm using:
Best Regards
Bjørn
Hi Karol
Tried to implement your debug code, but still nothing happens.
The best i can get, is when I setText on the STATUS_INFO object using bookmarks.lengt.
When i do that i get a 0, so something tells me that the bookmark is not created...?
/Björn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Björn,
if you save a bookmark and immediately load a list, you have to see it in the list. In case not, open customer incident to check the topic in detail.
Before you open, be aware that every change in the application is making the bookmarks obsolete (documented in development guide).
Karol
Hi Bjørn,
you are talking about the "else" case, meaning after the method getAllBookmars()?
just try to place some debug code after this line, like:
APPLICATION.createInfoMessage("Bookmarks: " + bookmarks.length);
also, when you place the bookmarks into dropdown, I think you need to use ".id", instead of ".name". If you add 2 bookmarks with same name, nothing will happen as only the ID is unique.
Karol
P.S. before you add new items, you need also to place a line
DROPDOWN.removeAllItems();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.