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 set the namespace prefix


         I am trying to test and run the apex script through java client.Here i am unable to set the namespace prefix
to apex script with java code.can any body suggest me?

To register a namespace, in your DE:
  1. Click Setup | Create | Packages.
  2. Click Edit. This button does not appear if you have already configured your developer settings.
  3. Review the selections necessary to configure developer settings, and click Continue.
  4. Enter the namespace prefix you want to register.
  5. Click Check Availability to determine if it is already in use.
  6. Repeat if the namespace prefix you entered is not available.
  7. Click Review My Selections.
  8. Click Save.

If your namespace prefix is abc and your managed package contains a custom object with the API name, Expense__c, use the API name abc__Expense__c to access this object using the API. The namespace prefix is displayed on all component detail pages.