Posted: 12 May 2017 7:07 EDT Last activity: 16 May 2017 9:19 EDT
Format Validation Error when width of DateTime column is modified on Report Definition Output
I am working on Pega 6.2 and I am facing an issue where when I generate a report and on the Output of the Report if I try to modify the width of any DateTime Property column I am getting a Format error saying
Please correct the errors indicated and try again.
pyPropertyName:** This is an invalid format. Click the Down arrow key and select a valid format
When I tried to analyze it, I found a final rule- "pzValidateFormatField"
Which checks for the Data Type of the property and the Data Type of the HTML property now if both of them are equal to "DateTime" then it will add a message giving the message which is shown above.
Another thing that I noticed is that, its not just with DateTime properties, but its with all the columns for which I have something in the Format Values(Say Integer/Date).
I have attached a screenshot of my Report Definition, so for the columns for which I have anything in the "Format values" for them alone I am facing that format issue.
So my question is if I do not get to modify the width of a DateTime data type column then why I am being given the option?
Is this a bug?
Is there any solution to get rid of this?