This piece of code returns FALSE in a Group edition organization owned by a customer, and I'm unable to figure out why. When tried in a brand new GE org provisioned via EnvHub, it works properly.
AFAIK GE doesn't support custom profiles, org wide sharing settings, etc.
What could have been done on this organization for this check to fail?
(Code is delivered via AppExchange package).
return !(Schema.sObjectType.Contact.isCreateable() &&
Schema.sObjectType.Contact.isUpdateable() &&
Schema.sObjectType.Contact.Fields.FirstName.isUpdateable() &&
Schema.sObjectType.Contact.Fields.LastName.isUpdateable() &&
Schema.sObjectType.Contact.Fields.Title.isUpdateable() &&
Schema.sObjectType.Contact.Fields.Phone.isUpdateable() &&
Schema.sObjectType.Contact.Fields.Email.isUpdateable());
What practices can be used when troubleshooting managed package issues in a GE?
/AppName
. See How do I get an API token for my app?. With this you may be able to make executeanonymous() API calls into a Group Edition org. See also Enabling API access for GE/PE Edition: How to Append Partner Token to clientId for SOAP Call Salesforce? – Daniel Ballinger Aug 14 '15 at 20:48