Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Calendar icon is missing after upgrade

SA-8992

Summary



When you open a report in PRPC 5.4 and run it, you can view a Calendar icon for Date/Time criteria. In Pega 7.1.6, the calendar icon is missing.

PRPC 5.4.x



Pega 7.1.6



Error Messages



Not Applicable

Steps to Reproduce



1. Configure a ListView
2. Configure criteria to include a DateTime control
3. Configure criteria Prompt 
4. Run the ListView and check the criteria


Root Cause



The Wizard_Parameters HTML rule is responsible for bringing up the criteria prompt select. This is changed from PRPC 5.5 SP1 onwards

The CSS class reference for “Date” and “DateTime” has also been changed. The iconCalendar class has been removed and replaced with iconSearch class. 

In PRPC 5.4

<TD id="tdConditionValue">

{WHEN {$SAVE(DataType)} == "DateTime"}
<span class="iconCalendar" title="Calendar"
onClick="launchCalendar('{$THIS-NAME}','CalendarDateTime');"></span>
{ELSEWHEN {$SAVE(DataType)} == "Date"}
<span class="iconCalendar" title="Calendar"
onClick="launchCalendar('{$THIS-NAME}','CalendarDate');"></span>
{ELSEWHEN {$SAVE(DataType)} == "Text" || {$SAVE(DataType)} == "Identifier" ||
{$SAVE(DataType)} == "Integer" || {$SAVE(DataType)} == "Double" ||
{$SAVE(DataType)} == "Decimal"}
<!--start Pick a value NOTE: when prompt criteria = value only-->
<SPAN SPANTYPE="BUTTON" CLASS="iconsearch" TITLE="Pick a value"
OnClick="launchpickavalue('{$THIS-NAME}','{$SAVE(ConditionFieldValue)}', '{$SAVE(fieldClassName)}','{$SAVE(AdditionalCriteria)}')" id="span_PickAValue">


PRPC 5.5 SP1

<TD id="tdConditionValue">
{WHEN .pyShowValidValues == "true" || .pyShowAvailableValues == "true" || .pyShowCompatibleColumns == "true"}
{WHEN {$SAVE(DataType)} == "DateTime" || {$SAVE(DataType)} == "Date Time"}
<SPAN SPANTYPE="BUTTON" tabIndex=0 CLASS="iconsearch" TITLE="Pick a value"
OnClick="launchpickavalue('{$THIS-NAME}','{$SAVE(ConditionFieldValue)}', '{$SAVE(fieldClassName)}','{$SAVE(AdditionalCriteria)}','CalendarDateTime')" id="span_PickAValue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

</SPAN>
{ELSEWHEN {$SAVE(DataType)} == "Date"}
<SPAN SPANTYPE="BUTTON" tabIndex=0 CLASS="iconsearch" TITLE="Pick a value"
OnClick="launchpickavalue('{$THIS-NAME}','{$SAVE(ConditionFieldValue)}', '{$SAVE(fieldClassName)}','{$SAVE(AdditionalCriteria)}','CalendarDate')" id="span_PickAValue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


Pega 7.1.6

<TD id="tdConditionValue">
{WHEN .pyShowValidValues == "true" || .pyShowAvailableValues == "true" || .pyShowCompatibleColumns == "true"}
{WHEN {$SAVE(DataType)} == "DateTime" || {$SAVE(DataType)} == "Date Time"}
<SPAN SPANTYPE="BUTTON" tabIndex=0 CLASS="iconSearch" TITLE="{$SAVE(tdPick)}"
OnClick="launchpickavalue('{$THIS-NAME}','{$SAVE(ConditionFieldValue)}', '{$SAVE(fieldClassName)}','{$SAVE(AdditionalCriteria)}','CalendarDateTime','{$SAVE(strFieldValueKey)}')" id="span_PickAValue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

</SPAN>
{ELSEWHEN {$SAVE(DataType)} == "Date"}
<SPAN SPANTYPE="BUTTON" tabIndex=0 CLASS="iconSearch" TITLE="{$SAVE(tdPick)}"


Resolution



The design change has been incorporated from PRPC 5.5 SP1.
Suggest Edit

Published May 6, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us