Apex Metadata API

Use when Apex code must create or update metadata programmatically at runtime — custom fields, objects, picklist values, labels, or other supported types — using the Metadata namespace (Metadata.Operations, Metadata.DeployCallback). Triggers: 'Metadata.Operations', 'Metadata.CustomField from Apex', 'deploy metadata from Apex', 'enqueueDeployment', 'create a custom field programmatically', 'post-install script metadata setup'. NOT for Metadata API REST/SOAP (use metadata-api-and-package-xml) and NOT for reading Custom Metadata Type configuration rows in Apex (use custom-metadata-in-apex).

BanibrataChatterjee Updated 4 repo stars

File contents

BanibrataChatterjee/AwesomeSalesforceSkills commit 7469f73cc2 Runs: banibratachatterjee/metadata-api-and-package-xmlbanibratachatterjee/custom-metadata-in-apex

Frequently asked questions

npx get-skill add banibratachatterjee/apex-metadata-api