1

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

3
  • Packages can only contain custom components, but they can contain custom components for standard objects (custom fields, picklist values, translations, etc.).
    – martin
    Mar 24, 2016 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, 2016 at 7:35
  • You can make workflow rules and triggers for standard objects.
    – martin
    Mar 25, 2016 at 10:19

1 Answer 1

2

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.)

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .