Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [list-metadata]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
887 views

Can I programmatically get a list of a user's list views for a given object?

I am looking to provide a mechanism that uses the filter part of list views to filter a graphical representation of various (custom or standard) objects. I want the user to be able to select any ...
Phil W's user avatar
  • 36.7k
0 votes
0 answers
48 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 ...
metasync's user avatar
  • 1,772
0 votes
1 answer
188 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 ...
Satyam Kumar's user avatar
0 votes
1 answer
167 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 ...
sree_me's user avatar
1 vote
0 answers
146 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 ...
Divyansh Singh's user avatar
5 votes
3 answers
4k 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 ...
ab0369's user avatar
  • 365
2 votes
1 answer
285 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: ...
SFDC Dev 27's user avatar
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 ...
Testing_SFDC's user avatar
  • 2,940
0 votes
1 answer
1k 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 ...
Rohit manethiya's user avatar
7 votes
1 answer
2k 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 ...
Peter Tempfli's user avatar
1 vote
0 answers
49 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?
Michael Gill's user avatar
  • 2,202
2 votes
0 answers
280 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....
user2221343's user avatar
7 votes
1 answer
10k 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 ...
Dedo's user avatar
  • 5,007
2 votes
1 answer
878 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 ...
Ralph Callaway's user avatar