cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get correct folder information of saved bookmark

darshil14
Participant
0 Kudos

Hi,

Currently, we are using lumira designer 2.1 and Business Object BI platform 4.2 SP5.

Problem statement: After moving bookmark to different folder when I access folder information through scripting, it is showing folder we have selected at the time of bookmark creation, however bookmark management option in CMC is showing updated information.

Please find following detailed information,

1) Creating bookmark and saving it to default folder called lumira bookmarks.

2) Moving bookmark to different folder through following script,

var folder = TREE_1.getSelectedValue();
var id = FEEDLIST_1.getSelectedItem().id;
BOOKMARKS.assignToFolder(folder, id);

3) Hitting bookmark information button to get updated bookmark folder information through following script,

var bookmark = FEEDLIST_1.getSelectedItem().id;
TEXT_1.setText("Name");
TEXT_4.setText(BOOKMARKS.get(bookmark).title);
TEXT_3.setText("Folder");
TEXT_2.setText(BOOKMARKS.get(bookmark).folder);
DIALOG_4.open();

4) Now, when I check bookmark properties in CMC, it is showing updated folder name against that bookmark.

Thanks,

Darshil Shah

TammyPowlas
Active Contributor
0 Kudos

Hi - did you try this on SP1, the latest release?

darshil14
Participant
0 Kudos

Hi Tammy,

Thanks for prompt response.

No, we are on lumira 2.1 SP0.

Thanks,

Darshil Shah

MustafaBensan
Active Contributor

Hi Darshil,

What is the script code you are applying to populate the content of TREE_1 and FEEDLIST_1?

Regards,

Mustafa.

darshil14
Participant
0 Kudos

Hi Mustafa,

Following script written to populate bookmarks in Feedlist,

var bookmark = BOOKMARKS.getAll();
FEEDLIST_1.removeAllItems();
bookmark.forEach(function(element, index) {
FEEDLIST_1.addItem({"text" : element.title, "author": element.owner, "id":element.id,
"authorId": element.owner,
"info": element.description});
});

Following script written to populate tree structure of bookmark folder,

TREE_1.setModel(BOOKMARKS.getFolderTreeModel(false));

Thanks,

Darshil Shah

darshil14
Participant
0 Kudos

Hi Mustufa,

I tried many times but unable to correct folder name.

Its a bug from SAP side?

Thanks,

Darshil Shah

MustafaBensan
Active Contributor
0 Kudos

Hi Darshil,

Can you provide the following?:

1. Screenshot of your application;

2. Screenshot of your Bookmark definition, showing the components that are included in the bookmark.

Regards,

Mustafa.

darshil14
Participant
0 Kudos

Hi Mustafa,

Total six steps are there. Somehow I am unable to update more then two screen shot, so I am sending multiple reply of your question.

I have created test application for bookmarking functionality. Please find following detailed information.

1) Components used in bookmarking application.

2) New bookmark creation logic,

darshil14
Participant
0 Kudos

3) Logic to display created bookmarks in list view.

4) Logic to open bookmark tree folder.

darshil14
Participant
0 Kudos

5) Logic to move bookmark to another folder.

6) Logic to display created bookmark information.

Thanks,

Darshil Shah

MustafaBensan
Active Contributor
0 Kudos

Can you post a screenshot of your application UI as well as a screenshot of the BOOKMARKS component definition with included components?

darshil14
Participant
0 Kudos

Hi Mustafa,

Application is designed for test purpose only.

Components included in Bookmark technical component.


Thanks,

Darshil Shah

darshil14
Participant
0 Kudos

Hi Mustafa,

If you have any update could you please share the information.

I am still struggling to resolve this issue.

Thanks,

Darshil Shah

Accepted Solutions (0)

Answers (0)