Run Dynamic Code with Application Class Tester

I previously did a post that documented a utility I created that allows you to Compile and Run PeopleCode Online. This was a neat tool, but it required importing an App Designer project to be able to achieve the functionality of running dynamic PeopleCode in the PIA. It would be much better to be able to run dynamic PeopleCode in the PIA using delivered tooling. Well it turns out that you actually can do this by making use of the Application Class Tester and a delivered Application Class. Combining these two PeopleSoft deliverables allows for creating and running custom Application Class PeopleCode all from the PIA.

Check out the video demonstration on how to do this:


Being able to run dynamic PeopleCode from the PIA is a bit of a double-edged sword. I think it is quite obvious the security implications that could occur if this technique were abused by a malicious user. On the other hand, this technique could be used by a savvy developer to get out of a pinch. With all things considered, I think it would be best to not allow any access to the Application Class Tester unless it is absolutely needed.

Leave a comment

Your email address will not be published. Required fields are marked *

Loading...