Miscellaneous PCF changes

The Configuration Upgrade Tool performs the following modifications to PCF files:

  • Removes the reflectOnBottom attribute. This attribute was used to display the a virtual toolbar at the bottom of a page. The attribute was removed because the user interface needs to match the server configuration. No alternative configuration is available.
    Note: This change was reversed in a later release. The reflectOnBottom attribute was restored.
  • Converts all postOnChange attributes on a value widget to a child PostOnChange node. For example, the upgrade converts:
    <Input id="xxx" postOnChange="true" onChange="someMethod()" disablePostOnEnter="doEvaluation()"/>

    to:

    <Input id="xxx">
      <PostOnChange onChange="someMethod()" disablePostOnEnter="doEvaluation()"/>
    </Input>
  • Removes the showNoneSelected attribute from all DetailView inputs that are bound to a value. Setting showNoneSelected=false would suppress the None Selected option from drop-down lists and would default to the first option. This type of configuration was incorrect because the selection of the option was generally programmatically incorrect and was often used as a shortcut instead of specifying an explicit default. Verify all removals to ensure there is not any dependent logic. If there is, specify an explicit default in the page configuration.
  • Removes the showNoneSelected attribute from all <ValueCellType> nodes. See the above note about removal of the showNoneSelected attribute from all DetailView inputs that are bound to a value.
  • Removes the numDataEntriesPerRow and transposed attributes from RowIteratorNode elements. Transposed lists are a relatively rare configuration. If you had one in your configuration, use a traditional list view.
  • Removes <DetailViewPanel> elements from <ButtonCell>, <ButtonInput>, and <ToolbarButtonType> elements. Detail views can no longer be embedded inside buttons.
  • Converts valueWidth attributes on cell widgets to value attributes. As of 8.0, PolicyCenter sizes cells by heuristics rather than content, so valueWidth is no longer necessary.
  • If all cells in a row have the useHeaderStyle="true" property, the upgrade moves the property to the row level. A list can only have one header. See below.
  • Updates rows to rename the useHeaderStyle property to renderAsSmartHeader. The property is renamed because the header functionality is more than styling. When a row is rendered as a smart header, all the row header interactive features are made available.
  • Renames <ContentCell> elements to <Link>.
  • Converts <Cell> elements within <ColumnFooter> to <TextCell> elements.
  • Removes any element that is not a <TextCell> element from <ColumnFooter> elements.
  • Removes <ColumnHeader> elements from <CellType> elements.
  • Remove <DetailViewPanel> from <ContentCell>. The upgrade performs the following steps. After the automatic upgrade, review your <ContentCell> configurations to manually verify the configuration and make any changes. Content cells cannot have editable detail views embedded in them. Review all removals to ensure functionality. If editable content is needed within a row of data, the recommended configuration is a list detail panel.
    • For any <ContentCell> that contains a <DetailViewPanel>, the upgrade renames the <ContentCell> to <FormatCell>.
    • For other types of <ContentCell>, the upgrade renames the element to <LinkCell>.
    • Removes elements that are not allowed in the <FormatCell>, such as <DetailViewPanel> and <InputColumn>. This strips out unnecessary container elements. No content will be removed.
    • Renames inputs in the <DetailViewPanel> to <TextInput> unless they are <ContentInput>, <TextInput>, or <NoteBodyInput>.
    • Removes attributes that were allowed on specific input elements but not on <TextInput>.
  • Removes the useHeaderStyle attribute from all cells that can be bound to a value. The header style in 8.0 is a lot more extensive. Smart header capabilities have been added, in addition to the styling. Header capabilities are at the row level as opposed to the cell. If you are interested in highlighting content, there are a few other ways to achieve that. Review the PCF reference for a full list of attributes for that particular cell variant.
  • Removes the compress attribute from <DetailViewPanel>.
  • Removes the compress attribute from <ListViewPanel>.
  • Removes the compressIfSingleChild attribute from <InputGroup>.
  • Comments out <ProgressCell> elements. This was an uncommon widget that Guidewire has removed. If you were using it on some page and would like to continue to do so, create a list detail panel, and use the ProgressInput in the detail section instead.
  • Removes the refreshOnProgressComplete attribute from <ListViewPanel> and <Row> elements. This is part of the removal of the <ProgressCell> widget.
  • Removes the following attributes from <ChartPanel>:
    • bgColor
    • border
    • displayPlotOutline
    • orientation
    • sameSeriesColor
    • threeD
    • tooltip

    Guidewire cleaned up the <ChartPanel> schema as a part of simplification and a move to a more interactive experience.

  • Removes the following attributes from <DomainAxis>:
    • autoRange
    • autoRangeIncludesZero
    • tickUnit
    • upperMargin
  • Removes the <Interval> element.
  • Removes the following attributes from <RangeAxis>:
    • autoRange
    • autoRangeIncludesZero
    • tickUnit
    • upperMargin
  • Removes the percentComplete attribute from <DataSeries>.
  • Removes the following from <DualAxisDataSeries>:
    • autoRangeIncludesZero
    • lowerMargin
    • tickUnit
    • tooltip
    • upperMargin
  • Removes the following chart types from the <ChartType> enumerator:
    • Waterfall
    • Gantt
  • Renames the following chart types in the <ChartType> enumerator:
    • Dial Gauge
    • Polar Radar
    • Ring Pie
    • StackedArea Area (There is no longer a distinction between a stacked and a non-stacked area.)
    • XYStep XYLine
    • XYStepArea XYArea