Is all the packages are custom objects objects are packages are created to work with standard object componenets as well ?

  • Packages can only contain custom components, but they can contain custom components for standard objects (custom fields, picklist values, translations, etc.).
    – martin
    Mar 24 '16 at 5:42
  • can we create a component to work with standard object (eg : case , oppurtunity) to trigger certain action during DML transaction. Instance, like a picklist inside case object, which triggers certain custom action based on the it's selection.
    – Ganesh
    Mar 25 '16 at 7:35
  • You can make workflow rules and triggers for standard objects.
    – martin
    Mar 25 '16 at 10:19

A package can include its own custom objects and also custom fields added to standard objects. Other components including Visualforce pages and triggers (so Apex code) in the package can then reference both the package's own custom objects and custom fields and the standard objects and fields (and other standard components).

A design decision for a (managed) package is which Salesforce license the package will work with; if the package only references e.g. Account and Contact then it can work under a Salesforce Platform license users but if it references e.g. Lead and Opportunity then it will require Salesforce license users. (See What is the difference between the "Salesforce" and "Salesforce Platform" licenses? for more detail.)

  • 2
    Here is some documentation on what exactly can be included in packages... and what cannot
    – zainogj
    Mar 24 '16 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.