You need to sign in to do that
Don't have an account?

Can't use MetadataAPI to modify objects installed via package?
I was just playing with the latest metadata api with a new customer of
mine. We have a whole bunch of custom objects and code in a private
package. We installed it the other day, and then I tried to add a field
to an object with the metadata api. I got this error:
Save error: Cannot add new entity into an installed package (attempted to add type CustomField named ONEN_Household__c.Junk__c)
Which sounds like once I install code via a private appexchange, it won't be modifiable. Is that behavior expected with the metadata api?
For me it would mean that I have to ditch the idea of packaging and go to a full metadata API deployment model where we don't package stuff up, but instead drag text files around. Is that right?
Thanks,
Steve
Save error: Cannot add new entity into an installed package (attempted to add type CustomField named ONEN_Household__c.Junk__c)
Which sounds like once I install code via a private appexchange, it won't be modifiable. Is that behavior expected with the metadata api?
For me it would mean that I have to ditch the idea of packaging and go to a full metadata API deployment model where we don't package stuff up, but instead drag text files around. Is that right?
Thanks,
Steve
I'd love to know one way or the other on this to plan for post-June deployment of code.
Thanks,
Steve
The package I am trying to add to is not a managed package. It was installed from another instance of mine, and is unmanaged, and the checkbox on the package verifies that.
I tested with another installed package on this developer org and got the same result.
So, it appears I can not add a new field to an object into an unmanaged package installed from another org.
Steve