9

What are Dynamic Apex Classes?

They are in a Winter 23 preview org in:

Setup > Apex Classes

In a section called Dynamic Apex Classes and they have a description of:

Dynamic Apex extends your programming reach by interacting with Lightning Platform components.

I cannot find anything in the Winter 23 release documentation:

Apart from maybe:

But the Dynamic Apex Classes description does not seem to align with External Service

Does anyone have anymore ideas?

2 Answers 2

15

See Manage Apex Classes - Dynamic Apex Classes

Dynamic Apex Classes are dynamically generated to provide greater access into existing platform features. For example, if you register an API specification with External Services, all of the dynamically generated classes are listed under the Dynamic Apex Classes heading on the Apex Classes page. For the original source, click Open. Dynamic Apex Classes don't contribute toward the “Maximum amount of code used by all Apex code in an org” limit and are exempt from code coverage requirements.

Right now that section corresponds directly to the External Services - View Apex Names in Apex Class Viewer, but over time other features are intended for that area. Hence the more generic name of "Dynamic Apex Classes".

5

They are Apex Classes generated by External Service

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .