16

Namespace in Apex

In JAVA, we have got packages. Packages are nothing but folders in which we keep the resource files, class files, and executed files. So, in Salesforce we’ve got Namespace.

How to create a Namespace?

  1. Sign up for a new Developer Edition org.
  2. In Setup, enter Package Manager in the Quick Find box, and select Package Manager.
  3. In Developer Settings, click Edit, and under Change Developer Settings, click Continue.
  4. In Namespace Prefix enter a namespace, and select Check Availability.
  5. For Package to be managed, select None, then click Review My Selections.
  6. Review your selections, and then click Save.
Salesforce Developer Training CTA

Need more support?

Get a head start with our FREE study notes!

Learn more and get all the answers you need at zero cost. Improve your skills using our detailed notes prepared by industry experts to help you excel.

ServiceNow Stripe