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
- You have an auto generated section. It has tree grid layout. The columns have OOTB controls. (pxTextInput etc.) .
- Uncheck the "Auto generated HTML" check box in HTML tab. Click Save.
- 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:
- Place the control you want to show in the column cell in a separate section.
- Use a visible when condition on that section.
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.