KBA-01243: Changing the Default Filter for Cost Analysis Detail

Purpose & Scope:

The default settings in the filter for the Cost Analysis Detail part on the Project Dashboard are stored in the Page.Config file. This file is overridden every time an update is applied to Spitfire. You can override Spitfire‘s default filter by adding your changes to siteconfig.xml.

Procedure:

General Processes for Changing Spitfire Default Filters:

  1. Open SiteConfig.xml as described in KBA-01279.
  2. Copy the default code from Page.Config.
  3. Modify as needed.
  4. Save SiteConfig.xml.

In Page.Config, the <Pane> section is the default for the Project Dashboard‘s Cost Analysis Detail. The <PropData> tag holds the Filter defaults.

<Pane>
<PageName>/projectdetail.aspx</PageName>
<ItemID>6</ItemID>
<PaneOrder>7</PaneOrder>
<LocationCode>2</LocationCode>
<PartInterfaceType>2</PartInterfaceType>
<Title>Cost Analysis Detail</Title>
<Url>ProjectCA</Url>
<Active>true</Active>
<UCModule>PART</UCModule>
<UCFunction>ProjectCA</UCFunction>
<PropData>&lt;WebPart&gt;&lt;ShowFilter&gt;False&lt;/ShowFilter&gt;&lt;filter.ByAccount&gt;
True&lt;/filter.ByAccount&gt;&lt;filter.ShowExpense&gt;True&lt;/filter.ShowExpense&gt;
&lt;filter.ShowRevenue&gt;True&lt;/filter.ShowRevenue&gt;
&lt;filter.ShowForecast&gt;True&lt;/filter.ShowForecast&gt;&lt;filter.ShowVariance&gt;
True&lt;/filter.ShowVariance&gt;&lt;filter.KDollars&gt;True&lt;/filter.KDollars&gt;
&lt;filter.ByTask&gt;False&lt;/filter.ByTask&gt;&lt;filter.ShowToComplete&gt;
False&lt;/filter.ShowToComplete&gt;&lt;CustomButton&gt;~/images/1×1.gif;Load Data&lt;/CustomButton&gt;&lt;/WebPart&gt;</PropData>
</Pane>

For example, to change the default display of $ in K Amounts, change the following section of <Propdata>:

From: &lt;filter.KDollars&gt;True&lt;/filter.KDollars&gt

To: &lt;filter.KDollars&gt;False&lt;/filter.KDollars&gt

Additional Comments:

See KBA-01244 for an example of changing the Executive Project Summary default filter.


KBA-01243; Last updated: October 13, 2016 at 9:41 am;