In older Pega version (6.x) I believe, if you open a section rule via Obj-Open, you would be able to review the generated pySourceStream stream where you can see the actual JSP-generated section code. In later versions, whether rule is checked in or not, the pySourceStream is always pzSectionBody_1(); except where rule is not auto-generated. I thought this would be generated on first use, however even packaged rules on higher environments show the same.
Is it possible to generate the actual jsp stream for a section rule?
We have a large number of sections, and we have some customized controls which may be mis-configured. The idea was to review the generated jsp to identify whether the control is correctly configured or not. Doing a content search will return us all possible results, even the ones which were already retrofitted, so this is not very feasible. It's possible to search through rule XML, which is also an option.