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
RaizersRaizers 

installed managed class not visible

I would like to create a new VF page which accesses a class in a managed package.  I have made the class "global" (along with all the methods inside it.... an irreversible testing mistake).

 

When trying to save the new VF page, I receive an "Error:  The installed managed class xxx.bundle is not visible" .

 

My VF page is:

<apex:page standardController="Opportunity" extensions="xxx.Bundle" sidebar="false" showHeader="false"> <apex:pageBlock title="Bundle"> </apex:pageBlock> </apex:page>

Class code starts with:

 

global class Bundle { ......

 

Any ideas on how to fix this?
 

Best Answer chosen by Admin (Salesforce Developers) 
A_SmithA_Smith

Check the version settings on your VF page and make sure it is calling a version of the package where this class is available. 

All Answers

A_SmithA_Smith

Check the version settings on your VF page and make sure it is calling a version of the package where this class is available. 

This was selected as the best answer
RaizersRaizers
That was it.  Thank you.
Imran MohammedImran Mohammed

Hi Andrew,

 

I am facing the same problem.

I am getting Managed Class could is not visible message, when i attempt to save my new VF page.

 

Can you please help what could be the issue?

Imran MohammedImran Mohammed

My class is defined as 

public with sharing class ABC

{

}

 

I am trying to reference in my new VF page as

<apex:page controller="Namespace.ABC" tabStyle="XXX">

//my stuff here

</apex:page>

 

I even checked that the versions settings include the Package which this Managed class belongs to.

Any help on this will be highly appreciated.