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
dorozcodorozco 

packing information

hi
we have an issue we develop our app based on standar object COntract (add custom fields,triggers,class,vf page, validation rules etc) this is for our customers that has salesforce crm.
also separate we develop the same funcionality but all the objects are customs,  our main custom object is contract_txm  and (add other trigers,class,vf page,custom fields etc)  now we want to know if is posible to create a package with both versions and when a customer is installing the package only install one versions depend if the has salesforce crm(standar object contract ) or has force.com without standar object, and the installer ignore the rest of components and only install the version with pure custom objects  and ignore customs fields etc for standar objects
 
 
but says "When you typically reference a feature or object in your package not supported by GE or PE, the installer will prevent installation of the package. This can include adding a custom field on a standard object not supported (i.e. Campaigns and/or Assets), or making an Apex reference to features like multi-currency or territory management. However, if you only use Dynamic Apex to reference these unsupported features and objects, and do not include components in the package (i.e. workflow, record types, custom fields on unsupported objects, etc.), you can install and run your managed package in GE and PE. "
 
we tried describe apex but this isn't our requirement because in our package we add custom components that reference to standar object so we want to know if is posible to create a package of this way?
 
o we need pack separate and the customers install the version  compatible with their org?