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

2
votes
1answer
18 views

“Error: Must specify the metadata file” reported with Force.com migration tool

I have brought down a copy of a Salesforce org from a Git repository. When attempting to deploy it to a sandbox I'm getting the following error (suitably anonymised): <sf:deploy ...
1
vote
0answers
27 views

Insufficient Access when Deleting Custom Object or Tab

I'm trying to delete an Object (not a record) in Salesforce. When using ANT I receive this message: 1. objects/myObject.object -- Error: insufficient access rights on cross-reference id. When using ...
2
votes
1answer
40 views

metadata retrieve

Need a small help on figuring out what I'm missing in my XML to retrieve all the fields in Case and Opportunity. So far i manage to get almost all but there is 2 standard fields that i can't pull. In ...
0
votes
0answers
13 views

Finding Metadata definition in documentation (ChannelLayout)

I have searched Google. I have searched the Metadata API documentation and the Object Reference documentation. I cannot find any information on the ChannelLayout subscription available via MavensMate. ...
1
vote
1answer
21 views

Get external id limit for an org

For my org I need to get the number of external Ids that I am allowed to create Some time back the limit was 3, now it is 7. I have hardcoded the limit to 7 now to check if Im hitting number of ...
1
vote
0answers
25 views

How do I update a RecordType's Name or IsActive status in Apex?

I currently have RecordTypes for a particular object (Obj__c) in a production org. I'm effectively trying to eliminate these as RecordTypes and planning a migration of that data into a picklist ...
2
votes
1answer
15 views

Identify salesforce schema changes

I am backing up Account, Leads, Opportunities and Document objects. Initial level backup is full where I download using BULK API and then incremental subsequently. If there is a change in the schema ...
1
vote
0answers
25 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?
3
votes
3answers
79 views

Generate Salesforce package.xml programmatically

I want to create the package.xml base on a selection of components that a user check for example apex classes, apex triggers, then export that package or do something else. I don't care about the ...
0
votes
0answers
29 views

Metadata API Case-Sensitive?

is the Metadata API Case-Sensitive? Scenario: Take for instance the following scenario: a multi-org strategy where all development is being done on a Sandbox related to Org ABC. From that Sandbox ...
2
votes
1answer
46 views

Query the Describe metadata for the Account object

I'm accessing the Salesforce REST API from a Java-based web service and would like to get a list of all fields in the Account table that are marked nillable: false. I know I can make a request like ...
0
votes
0answers
12 views

Community - Chatter Email Footer Text Metadata

We use the Ant Migration tool to store all our Salesforce customisations in source control. At the moment I am customising a Community Chatter Email Branding to have a custom logo and footer text. ...
0
votes
0answers
38 views

Is there a way to get the salesforce limits via apex code?

I want to get following information via apex code : No. of relationships allowed per custom object. No. of custom fields allowed per object. No. of formula fields allowed per object. No. of custom ...
1
vote
1answer
34 views

Deleting page layouts with Andrew Fawcetts Deployment Tools?

Spinning up new orgs, our team is wasting a significat beef of time simply to cleanup the sample-data you get rolling into new vanilla orgs... Personally I think as partners we should get the option ...
0
votes
1answer
61 views

How do I pull a report summary to a Visualforce page as simple plain text results?

How do I pull a report summary to a Visualforce page as simple plain text results? I've been searching all over and haven't found a simple solution. All examples are confusing and all code has to be ...
9
votes
3answers
393 views

Are sandboxes slower than production Orgs?

I've noticed quite often that sandbox instances are showing a slower performance during Metadata API and Tooling API access. Today this happened on cs14. The force.com IDE froze completely during a ...
1
vote
0answers
20 views

Get Campaign of a lead view via Metadata (or other) API

Is there any way to get the "Filter By Campaign (Optional)" part of a lead view via the metadata or any other API? I am trying to convert the metadata of a lead view into an soql query and the ...
8
votes
1answer
70 views

