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 8725403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:01:58+00:00 2026-06-13T08:01:58+00:00

We would like to surface the Portfolio Timeline Rally App in our SharePoint site,

  • 0

We would like to surface the Portfolio Timeline Rally App in our SharePoint site, so upper management can get a good view of where things are in our portfolio, but it doesn’t look like that capability is available. So, as the “next best thing” they would like a list of the porfolio items with start/end dates and a few other fields displayed in a table.

So far, I’ve been able to generate the loginkey for a read-only user, put that in some sample code I found between Rally’s site and SO, and display a list of user stories succesfully:

 <script type="text/javascript" src="https://rally1.rallydev.com/apps/1.28/sdk.js?loginKey=[loginkey]"></script>
 <script type="text/javascript">
    function onLoad() {
        rally.sdk.ui.AppHeader.destroy();
        var workspaceId = "0123456789";
        var projectId = "0123456789";
        var rallyDataSource = new rally.sdk.data.RallyDataSource(workspaceId,projectId, 'false', 'true');
        var config = {type: "hierarchicalrequirement", columnKeys:["FormattedID", "Name"]};
        var table = new rally.sdk.ui.Table(config, rallyDataSource);
        table.display("tableDiv");
    }
    rally.addOnLoad(onLoad);
</script>

That works fine. However, I am running into the following issues:

  • If I try to change the config’s type from hierarchicalrequirement to PortfolioItem it does not seem to retrieve anything
  • If I try to increase the rev on the sdk.js past 1.28, the rally.addOnLoad does not seem to fire the onLoad event at all and I get some other errors (e.g. RallyDataSource not defined) with the code if I make it fire with my own onLoad event

Am I missing something that is super-obvious? Is there something else I should be using with the 2.0 SDK?

  • 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-13T08:01:59+00:00Added an answer on June 13, 2026 at 8:01 am

    Due to the changes in the Rally Webservices API incorporated to allow for dynamic typing of Portfolio Items, when using AppSDK 1.x, it’s necessary to pair the latest available version of the AppSDK Javascript toolkit (1.32), with Webservices API version 1.37, which handles dynamic typing of PortfolioItems.

    The following approach should work with your code:

    <script type="text/javascript" src="https://rally1.rallydev.com/apps/1.32/sdk.js?loginKey=[loginkey]"></script>
     <script type="text/javascript">
        function onLoad() {
            rally.sdk.ui.AppHeader.destroy();
            var workspaceId = "123456789";
            var projectId = "2345678910";
            var rallyDataSource = new rally.sdk.data.RallyDataSource(workspaceId,projectId, 'false', 'true');
            // Set Webservices API version to use 1.37
            rallyDataSource.setApiVersion('1.37');
            var config = {type: "portfolioitem", columnKeys:["FormattedID", "Name"]};
            var table = new rally.sdk.ui.Table(config, rallyDataSource);
            table.display("tableDiv");
        }
        rally.addOnLoad(onLoad);
    </script>
    

    AppSDK 2.0+ will be the best approach to handle Portfolio Item types moving forward as it will be the preferred and supported Javascript toolkit once it is GA. However, at this time, a “LoginKey-like” functionality is not yet available in AppSDK 2.0 preview – so the above approach should get you by with LoginKey in AppSDK 1.32 for now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Would like to know what a programmer should know to become a good at
I would like to add some arrows to a 3D surface plot to indicate
i would like to effeciently generate positions for objects on a given surface. As
I have a surface project and I would like to use controls designed in
I would like to generate random points on a 2D surface, distributed around a
We are using CRM 2011 w/ ADFS 2.0. Our users would like for one
I would like to create a plot of the 3D surface that spans over
For demo purpose I would like to screencast my Surface application, but I don't
I have a pygame Surface and would like to invert the colors. Is there
I would like to load an image in tkinter from a pygame surface and

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.