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

0
votes
0answers
7 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 ...
0
votes
0answers
21 views

Use image from Static Resources as App Logo [duplicate]

Is it possible to reference an image in static resources as an App Logo, instead of having to reference a file uploaded to Documents? What I'm trying to do is remove any and all metadata dependencies ...
2
votes
1answer
94 views

General way to distinct between different Org types?

I need to distinct between different Org type as follows Production Org Sandbox Org Developer Org Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called ...
1
vote
1answer
21 views

Need to Upsert Data Using Tool Batch Wise

I have order and contact object which have lookup from order to contact...I have Excel sheet which has order as well as contact information in it..I need to insert or upsert this excel sheet which ...
0
votes
1answer
24 views

How to (programmatically) mass update tab visibility for all profiles?

Salesforce's UI does not provide a great way to mass update profiles for many permissions. One example of this is tab visibility. Currently, we need to go through each profiles' object permissions and ...
2
votes
2answers
43 views

Retrieving permission sets

Does the metadata api returns the object permissions in the permissions sets? I want to retrieve the object permissions for standard as well as custom objects.
0
votes
1answer
23 views

Delete fieldset using Tooling/Metadata API (JSforce)

Tried this using the following 2 snippets; both failed. Snippet 1 conn.tooling.sobject('FieldSet') .delete({ DeveloperName: fieldsetName }, function(err, meta) { if (err) ...
0
votes
1answer
19 views

Creating metadata in client org

I have some packaged code that utilizes the SF Metadata API to create VF pages, as well as modify some object metadata. The code currently is not executing on the client side (but it's working fine in ...
1
vote
0answers
43 views

How to update custom objects metadata in mavensmate

I added some fields to custom object on the org and wanted to update its metadata in my project in mavensmate. I tried to click on this object and choose "Refresh from server", it doesnt work. Then: ...
2
votes
1answer
32 views

Is it possible to determine the visibleLines() value of a multipicklist programmatically?

For a multipicklist, the visibleLines attribute value is not available from internal Schema.DescribeFieldResult.class. Is there any other way to determine what this value is for a field ...
0
votes
0answers
27 views

Update standard object fields from custom object

is it possible to update number of fields of standard object from custom object using apex and visualforce. We cannot call the API within the org. But however could we use SOQL for DML transaction ...
2
votes
2answers
38 views

Different results for Schema information in different classes - why?

I'm experiencing a very odd behaviour in my SF org. I have two classes that have an identical method: /* works */ public with sharing class classA { public static void ...
1
vote
1answer
26 views

Create custom 'Tab Style Selector' using api

I have two questions relating to 'Tab style selector' or <motif>. I am trying to create a customTab using api and in doing so I need to put in what motif I want to use. For example, it could ...
0
votes
0answers
14 views

CustomTab creation with permission as 'Default on' using api

I created a customTab using the salesforce metadata api. However, it got created with visibility as 'hidden'. As far as I could figure out, the api does provide the functionality to change the ...
1
vote
2answers
73 views

Fetching picklist values based on record type

Is there any way to fetch picklist values based on a record type. I am wondering how salesforce does it. I am fetching list of record types via ForceTK, next i want to fetch picklist values based on a ...
1
vote
1answer
37 views

Preferrered Salesforce CI / deployment solutions

I am looking at various Salesforce CI / deployment solutions that at least: Should be able to deploy based on a custom selection of metadata changes and fixed set of changes (deploy on newest source ...
0
votes
0answers
45 views

Retrieve pick list values

Does the metadata api retrieve pick list values for standard fields? We are having a tough time in getting it done.
0
votes
1answer
36 views

Why does it say my VisualForce page 'does not exist or is not a valid override for action Edit?' It exists and is valid!

I am developing a managed package that has a VisualForce page for configuration. Before I packaged everything up, I made some buttons on the page that the user can click to automatically set their ...
2
votes
1answer
23 views

Permission on Profile on different section between 2 orgs

Issue Assume 2 different orgs: Org A and Org B. Trying to move the metadata from Org A to Org B but having some hickups. Mainly on the profile level where we have the following: Org A: permission ...
2
votes
1answer
24 views

Metadata for field visibility

I am new to salesforce, so my question may seem basic. Whenever we create a field, we set the visibility/read-only for various profiles. How do i get that info in metadata? I created a field on Case ...
0
votes
0answers
46 views

Where is the Event.ClientGuid field?

Following a failed Ant deployment, I have this error message: [sf:deploy] 1. objects/Event.object (Event.ClientGuid) -- Error: Could not resolve standard field's name. How come this standard ...
1
vote
1answer
28 views

How to deploy only part of object metadata?

I am trying to use Deploy to Salesforce button. From what I understand it is capable deploying the whole object, but I only need to to add field set to existing object without overwriting users ...
2
votes
0answers
35 views

Delete Approval Process Metadata api

I have a problem: I created aproval process using metadata api(metadata api description and examples here -> https://github.com/financialforcedev/apex-mdapi), but when I trying to delete approval ...
0
votes
1answer
16 views

Trying to export field accessibility metadata for all object fields

I'm trying to find a way to export the field accessibility metadata for all object fields. It appears like I should be able to do this with my linked objects within my SQL server database using dbamp ...
3
votes
1answer
20 views

Working by remote, without accessing to sensitive informations

Suppose one has to work on the structure of an org (for introducing some change), but it is not possible to access to the informations contained in the org itself for security reasons. For example it ...
0
votes
0answers
42 views

How to get fields list and metadata of an article type using apex-mdapi?

I was trying to get fields list and metadata of an article type (ArticleTypeName__kav object), since I can't get if from the Schema.getGlobalDescribe(). That what I was trying: ...
1
vote
2answers
52 views

how to handle schema changes in salesforce and notify other systems (push vs pull)

We have some of our objects and fields synced to other systems and one of the common concern we see is the changes to these objects / fields (specifically deleting them in salesforce) are impacting ...
-1
votes
1answer
22 views

Insert ProfileLoginIpRange field's data in salesforce using PHP

I want to insert ProfileLoginIpRange field's data in salesforce using PHP. So How can i do through PHP. So that whenever insert ip's from php, it should get updated in salesforce. Please Help me out.
1
vote
0answers
26 views

Invalid field name: Contact.Activities$What

I am using force.com IDE to migrate reports. For a report of custom type Contacts with Activities, I get error: "Invalid field name: Contact.Activities$What" The report type is already deployed ...
1
vote
1answer
58 views

How to deploy <RecordTypes> metadata?

I am trying to deploy RecordTypes from one sandbox to another. Here's my XML <types> <members>My_Opportunity</members> <name>RecordTypes</name> </types> ...
1
vote
2answers
45 views

Metadata API without SOAP

I am new in the Metadata APIs of Salesforce world, but they look interesting. I want to know if I can use Metadata APIs or basically create custom objects / fields etc. on any org without using SOAP ...
2
votes
1answer
80 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
1answer
39 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
54 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
16 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
34 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
42 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 ...
3
votes
1answer
35 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
207 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
36 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
131 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
15 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
44 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
46 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
176 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
467 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
23 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
96 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
113 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 ...