You need to sign in to do that
Don't have an account?
Laurent Poulain 14
Create custom object using Apex Metadata API
Hello,
Is it possible to create a custom object using Apex Metadata API? I wasn't able to find any code example about this quite recent API.
Note that I am creating it right now by making a callout to the Metadata API, but am wondering if there is a better way.
Thanks,
Laurent
Is it possible to create a custom object using Apex Metadata API? I wasn't able to find any code example about this quite recent API.
Note that I am creating it right now by making a callout to the Metadata API, but am wondering if there is a better way.
Thanks,
Laurent
Hey Laurent,
Yes it is possible to create the custom object using Metadata API.
Refer this link ;- https://developer.salesforce.com/forums/?id=906F0000000AhDtIAK
If it helps, kindly mark it as the best answer.
Regards,
Priya Ranjan
This is using the callout to the Metadata API, which I am already using. I'm looking for a way to use the new Apex Metadata API.
Regards,
Laurent