Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [list-metadata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Unable to deploy List of Metadata fields to Layout by apex

When i deploy Layout with 1 field everything works fine whereas when i deploy fields as list , not even single field is showing in the Layout. Below is the code i am using for field creation,then ...
2
votes
2answers
175 views

How to list all the metadata that is changed after a given date

how to get all the metadata changes after a given date. Tried using metadata api's listMetadata(), this gives all the data and here we can't filter using dates. This will run into limits for reports ...
2
votes
1answer
180 views

Fetch PageLayout from Java using Metadata API

I am trying to fetch an existing Page Layout using the Java client for the Metadata API, in order to update it. However, I don't think I can properly fetch it, as it is NULL. Here is my code: ...
1
vote
1answer
1k views

Migrate Custom metadata type

I need to migrate Custom Metadata type using a package.xml. Can someone please let me know what should I put to get the metadata along with data successfully get migrated? Suppose Custom Metadata ...
0
votes
1answer
351 views

How to list all metadata of a sobject through salesforce tooling api by SOAP call?

I am trying to fetch metadata related to an sobject by SOAP call through Tooling API. For example, I am trying to fetch all the Apex Pages available in my org but unable to find any relevant API in ...
7
votes
1answer
447 views

Create a CustomSite using Metadata API

The Metadata API allows us to programatically list all the current public facing sites in an org. There is a class called CustomSite covering this element. Has anybody ever successfully created a new ...
1
vote
0answers
34 views

Different metedata element order for same component

Is salesforce still prone to spitting out metedata for two identical components (different orgs) in a different order?
2
votes
0answers
251 views

Discrepancy between fullName/fileName is listMetadata call when working with a managed package

I have modified some layouts in a managed package, and would like to retrieve the Metadata for those layouts via the Metadata API. I find that I can retrieve these layouts with the following package....
6
votes
1answer
7k views

Adding values to a picklist using apex

I need to dynamically add and remove values from a custom picklist using APEX code. I want this to be reflected in the picklist meta data e.g. not only appear in record details. How can I do that ...
2
votes
1answer
516 views

Use List Metadata With Standard Fields?

Question Is there any way to retrieve the "list" details, which include the field id for standard fields? Background I'm building a report on picklist values by record type and am including links ...