Miscellaneous PCF changes
The Configuration Upgrade Tool performs the following modifications to PCF files:
- Removes the
reflectOnBottomattribute. 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. ThereflectOnBottomattribute was restored. - Converts all
postOnChangeattributes on a value widget to a childPostOnChangenode. 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
showNoneSelectedattribute from allDetailViewinputs that are bound to a value. SettingshowNoneSelected=falsewould 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
showNoneSelectedattribute from all<ValueCellType>nodes. See the above note about removal of theshowNoneSelectedattribute from allDetailViewinputs that are bound to a value. - Removes the
numDataEntriesPerRowandtransposedattributes fromRowIteratorNodeelements. 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
valueWidthattributes on cell widgets tovalueattributes. As of 8.0, PolicyCenter sizes cells by heuristics rather than content, sovalueWidthis 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
useHeaderStyleproperty torenderAsSmartHeader. 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>.
- For any
- Removes the
useHeaderStyleattribute 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
compressattribute from<DetailViewPanel>. - Removes the
compressattribute from<ListViewPanel>. - Removes the
compressIfSingleChildattribute 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 theProgressInputin the detail section instead. - Removes the
refreshOnProgressCompleteattribute from<ListViewPanel> and <Row>elements. This is part of the removal of the<ProgressCell>widget. - Removes the following
attributes from
<ChartPanel>:bgColorborderdisplayPlotOutlineorientationsameSeriesColorthreeDtooltip
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>:autoRangeautoRangeIncludesZerotickUnitupperMargin
- Removes the
<Interval>element. - Removes the following
attributes from
<RangeAxis>:autoRangeautoRangeIncludesZerotickUnitupperMargin
- Removes the
percentCompleteattribute from<DataSeries>. - Removes the following
from
<DualAxisDataSeries>:autoRangeIncludesZerolowerMargintickUnittooltipupperMargin
- Removes the following chart types from the
<ChartType>enumerator:WaterfallGantt
- Renames the following chart types in the
<ChartType>enumerator:Dial→GaugePolar→RadarRing→PieStackedArea→Area(There is no longer a distinction between a stacked and a non-stacked area.)XYStep→XYLineXYStepArea→XYArea
