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
ran67ran67 

How to add package to apex controller and component and page ?

Hai ,

 

      I have a small problem with package creating and using it in controller and page and component .

 

      i have class and page and a component which is working fine but after creating a package i got namespace prefix for creating app  from that time i am unable to run my page. 

 

     is there any thing to add in code i have sreached a lot but not got correct way to slove it , so please help me in this it is bit urgent  

Vinita_SFDCVinita_SFDC

Hello,

 

Please make sure you are using namespace prefix to access custom objects, custom fields and methods.

 

Refer: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_namespace_prefix.htm

 

ran67ran67
hai thanks for your replay let me try by applying this
ran67ran67
Hai vinita

i am not using any custom objects or custom fields i am only using standard object attachment for uplaoding files to a record
ran67ran67
so please can u tell me in details explanation is there any thing els to add in class or page or component