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

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  




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




hai thanks for your replay let me try by applying this
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
so please can u tell me in details explanation is there any thing els to add in class or page or component