Skip to main content

Timeline for Running Apex script on the fly

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Jun 24, 2013 at 20:40 comment added Daniel Hoechst Apex cannot be interpreted at run time, so it isn't possible to store code in a database field and run it. As this post shows, Apex code is first compiled to Java bytecode.
Jun 24, 2013 at 20:11 comment added Robert Harper I'm not trying to manually run the code. I was hoping I could store the code in a field then load it dynamically and execute at run time. This may be easier to do with JavaScript but I'd hate to bloat the page with script and have something that would run server side.
Jun 22, 2013 at 10:38 comment added Stephen Willcock I stumbled upon some cool features of Anonymous Blocks - declaring methods, classes and exceptions within the block - wrote it up here bit.ly/12U17Vq
Jun 21, 2013 at 19:37 history answered Daniel Hoechst CC BY-SA 3.0