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

Can not customize section rules

SA-8558

Summary



You make some HTML changes in the section. The moment you uncheck the "Auto generated HTML" check box in HTML tab and click on Save, the screen displays various errors.

Error Messages



General Error: Test compilation failed: ----------
1. ERROR in Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT.java (at line 189)
gridOpenActionIncl_1();
^^^^^^^^^^^^^^^^^^^^
The method gridOpenActionIncl_1() is undefined for the type Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT
----------
2. ERROR in Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT.java (at line 374)
pxTextInput_1(".AexpID",0,"","","Text");
^^^^^^^^^^^^^
The method pxTextInput_1(String, int, String, String, String) is undefined for the type Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT
----------
3. ERROR in Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT.java (at line 378)
pxTextInput_1(".AexpID",0,"","","Text");
^^^^^^^^^^^^^
The method pxTextInput_1(String, int, String, String, String) is undefined for the type Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT
----------
4. ERROR in Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT.java (at line 386)
pxTextInput_2(".AeXPStatus",0,"","","Text");
^^^^^^^^^^^^^
The method pxTextInput_2(String, int, String, String, String) is undefined for the type Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT
----------
5. ERROR in Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT.java (at line 390)
pxTextInput_2(".AeXPStatus",0,"","","Text");
^^^^^^^^^^^^^
The method pxTextInput_2(String, int, String, String, String) is undefined for the type Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT
----------
6. ERROR in Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT.java (at line 400)
pxTextInput_1(".RequestorPriority",0,"","","Text");
^^^^^^^^^^^^^
The method pxTextInput_1(String, int, String, String, String) is undefined for the type Rule_HTML_Section_Data_Portal_pyShowMyCases_Stream_20150327T125100_007_GMT


Steps to Reproduce

  1. You have an auto generated section. It has tree grid layout. The columns have OOTB controls. (pxTextInput etc.) .
  2. Uncheck the "Auto generated HTML" check box in HTML tab. Click Save.
  3. Observe that various errors are displayed on screen and the section is not saved.

ROOT CAUSE &

Resolution



The root cause of this problem is a defect in customer application code/rules.
You performed HTML changes to the OOTB section.

The explanation for this behavior is as follows:

Partial customization of an Auto-generated Section cannot be done as some RUF definitions will be missed.

As your requirement was of conditional hiding of columns, it can be achieved by the following steps:
  1. Place the control you want to show in the column cell in a separate section.
  2. Use a visible when condition on that section.
However, it has a repercussion of showing an empty column when condition is false.

The reported behaviour is fixed in PRPC 7.1 but cannot be backported in PRPC 6.x.
 

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

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