Questions tagged [metadata.operations]
The metadata.operations tag has no usage guidance.
4
questions
1
vote
2answers
4k views
How to delete Custom MetaData Records Via Apex?
I am using MetaDataService to create and update Custom Metadata.
I want to also delete records created inside Custom Metadata Type.
I know there is method available to delete metadata like I am ...
2
votes
0answers
58 views
Possible bug in Salesforce using Metadata.Operations.retrieve for packaged sObjects? [closed]
So, currently having an issue using Metadata.Operations.retrieve(Metadata.MetadataType.Layout, _layouts_); in a managed codebase. The object in question is managed and the layouts portion is trying ...
4
votes
1answer
1k views
Impossible to test Metadata.Operations.enqueueDeployment method
We are following Deploy Metadata example from the documentation
// Setup custom metadata to be created in the subscriber org.
Metadata.CustomMetadata customMetadata = new Metadata.CustomMetadata();
...
3
votes
1answer
2k views
How to Make Metadata.Operation deploy work?
Did anyone tried to new Salesforce Summer 17 feature to deploy metadata records and layouts by Apex Code?
I tried to use this feature to update custom metadata record and it fails for me.
I just ...