Last activity: 21 Jan 2016 7:33 EST
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?
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 don't see anything that would explain this behavior, unless the activity is in a ruleset or version that isn't accessible. If that is not the case, I would submit an SR.
Updated: 21 Dec 2015 4:14 EST
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.
I've opened an SR SR-A15077.
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.
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.
I've received a reply to SR opened for this issue. There isn't a way to reset a summary view custom criteria section