Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can use DOORs NG client extension after opening MiniDashboard only

Hello!
I have found a serious constraint in extending of DOORs Next Generation v6.0.4 with Client Extension API technology. I developed a client extension which can be triggered after a user saves an artifact. And the JavaScript works well.
But the problem is that if the script will work only after user unfold the MiniDashboard panel at least once (after user loged in to DOORs NG). Next MiniDashboard can be hidden but it must be unfold at least once!
It's not good because the script automizes the work of users! But if they didn't unfold MiniDashboard, the script can not provide the necessary work.
Could you please recommend some workaround or another solution to cope with the problem? May be I was doing something wrong!
Thank you very much in advance!

1 vote



2 answers

Permanent link

 Dmitry,


DOORS Next Client Extension API is scripts are only executed when the mini widget is visible because otherwise the widget is not able to respond to handlers.

The only thing you can try is to put this JavaScript code as part of DNG theme. I am not sure if it will work but it is worth trying because widget has to be visible to execute any code.

2 votes


Permanent link

Be very careful adding JavaScript to a theme; it can severely impact performance.

1 vote

Comments

True, that is why I do not recommend and if you do so be careful. 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jul 24 '17, 5:09 a.m.

Question was seen: 2,330 times

Last updated: May 04 '20, 3:35 a.m.

Confirmation Cancel Confirm