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.
4
votes
1answer
31 views
Are Field History tracking objects the only Salesforce objects that have fields of DisplayType “ANYTYPE”?
Field History tracking objects, such as "AccountHistory", "ContactHistory", etc., keep track of changes to field values on records of objects with History tracking enabled on those fields. The ...
2
votes
1answer
25 views
Create Public Group from an exception/does not contain/not equal to
I need to create a public group from 'Everyone' minus another smaller public group.
The public group 'Everyone' is created from everyone under Role CEO and Internal Subordinates. The smaller group is ...
3
votes
1answer
22 views
Where to edit XML for “Lookup Filter” in Force.com
I created custom lookup fields for my custom object in web UI. Some of these lookup fields have lookup field filters. I need to create the same filter for many other similar lookup fields. I ...
4
votes
3answers
62 views
Keeping picklists on multiple objects in sync
We have picklists on a couple of different objects that we want to keep in sync. I looked at the idea exchange, but was wondering if there was a good practice way for keeping them in sync.
My idea is ...
1
vote
1answer
30 views
Can't find ForecastingItem sObject in DescribeGlobalResult
We recently upgraded to salesforce API v27 (from 21). Documentation says that there are some new objects added between v21 and v27. ForecastingItem object is one such object. But when I get all the ...
3
votes
1answer
38 views
Removing managed package version information from meta files
I have the same problem that is mentioned in this question and while Andrew's answer explains WHY it happens, I would like to know: Is there any way to prevent/stop managed package version information ...
8
votes
3answers
76 views
Using Force.com IDE to move schema from 1 prod org to DE org
A [similar question] was asked here 1
Copying metadata and code from one Production org to another
and I have a twist on this...
Assuming there are two orgs, Prod1 and DE, or Prod1 and Prod2.
...
10
votes
1answer
69 views
Force.com IDE error 'NotAfter'
Any idea what's causing this error?
It's happening on both the Force.com IDE and the Force.com plugin for Eclipse, on Windows XP 32 bit. Strangely it's ONLY happening for one particular ...
0
votes
1answer
78 views
Force.com IDE: Rookie Error?
I'm using the Force.com IDE for the first time and attempting to migrate all the meta-data from one instance to a brand new developer edition account. I am fine doing this piece by piece however long ...
1
vote
1answer
52 views
How is the presence or lack of managed package version data in APEX and VF meta files controlled?
From time to time I noticed that my meta files for Apex and Visualforce get changed to include specific references to managed packages version information as shown below. However, my classes don't ...
1
vote
1answer
91 views
Force.com IDE - Deploy Entire Org. to New Org [duplicate]
Possible Duplicate:
Copying metadata and code from one Production org to another
Quick Question.
I'm trying to deploy an entire org.'s metadata into a new one, specifically its sandbox, ...
1
vote
2answers
58 views
IDE errors shows up only in production, not sandbox
I've been able to update meta data on standard object picklist values and refresh them to our full sandbox, but am unable to do the same thing in production with out the following errors.
...
1
vote
1answer
82 views
Deploying source for a Managed Package to new development environments
Our Managed Package is quite large and we are looking to spin up a couple of new Developer Edition environments for our developers. I'm wondering how others are managing the initial metadata ...
0
votes
2answers
82 views
Unable to delete picklist values with force.com IDE
I was successful in adding picklist values through the IDE but unable to remove them directly from the metadata xml.
Is there something I'm missing or is this a known issue.
7
votes
3answers
161 views
Can the PackageVersions element of the metadata be automatically updated
I'm working on an application that consists of a base package and an extension package. Every time I update the base package in the development environment, I have to change the ...
5
votes
2answers
84 views
Can I reset my dev Org?
I'm using my dev org for testing proposes and It's taking my many time to delete objects, data, rules and so on.
It is possible to reset this account to original state?
2
votes
1answer
152 views
Salesforce - Mass Update Picklist Values
I would like to mass update picklist values in a custom object from picklist values in a standard object.
In the absence of universal picklists, i am having to manage a few picklists in different ...
2
votes
1answer
102 views
How to fetch field details of a dynamically selected object?
I want to create a Visualforce page to have dynamic picklist of objects in the org.
Once a user selects any value from the list, it will show the list of fields for that object in a table below with ...
0
votes
2answers
56 views
Download WorkflowOutboundMessage type from metadata API
Attempting to perform a deploy on a set of unpackaged Workflow Rules and I'm getting an error that my workflows are missing: WorkflowOutboundMessage - is it possible to download these in the IDE or ...
4
votes
1answer
228 views
How to handle non-Visualforce field ids in Selenium tests?
This old post Selenium Testing Best Practices describes the problem that the id values generated by the Force.com platform on default (layout-based) UI fields vary between orgs. So the normal practice ...
2
votes
1answer
123 views
Contents of the metadata deploy zip file to delete a class in a production org
I'd like to use the metadata API directly to delete a class from a production Org.
In addition to deleting the class my goal is to learn about using the Metadata API. Hence
I want to avoid using the ...
0
votes
1answer
84 views
Permission Set Metadata Missing Tab Visiblity?
I'm trying to get some new permission sets that grant access to custom tabs into source control, but the resulting metadata doesn't contain any tab visibilities. Is this a known hole in the metadata ...
4
votes
1answer
197 views
Programmatically obtain WSDL for Metadata API
It seems that there is a loose typed WSDL for SOAP API - Partner WSDL
Is there something similar for Metadata API or can I get a WSDL for Metadata API programmatically?
9
votes
5answers
511 views
What is metadata?
I was looking through the working of VF page I read that it save the instruction as metadata. Can any body explain me in simple words that what is metadata.
2
votes
1answer
319 views
Page layout assignments with XML metadata API
How do I define page layout assignments for different record types via metadata XML files?
4
votes
1answer
405 views
Create a custom object via the API (define the object, similar to DDL)
I was looking through the Metadata API (and Partner) but can't find anywhere described how I can define via the API a custom object.
We have specific datasets which have to translate into Custom ...
2
votes
2answers
170 views
What can be done by “DOT”? (Black Tab Feature)
I know that Salesforce has a black tab feature where they could "DOT" an Org (Copy data and metadata) to another org.
What are your experiences on this? Like what were they able to do with this ...
1
vote
2answers
99 views
How do I access the customer logo in the top left in Apex?
I know that to change the customer logo in the top-left corner of the screen you need to go into Setup -> Create -> Apps.
However I am unable to find a reference to this in my Apex class. The prefix ...
1
vote
2answers
180 views
Create custom objects from outside of salesforce
Is it possible to create a new object from outside of salesforce?
The little bit of research i had done suggests MetaData API should be the way to go?
Any other thoughts
If somebody has done ...
2
votes
2answers
59 views
Querying Delegated Administrators
Is there a way to query a list of delegated administrators? I looked in the list of objects available to query in Force.com Explorer and can't find any objects that look like they would have this ...
2
votes
4answers
125 views
IDE hangs at “Saving components to project” whenever I refresh from server
Something like 75% of the time I attempt to refresh from server on a project in the Force.com IDE it gets the data from the server but then hangs for 10 minutes or more on the "Saving components to ...
8
votes
5answers
1k views
Copying metadata and code from one Production org to another
How do I copy(for want of a better word) metadata (i.e. Objects, Workflows, Validation rule etc), and code (Apex, Visualforce, Triggers) from one Production org to another production org?
Is this ...
