KBA-01034: How can I reset the default value for the Actual Expense > field?

Question:

How can I reset the default value for the Actual Expense > field in the Executive Project Summary filter?

Answer:

0 is the default value that ships with sfPMS. Since that value is stored in page.config, you can insert your value in siteconfig.xml and your value will be used in place of the Spitfire value.

To change the default value for your site:

  1. Refer to KBA-01279 for information on how to customize the SiteConfig.xml file.
  2. Copy the code below and paste in your SiteConfig.xml file between the
    <PageConfig xmlns=‘http://tempuri.org/PageConfig.xsd‘> and <PageConfig> tags
    (see example below).
  3. Change the value of …filter.ActExpOver&gt;0&lt;… to your new default value.
  4. Save your changes.

Code

<Pane>

<PageName>/ExecutiveInfo.aspx</PageName>

<ItemID>1</ItemID>

<PaneOrder>1</PaneOrder>

<LocationCode>0</LocationCode>

<PartInterfaceType>1</PartInterfaceType>

<Title>Projects</Title>

<Url>~/ucmodules/ProjRES.ascx</Url>

<Active>true</Active>

<UCModule>PART</UCModule>

<UCFunction>ProjectRES</UCFunction>

<PropData>&lt;WebPart&gt;&lt;ShowFilter&gt;False&lt;/ShowFilter&gt;&lt;filter.ActExpOver&gt;0&lt;/filter.ActExpOver

&gt;&lt;filter.KDollars&gt;True&lt;/filter.KDollars&gt;&lt;/WebPart&gt;</PropData>

</Pane>

Example siteconfig.xml file with Actual Expense > 1000:

<?xmlversion=‘1.0‘ encoding=‘utf-8‘ standalone=‘yes‘ ?>

<PageConfigxmlns=‘http://tempuri.org/PageConfig.xsd‘>

<Pane>

<PageName>/ExecutiveInfo.aspx</PageName>

<ItemID>1</ItemID>

<PaneOrder>1</PaneOrder>

<LocationCode>0</LocationCode>

<PartInterfaceType>1</PartInterfaceType>

<Title>Projects</Title>

<Url>~/ucmodules/ProjRES.ascx</Url>

<Active>true</Active>

<UCModule>PART</UCModule>

<UCFunction>ProjectRES</UCFunction>

<Prop Data>rt&gt;&lt;ShowFilter&gt;False&lt;/ShowFilter&gt;&lt;filter.ActExpOver&gt;0&lt;/filter.ActExpOver&gt;

&lt;filter.KDollars&gt;True&lt;/filter.KDollars&gt;&lt;/WebPart&gt;</PropData>

</Pane>

</PageConfig>

Additional Comments:

We recommend that individuals making changes to siteconfig.xml have a good understanding of web pages and html tags.

CAUTION:  Page.Config is a file that stores Spitfire application data. Updates to Spitfire will replace page.config; therefore, do NOT make edits in Page.Config.  Siteconfig.xml is designed to give you a place to make your configuration entries. Any entries you make in siteconfig.xml will override the Spitfire default values in Page.Config.


KBA-01034; Last updated: November 10, 2016 at 11:45 am;
Keywords:  actual expense filter