Summary view custom criteria section reset
I use Pega 6.1 sp2 and I have a summary view with a custom section for criteria. It's need to add a button to this section to reset filters. I added pxButton and set ONCLICK behavior activity. But when I'm clicking on the button an error message appears: "Class Name is not specified ". I've got a trace and it shows a fail on the 3rd step of the @baseclass ReloadSection activity.
Does anybody know a reason of this error or can suggest another solution of the task?
-
Like (0)
-
Accepted Solution
I've received a reply to SR opened for this issue. There isn't a way to reset a summary view custom criteria section
I don't know of any specific reason for this error. Step 3 of ReloadSection is trying to run a pre-activity, so I assume you have one. Can you provide some screen prints of your configuration for the click action of your button?
Presumably there is no error if you remove the activity from the refresh section action.
Try eliminating steps one at a time from the ResetUserCriteria activity, and see if the error is tied to a specific step.
What is the applies-to class of the activity?
When I removed the activite the error disappears, that's right. This activity contains only one page-new step. I commented out it but the error still exists. The applies-to class of the activity is Sberbank-FW-Legal-Data-ReorganizationHistory-UserReport.

I see that Ronald Lee has suggested to submit an SR, in case the suggestion don't work for the scenario. Were you able to open a SR as per Ronald Lee request? If you were, please let us know the SR so that we can track it for you within this thread.
Thanks,
Vid

Hi Nikolay,
Summary View/List Views are implemented using Custom HTML, and as There is no Harness for the same, it only loads the files require to run the List Views, so when we configure the button on it, it will try to find the custom section, but as there entire section will be dumped in side the context of Rule-obj-ListView to reload Section activity wont be able to find the custom section.
So filter criteria section can only be used to specify the filters for the list/summary view.

Hi Sangeeta,
So, is there a way to reset filters on the filter criteria section? I just want to enter some value in a field on this section, click on a button and see this field cleared.