(Classic UI) Is there a recommended (or obvious) way to exclude certain Entity classes from Entity Inspector?

As the title says - is there a recommended, or immediately obvious/easy way to exclude certain entity classes from the Entity Inspector in the Classic UI?

I have a need to block display/etc of an entity class or two in the Entity Inspector. They’re in a secondary store, and while all users need read access to them I cannot have them displayed in the Inspector.

Solved this myself; leaving here for anyone interested in the future.

I overrode the EntityInspector screen, and in the overiden controller, I overode the getEntitesLookupFieldOptions() method to do the filtering I required. Simple. (In this case, just filtered out by metaClass.getStore().getName().equals(...).)

1 Like