ONE DAY SALE

Free Salesforce Developers Tutorials >

Chapter 16 - Deployment Process >

Namespace in Apex

Namespace in Apex

What You’ll Learn


S2 Labs

What Is 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.

In a single namespace, we can have multiple classes with different names, functionalities, and resources. But in the same namespace, we cannot have two classes with the same name.

And every Salesforce Org. has got its own namespace.

How to create a Namespace?

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.

Check out this video to learn more about Namespace.

Salesforce Developer Training

Download Study Material

Get access to exclusive study material for Salesforce Certification and ace your exams!

Download Now

Our Salesforce Certification Courses

Hey there! Glad you made it through our Salesforce Developer Training for beginners . But wait! We've got some high-in-demand Salesforce courses for you to take your Salesforce skills to the next level, making you a desired professional in the Salesforce job market.

Post a Comment

Your email address will not be published. Required fields are marked *