function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Koen (BvD)Koen (BvD) 

Allow package installations to use controller extensions

Hi,

I have been using a controller extension in my package from the start without any issues. However now I wanted to allow in installed instances to use the extension so that it can also be used on other objects or custom objects. The logical first step is to add the global marker to the class so that it becomes visible where installed. However I still can't use it
<apex:page standardController="Case" extensions="BvDLinkController"  >
The logic dictates that you need to add the package prefix name, but when I do that I get the error that the name should not contain underscores
<apex:page standardController="Case" extensions="bvdep__BvDLinkController"  >

How can I reference a controller extension from an installed package?

Koen.