appsdk2 - Remove scoping from Rally Solr Artifact Chooser Dialog -
appsdk2 - Remove scoping from Rally Solr Artifact Chooser Dialog -
i using rallysolrartifactchooserdialog display initiative picker. however, initiatives populate grid within default project scoping in rally. there way configure fetch initiatives?
{ xtype: 'rallysolrartifactchooserdialog', id: 'portfolioitempicker', artifacttypes: ['portfolioitem/initiative'], autoshow: true, height: 250, title: 'choose initiative', listeners: { scope: this, artifactchosen: function(picker, selectedrecord) { ... } } }
i did notice storeconfig parameter in documentation - perhaps solution?
you're on right track. can command scoping of artifacts including context on storeconfig:
storeconfig: { context: { //specify workspace search workspace: rally.util.ref.getrelativeuri(this.getcontext().getworkspace()), //all projects project: null } }
by way, if using 2.0rc3 appropriate event artifactchosen (all lowercase). i'll prepare doc illustration reflect that...
rally appsdk2
Comments
Post a Comment