Activity Forums Salesforce® Discussions What is a namespace in Salesforce?

  • MOHIT

    Member
    May 27, 2020 at 3:00 pm

    In a packaging context, a namespace prefix is a one to 15-character alphanumeric identifier that distinguishes your package and its contents from packages of other developers on AppExchange. Namespace prefixes are case-insensitive. For example, ABC and abc are not recognized as unique. Your namespace prefix must be globally unique across all Salesforce organizations. It keeps your managed package under your control exclusively.

  • Shweta

    Member
    May 28, 2020 at 11:06 am

    Namespace prefixes are used in managed packages to differentiate custom object and field names from those in use by other organizations.
    Example: Let's suppose two companies are making an app and both companies create a custom field on the contact object called Name. Each company has its own unique namespace, which prefixes the names of all of its components. Company A's name field might actually be called CompanyA__Name__c, which makes it different from company B's name field.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos