Metadata contains all the customization you can do to your salesforce organisation. Use this tag for specific questions about the metadata itself. Use the metadata-api tag for questions on deploy/retrieve/update/delete of the metadata with salesforce organisations.

learn more… | top users | synonyms

1
vote
0answers
13 views

Given the name of a managed package, how can I find the namespace prefix? [on hold]

I know this can be done with a metadata retrieve and by examining the package.xml. Is there an easier way?
1
vote
1answer
22 views

Retrieve Salesforce Standard objects using Metadata Api

Use case : Need to retrieve standard objects like Account, Case etc using Metadata Api. When we retrieve the list of objects, system objects(ApexClass,ApexTrigger etc) also appears in the list. Need ...
3
votes
1answer
33 views

Salesforce Ant Migration Tool - HomePageComponent

I'm trying to figure out when using the Salesforce Metadata API (salesforce ant migration tool) how to pull back the custom links defined within the HomePageComponents. I've pulled down a blanket from ...
2
votes
0answers
15 views

How do I use the WorkBench to retrieve metadata?

I'm trying to figure out how to retrieve Field Audit Trail metadata using the WorkBench, and I'm stumped. I used the WorkBench to deploy a zip file named package-Dev.zip, which contained the following ...
1
vote
1answer
16 views

Can't Query Picklist Value not Defined in MetaData

I've got a picklist Activity1__c with 2 values that don't actually exist in the metadata: "Reverse Reference - Completed" and "Reverse Reference - Incomplete". In other words those picklist values ...
0
votes
1answer
22 views

Is there a way to do a Mass Update on the Record Type selection?

Is there a way to do a Mass Update of the Record Type Selection flag on the User (Set Up >My Personal Information > Record Type Selection > Set Opportunity = True for multiple users) In what object ...
0
votes
0answers
5 views

Metadata for assigned Home Page Layouts

I've just created a customised Home Page Layout and assigned it to a couple of profiles. I now want that assignment to be deployable to other sandboxes via metadata. Is this possible? Or does this ...
0
votes
0answers
14 views

Error: field integrity exception: unknown (required must not be specified)

Got the following error when tried to deploy metadata via ant migration tool Error: field integrity exception: unknown (required must not be specified) Field metadata configuration is the ...
3
votes
1answer
36 views

What to consider in converting picklist to look-up relationships?

A client currently has a number of Task Record Types that have picklists. The picklists are typically related to accounts of a given RecordType. In some cases, they're lists of child accounts that ...
3
votes
0answers
40 views

Difficulties retrieving Metadata from Sandbox

I'm doing work in an org's sandbox where we're not able to retrieve all of the org's metadata using either Eclipse or MavensMate. We've refreshed the sandbox and still have the same problem. I've ...
1
vote
1answer
70 views

How to restore a deleted class?

I tried with below option. ApexClass deletedClass = [SELECT id FROM ApexClass WHERE name = 'DeletedClass'][0]; My class is not found in ApexClass. Any other option?
-1
votes
4answers
44 views

Visualforce building

I would like to develop a vf page, which displays three columns from one object. Field Name | Help Text | Description of the fields. I would like to capture these above mentioned details in a ...
2
votes
0answers
39 views

Person Account RecordTypes metadata

I have Person Accounts enabled in my sandbox org. When I pull the (objects/Account.object) metadata in Eclipse I don't see any Person Account record types in Account.object. I can see record types ...
1
vote
0answers
27 views

IMPORTING DATA - Is there a sequence when it comes to importing?

It there an actual way to import records? I know the sequence is this for standard objects 1. Accounts 2. Campaigns 3. Contacts 4. Opportunities 5. Cases 6. Solutions 7. Pricebooks 8. ...
1
vote
1answer
59 views

Can no longer add/remove metadata components via Eclipse IDE

Recently Eclipse stopped picking up any new metadata components from the server. Via the Salesforce UI I am able to see new classes and VisualForce pages, but when I go to "add/remove metadata ...
1
vote
0answers
14 views

List Metadata Missing CaseComment?

Are there any restrictions on which standard objects are returned with a list metadata call for CustomObject or Workflow? Taking a stab at fixing a mavensmate bug which builds it's project manager ...
1
vote
1answer
65 views

Deploying .settings - Error: Not available for deploy for this organisation

I am trying to deploy some .settings files to an org. The org is a sandbox of where the original metadata was pulled from. This is the following error I am receiving, but it's not very descriptive. ...
0
votes
3answers
40 views

extract all metadata which was created or changed

i need to provide a package.xml file that explicitly lists all contents / metadata that got created or changed in dev sandbox. are there any tools that can simplify this task. does anything need to be ...
1
vote
0answers
31 views

Get translation of “Salutation” via Metadata API

Through the metadata API it is possible to query the translations of a Picklist field. In our scenario the relevant objects are Lead and Contact. We were able to get the translations except for the ...
0
votes
0answers
45 views

Accessing State/Province Picklist IntegrationValues Through Apex

In our org, we have activated State and Country Picklists, and are using different values for the integrationValue than for the isoCode. Right now, I'm looking for a way to access the Integration ...
0
votes
1answer
43 views

How to get salesforce standart objects using API

I'm trying to get all salesforce system objects such as Set, List, System and their methods. I used tooling api, namely SymbolTable class to get methods and variables of specified classes, but i can't ...
1
vote
1answer
19 views

All formula fields are not retrieved in object metadata

I have retrieved Object metadata in Eclips. However some Formula fields are not showing in object metadata. Is there any way to fetch all formula fields for all objects available in sales-force org.
1
vote
2answers
30 views

How to export and version control all metadata of an org

How to export and version control all metadata of an org, by saying that, I mean if I import all these metadata into a brand new org, it will create an identical org as the original org. THIS HAS TO ...
1
vote
1answer
21 views

Using Quickdeply from metadata API

Do I need to pass any special parameters when I use Quickdeploy using metadata api ? Or should I just use the validate option and it sends the info to the org for Quickdeploy? How does ANT know when ...
2
votes
1answer
45 views

How to get the API name of the fields used as a filter within a report?

I'm trying to get the fields used within a report. By using Reports.ReportManager.describeReport I'm able to get a lot of information about the report. Unfortunatly I'm not getting the API name of the ...
0
votes
1answer
23 views

RecordType field permissions in Metadata of Profile

I have one doubt -- Let say I have metadata of one profile = "abc.profile" Custom object = "Custom_object__c" Fields in it = Field1__c Standard Field = Record Type Now If I see MetaData of my ...
0
votes
0answers
8 views

Auth provider hardcoding executionUser

I have a community for which I have created a custom self registration form. In order to configure the registration handler, I need to specify an executionUser. How do I hardcode a user when it will ...
1
vote
1answer
24 views

SOAP updateMeta operation for CustomSite

I wanna change the homepage of a Force.com Site using the Metadata API. Nothing fancy, so: I've prepared a new updateMetadata request, set fullName to the API name of the site, put indexPage to the ...
1
vote
1answer
94 views

In Apex limits, custom metadata records can have unlimited SOQL queries. Advantages?

Is there any way to overcome the apex limit for total number of SOQL queries issued using custom metadata records?
3
votes
1answer
31 views

How to get keyprefixes for all Metadata types

Is it possible to get a list of key prefixes for all Metadata types in Salesforce org. Not the standard objects or custom objects, but Metadata types e.g. AccountSettings, ApexPage, CustomObject etc ...
0
votes
2answers
67 views

What goes into a feature branch for CumulusCI

I'm looking to setup continuous integration, but getting stumped with our custom solution. I'm starting to look into CumulusCI managed by Salesforce Foundation. I'm having difficulty finding what "a ...
0
votes
0answers
43 views

Deployment of SiteDotComSites: Required field is missing: label

I've pulled all the metadata from a sandbox, and now as a sanity check, I'm trying to push it all back (via Force.com IDE) to the same sandbox. It all seems to work apart from siteDotComSites ...
0
votes
1answer
44 views

Delete Metadata Type using Metadata API

I have imported a few things from Excel file, using Metadata API namely Profiles, Roles, Fls,Custom Objects, Custom fields. To achieve rollback I want to delete all of them if insertion of any of them ...
0
votes
1answer
19 views

User ID to Profile Picture Relationship

Where is the relationship between user's profile photos and their user ID? We are doing an org migration and need to move the photos and remap them back to their user ID in the new org.
1
vote
0answers
48 views

What is enableEventScheduler in ActivitiesSettings

When fetching the ActivitiesSettings metadata from a production org or a full sandbox of the org, it contains a boolean value, enableEventScheduler: ...
0
votes
3answers
274 views

Broken deployment: Case.SourceId, AddContact is not a standard action, and more

It looks as if a field called "SourceId" suddenly showed up in my org, on the Case object. Previously, I had taken all of my org's metadata, and placed it into TFS (Team Foundation Server), as part of ...
1
vote
1answer
29 views

How to handle unsupported metadata types?

SalesForce says in his documentation that some things that we can customize in a organization aren’t available in Metadata API. They recommend to document these metadata changes and keep a checklist ...
0
votes
0answers
50 views

Metadata API ConnectionException

I'm getting a ConnectionException when attempting to execute the following line of code: metadataConnection.readMetadata("CustomObject", StringUtils.split("Shipment__c")); However, I am ...
2
votes
2answers
57 views

MavensMate Project Update - How to determine you need to stop waiting for sync?

Ah, I didn't want to post here but I'm desperate for some kind of guidance. So.. I'm new to MavensMate as of this morning. Looking for a best practice or way to know that my Sublime 3 project update ...
4
votes
1answer
60 views

How can i change a picklist to a multiselect picklist

It seems like the only way to do this for a field thats already in a live salesforce is to Export all the data from that object/field Comment out any code (including triggers) referencing that field ...
3
votes
1answer
41 views

Search layout meta-data value is an Id value instead of field name

I created a new field on user in production environment and assign the field to Search Layout->User Lookup Phone Dialogs, after doing this I pulled the meta-data for this environment and checked the ...
2
votes
1answer
122 views

Can i Create Custom Button same like Create PDF button of Quotes?

when i click on Create Pdf then this pdf Preview open,i need exactly same functionality . i want to create button like Create PDF button of Quotes, i make same functionality for my custom object , ...
1
vote
1answer
61 views

Why is Salesforce metadata in XML format by default and not JSON? [closed]

When I explore the metadata from Salesforce page layouts, workflows or objects via an IDE, the metadata is all in XML format. Why is this? Why would the metadata not be in JSON, for example? Is XML ...
1
vote
0answers
44 views

Programmatically access selected Chart Colors on Picklist Values

Is there a way to find out, programmatically, if my users have selected chart colors for a picklist value? I'd like to write VisualForce (ideally in CSS, but anything is fine) that is consistent with ...
0
votes
2answers
40 views

Visualforce page creation

How can we Create a visualforce page which returns the list of Apex Classes, Triggers, Pages and Components based on the search entered in the text box.
0
votes
0answers
29 views

Removing all buttons on related lists across all page layouts through the metadata

I need to remove all buttons on related lists across all page layouts. I work with the metadata as this is a package with releases, so ultimately, I need the changes reflected in the .layout files. ...
0
votes
1answer
41 views

Updating field permissions on profile metadata file causes them to disappear from file upon save

I've created a custom profile for SF admins in our org. There are fields on every object that the profile doesn't have read access to because of field level security. Rather than going through the ...
1
vote
1answer
31 views

implication of metadata being in XML? [closed]

what is the implication of metadata being represented in XML? how is this useful to me as a developer?
0
votes
2answers
30 views

Turning a workflow on and off via apex?

I have a power user who reviews a bunch of workflow notifications. When she goes on vacation she wants to remove herself from the notifications and then add herself back. How Can I create an interface ...
1
vote
0answers
29 views

PersonalJourney.settings metadata

I recently retrieved entire org's metadata, and among other things found one settings metadata named PersonalJourney.settings, for which I can find exatly 0 results on Google. Can anyone shed any ...