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
marklinmarklin 

Programmably add custom objects and custom fields to standard objects

I am working on an appexchange project that requires the addition of custom objects and of custom fields. 

1. Can I use sforce query lanaguage to add custom objects and custom fields. If yes, is there any example?
2.If not, is there any work around?

Mark
Gareth DaviesGareth Davies

No the API does not support this.

If you share the application using the AppExchange mechanism then the custom objects will be added to the downloaded instance. This will not modify standard objects.

If you have modified standard objects you can detail this in the customisation guide - so if you have added a custom field to Accounts, for instance, your customer will need to make the modification by hand.

Gareth.

Message Edited by Gareth Davies on 08-22-2006 11:26 AM

marklinmarklin
Thank Gareth!
Mark