Questions tagged [list-metadata]
The list-metadata tag has no usage guidance.
13
questions
0
votes
0
answers
41
views
Metadata Types whose components can be a lot
As part of our Metadata related product, we are trying to re-design our apis to handle metadata list efficiently, especially considering some large enterprise customers.
As part of that exercise, we ...
0
votes
1
answer
29
views
Not able to list files under folder for dashboard through metadata api
I am trying to list all the files which are present inside a folder for the dashboard metadata type.
for example:- I want to see what are the files which are inside the Service_Dashboards folder of ...
0
votes
1
answer
77
views
What's the best way to pull all the Metadata types from the Salesforce?
I have used describeMetadata() call to fetch the xml names but it's showing only few out of what we have in the Metadata coverage url. I was wondering if there is a way to pull all the Metadata types ...
1
vote
0
answers
117
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 ...
5
votes
3
answers
3k
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
1
answer
234
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
1
answer
2k
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
1
answer
867
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
1
answer
1k
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
0
answers
39
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
0
answers
271
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....
7
votes
1
answer
9k
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
1
answer
799
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 ...