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

Need help using RM.Client.SetSelection()

I am trying to create a dashboard widget that will select all artifacts in a module view.
I am using RM.Client.setSelection() on a set of all artifacts. I am using more or less the same code from the API example. However, only some of the artifacts are getting selected (usually 61!).
The set that is being passed to SetSelection() has more than 61 artifacts.
Any idea what could it be?

Thank you!


0 votes



One answer

Permanent link

I got help from support, so I'll answer my own question here, in case someone ever meet the same problem and stumble across this question.

The reason for this funny behavior is a server property called "Number of Artifacts to load at a time in modules", which by default is set to 30, and affects the number of artifacts that are getting selected at a time. The property can be changed in by server admin, in rm/admin, in "advanced properties", however, this will impact the performance when opening or scrolling a module, so changing this property should be done carefully.

0 votes

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,943
× 152
× 124
× 84
× 7

Question asked: Mar 27 '17, 3:28 a.m.

Question was seen: 3,204 times

Last updated: Apr 04 '17, 2:02 a.m.

Confirmation Cancel Confirm