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?
Best Answer chosen by Admin (Salesforce Developers) 
aalbertaalbert

Contracts are part of Professional Edition feature set. They are not supported in Group Edition. But if you want to support Professional Edition and above, you should be able to package it as one package and support both. 

 

Best way to test and verify this:

1. Create a managed - BETA package with both the contract customizations and the custom object functionality. 

2. Upload the managed - Beta package.

3. Provision a Professional Edition org from the partner portal (www.salesforce.com/partnerportal) and install the managed-beta. See if it installs ok and the app functions. 

4. Provision a Enterprise Edition org from the partner portal (www.salesforce.com/partnerportal) and install the managed-beta. See if it installs ok and the app functions. 

 

If you want to support Group Edition which does not support contract, yes, you will need to create 2 managed packages. You could create a base package and then create a second package extension with the custom object pieces. 

All Answers

aalbertaalbert

Contracts are part of Professional Edition feature set. They are not supported in Group Edition. But if you want to support Professional Edition and above, you should be able to package it as one package and support both. 

 

Best way to test and verify this:

1. Create a managed - BETA package with both the contract customizations and the custom object functionality. 

2. Upload the managed - Beta package.

3. Provision a Professional Edition org from the partner portal (www.salesforce.com/partnerportal) and install the managed-beta. See if it installs ok and the app functions. 

4. Provision a Enterprise Edition org from the partner portal (www.salesforce.com/partnerportal) and install the managed-beta. See if it installs ok and the app functions. 

 

If you want to support Group Edition which does not support contract, yes, you will need to create 2 managed packages. You could create a base package and then create a second package extension with the custom object pieces. 

This was selected as the best answer
dorozcodorozco

thaks for your help , it's the response that I need 

 

dorozcodorozco

hi

I have another doubth issue, i don't know what is the package that i need to submit for security review,

I have 1 base package with some components and fields, also have extension packages

one package has ccomponents for the standar object contract, and another package has custom componets for the users that hasn't contracts,

i don't know what is the proccess or what is the package that i need to send for security review one or all of this?