2 Replies Latest reply: Jun 14, 2018 11:22 AM by Srinivas Chaturvedula RSS

    Qlik Bookmark API via WS

    Srinivas Chaturvedula

      Opened app:

      app = qlik.openApp('4a6bc5c5-bff4-48a9-b8dc-a2ed55b7b612', config);

       

      App has a few fields and 4 bookmarks.

       

      app.getList("FieldList", function(reply){

            var field_str = "no fields found!";

            if (reply.qFieldList != null) {

                field_str = '';

                $.each(reply.qFieldList.qItems, function(key, value) {

                    field_str +=  value.qName + ' ';

                });

            }

            console.log('FieldList --> ' + field_str);

        });

      Fields being displayed correctly.

       

      Did the same for bookmarks.

        app.getList("BookmarkList", function(reply){

            var bookmark_str = "no bookmarks found!";

            if (reply.qFieldList != null) {

                bookmark_str = '';

                $.each(reply.qFieldList.qItems, function(key, value) {

                    bookmark_str +=  value.qName + ' ';

                });

            }

      But bookmarks are coming up as empty.

       

      Could anyone help me with this.

       

      Also, how do i save the bookmark including selections made the sheet.