Name field of Group sObject is Not Nillable but returns null

I request the metadata for the sObject Group via: GET /services/data/v32.0/sobjects/Group/describe/ HTTP/1.1 In the resulting JSON i see the following metadata at the fields property: { ... ...
1
vote
1answer
74 views

ExactTarget SSO configuration “Expecting X509Certificate inside the KeyDescriptor element” error

I have set up my SSO configurations and I keep getting this error when I attempt to log in: 'Incoming SAML assertion/response from an issuer for which the SP has no metadata loaded or is wrong' In an ...
1
vote
1answer
54 views

Failing to get useful info out of metadata api about Lead Views

I am trying to use the apex metadata api I found here: https://github.com/financialforcedev/apex-mdapi I want to get all of the filters and other properties of Lead Views. I looked at the example ...
0
votes
0answers
21 views

Metaforce Static Resources

I am currently using the metaforce gem for deployment of source to a build org. I have a load of css and js files under a folder called assets. Is there a way to deploy these static resources using ...
3
votes
2answers
32 views

Modify content of formula field in apex or .net

My organization has a number of formula fields that are used to link to services and sites outside of salesforce. In our production environment these need to point to the production sites and in our ...
0
votes
1answer
83 views

manipulating Field Dependencies with Metadata API

Is it possible to manipulate Picklist's Field Dependencies with Metadata API? If so, is there any reference or example out there?
1
vote
2answers
65 views

Automated daily metadata backups

My sandbox was refreshed without my knowledge, causing me to lose my work. Because of this, I want to try and automate backing up metadata. I am thinking of using Eclipse Force.com IDE to do this, ...
1
vote
1answer
27 views

What metadata type can be used to extract picklist available values per record type?

It is not Fields, record types and the Picklist fields. How can I move them from one org to another org?
1
vote
0answers
48 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 ...
1
vote
1answer
30 views

Salesforce Metadata API null-types

I try to programmatically get the fields and their types of all Salesforce Objects (including custom ones). But some Types don't seem to exist. For this i use the force.com wsc version 32.0.0, the ...
1
vote
1answer
81 views

Deploying Business processes with ANT

I have tried to deploy business processes with ant. I seem to have the syntax wrong. I am seeing Entity type: 'businessProcesses' is unknown <?xml version="1.0" encoding="UTF-8"?> <Package ...
4
votes
1answer
40 views

“Not Enough Space” when using RestForce to get the Metadata of Account object

Im Using a developer account, just created to Test retrieve and deploy Metadata using RESTFORCE. r.get('data/v20.0/sobjects/Account/describe/') the above line throws that error. the get request ...
0
votes
0answers
24 views

Reduce the encryption size of web service payload

In Salesforce, we know that the governor limit for the web service payload is 3 MB. However, we have noticed that sometimes the size of the actual data is less than 500 kB. The encryption and the ...
0
votes
1answer
19 views

Org with a lot of customizations

I need a large org with more than 5K or 10K components. All the components must be accessible so that we can retrieve them via the metadata API. How can I find such an org? I tried to install all the ...
0
votes
1answer
22 views

Changing the AppExchange listing

Can we change the AppExchange listing from public to private and private to public anytime? We have just released a product, and we would like to keep it private till 10 customers are using this ...
1
vote
1answer
29 views

Search for specific Metadata type based on query on name

I want to get a list of all visual force pages whose name starts with 'MyApp_'. I am not interested in content, only in the count. Is there a metadata api for this? I can do a 'ListMetadataQuery' with ...
0
votes
1answer
57 views

Connected App Access / Profile Metadata - Where is it?

I've been combing through the metadata and online documentation, and I cannot figure out where the Profile|Custom App Access values are stored!? Could anyone point me in the right direction? I've ...
1
vote
2answers
59 views

Add cutom button directly to list view after installing managed package

I have created a managed package in which i need to add custom button after installing my managed package to list view of account and lead. I thought it same like static resource, Remote site settings ...
1
vote
1answer
45 views

Profile Metadata Question - False User permissions

One of our QA steps for our release process, is to identify if configuration changes have happened in production, that may have effected our repository metadata, specifically in Profiles. While ...
1
vote
1answer
40 views

Metadata Compare- is there an easier way than selecting all components in eclipse, then using a tool like Kaleidescope(mac)

I'm in progress with a Metadata Compare of 2 Salesforce Sandboxes. As part of a client requirement, we have to do a full compare that migration to a new sandbox is complete. We are using changesets, ...
0
votes
1answer
32 views

Turning off parameter runAllTests to false while deploying code

In the migration tool, there is a parameter called- runAllTests. The same parameter can also be used for deploying code via metadata API. Can the parameter be set to false while deploying the code in ...
0
votes
1answer
30 views

What will updating a production server to Summer '14 do?

I'm trying to delete a trigger off production, but all my efforts to do so have been met with failure. My most recent attempt should work, but the IDE is first asking me to upgrade my version of the ...
1
vote
0answers
25 views

Metadata API SearchLayouts not showing updates

I'm making extensive use of the Metadata API (We have it implemented in Javascript for an admin page on a managed package). The main features we're using is the automatic creation of buttons (to ...
0
votes
2answers
435 views

New Project Creation Not Working on Mavensmate

I am using a Windows 7, 64 bit system with Sublime Text 3 build 3065 and Mavensmate version 4.0.2 My user settings are as below. "mm_workspace" : "c:\mymavenprojects", "mm_http_proxy" : ...
0
votes
0answers
75 views

REST API to get validation rules NodeJS

How do we get the list of all validation rules in SalesForce through the REST API? I'm using NodeJS. I see that there are methods in SOAP API (listmetadata) which can help, but can't find anything in ...
1
vote
1answer
55 views

MetadataAPI: Missing MetadataPort.checkStatus(String[] asyncProcessId) in MetadataService.cls v32.0

I'm updating MetadataService.cls form a older version for v29 to the current version v32 and found some members maybe missing: MetadataPort.checkStatus(String[] asyncProcessId) ...
2
votes
1answer
48 views

Using Wildcard in Metadata API

We have more than 300 custom fields in several objects. When we retrieve them using Metadata API it throws exception of "Wenservice callout failed: String limit exceeded 100000" so we are thinking of ...
1
vote
2answers
223 views

Retrieving Profile with all Components Permissions using Metadata API

We have an application which retrieve Profiles from an Organisation but if we retrieve profile without specifying custom object or other component in package.xml file then it doesn't retrieve ...
0
votes
0answers
16 views

Metadata API does not recognize customobjectOwnerSharingrule based on groups

I am using Salesforce Migration Tool to retrieve metadata including customobject sharing rules. For a specific custom object I have two sharing rules. One based on the users' role and the other based ...
3
votes
0answers
35 views

Does 'Deploy with Active Jobs' work for managed packages?

So there's this new feature: 'Deploy with Active Jobs' It lets you deploy batches and schedules even if they're running. This is great for changesets. Does it work with managed packages?
1
vote
0answers
55 views

readMetadata returns nil records, what am I doing wrong?

I'm able to list Layouts with listMetadata just fine. When I attempt to readMetadata for a Layout I get nil records back. Any ideas what might be happening? Thanks in advance for replying. SOAP ...
7
votes
1answer
205 views

Why are my default values always null for checkbox/boolean fields?

I setup a field in Salesforce: When looking at the metadata for my custom object containing this field, this is the data on that metadata field: "defaultValue": null, "defaultedOnCreate": ...
6
votes
1answer
149 views

Any way of resetting my development org to an empty state?

Is there currently any way to reset a salesforce development org to an empty state using the Migration tool. I am aware of destructiveChanges.xml but this seems to be giving me issues because of ...