Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8788977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:16:35+00:00 2026-06-13T22:16:35+00:00

I am implementing a project picker for a Rally custom app and would like

  • 0

I am implementing a project picker for a Rally custom app and would like to select a projects children automatically when the parent is selected from the picker. I was able to get the ObjectID and Name of the objects I want to select but can’t seem to get them to be selected from the picker. I attempted this using the “fireEvent” method but had no success. Here’s what I have so far:

var teamPick = this.down('#filterPanel').add({
    xtype: 'rallymultiobjectpicker',
    id: 'teams',
    modelType: 'project',
    fieldLabel: 'Teams',
    listeners: {
        select: function(field, selected) {
            Ext.create('Rally.data.WsapiDataStore', {
                autoLoad: true,
                fetch: [ 'Name', 'ObjectID' ],
                filters: [
                    { property: 'Parent.ObjectID', value: selected.ObjectID }
                ],
                model: 'Project',
                listeners: {
                    load: function(store, data) {
                        Ext.Array.each(data, function(child) {
                            console.log(child.get('Name')); //Logs the child name
                        });
                    }
                }
            });
        },
        scope: this
    }
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:16:38+00:00Added an answer on June 13, 2026 at 10:16 pm

    I was able to accomplish this without the use of the fireEvent method. Instead, I used the getValue and setValue methods and added the child projects to the state manually:

        this.down('#filters').add({
            xtype: 'rallymultiobjectpicker',
            id: 'teams',
            modelType: 'project',
            listeners: {
                blur: function() { this.down('#teams').collapse(); },
                select: function(field, selected) {
                    Ext.create('Rally.data.WsapiDataStore', {
                        autoLoad: true,
                        fetch: [ 'Name', 'ObjectID' ],
                        filters: [
                            { property: 'Parent.ObjectID', value: selected.ObjectID }
                        ],
                        model: 'Project',
                        listeners: {
                            load: function(store, data) {
                                var selected = this.down('#teams').getValue();
                                Ext.Array.each(data, function(child) {
                                    selected.push(child.data);
                                });
                                this.down('#teams').setValue(selected);
                            },
                            scope: this
                        }
                    });
                }
                scope:    this
            }
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing a interpreter-like project for which I need a strange little scheduling queue.
I'm implementing the TTThumbsViewController from the Three20 project and things are finally starting to
I am implementing a project in which I am getting the product list from
I'm working on implementing Project Euler solutions as semantic Ruby one-liners . It would
While implementing the code from this question on my project I realized there's 3
I got a code from an old project implementing AES on 802.15.4 It defines
So I am implementing a project from a book and I am somewhat confused
I'm implementing a project in MVP pattern and I've got some interfaces like this:
I'm currently implementing some custom exceptions in a project and can't decide wither to
We are implementing a project where the users post and get some information from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.