Questions tagged [package.xml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

What is the name for the following to be used in XML. Pushing the following using ANT migration tool

I am using ANT to deploy the Profiles to next sandbox but I am not able to find the name to be used for following in the xml file. The following are available in Profile ->System Permissions Access ...
0
votes
0answers
13 views

Payload error while deploy Address settings (State & Country picklists) [duplicate]

Using Workbench i have retrieved the Address setting using package.xml XML : <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <...
0
votes
1answer
46 views

How to assigned/enabled connected app in permission set using package.xml

I have one permission set and one conncted app ,I have enabled this Connected app in permission set ,but when i am retiriving Permissions set not able to retrieve it in Package. i am doing like below....
3
votes
1answer
125 views

SFDX development 'without ScratchOrg and Unlocked Packages' with Git [closed]

I think that the first reaction that anyone will have after reading my question will be 'Why do you want to move to DX without using ScratchOrgs and Unlocked Packages'? Well, we are planning to use ...
1
vote
0answers
25 views

sfdx force:source:convert is not converting CustomObject

I am a newbie to Salesforce and DX. We are not completely ready to move to DX at the moment, so, we are trying to do deployments (without ScratchOrgs and Packages) using package.xml. Here is what I ...
0
votes
0answers
165 views

sfdx mdapi deployment with more metadata in deployment directory fails (Not in package.xml)

My deployment into a traditional org using sfdx force:mdapi:deploy fails, when I do not specify all the metadata in my package.xml Deployment directory looks like: . ├── classes │   ├── TestDep2.cls ...
2
votes
2answers
425 views

Global Action Layout Metadata/Deploy

We are currently doing our deploys using Ant. In our package.xml, we have "almost" everything set to "*". We noticed that after a deployment, the Global Action layouts, as well the default values we ...
2
votes
1answer
40 views

Knowing a priori ProfileSessionSetting metadata member name

I use ProfileSessionSetting to deploy session timeout from an org to another. When I build the package.xml I have initially retrieve all the profile settings with a wildcard: <?xml version="1.0" ...
1
vote
1answer
47 views

CustomObjectTranslation person account record type

I want to retrieve translations for person account record types from workbench. I created a package.xml file which I uploaded to workbench via retrieve <?xml version="1.0" encoding="UTF-8"?> ...
0
votes
1answer
78 views

How can I retrieve LiveAgent Settings from an org?

I am using ANT to retrieve settings from a production org. I have been successful using the package file below to get LiveChatDeployment and LiveChatButton settings. <?xml version="1.0" encoding="...
2
votes
1answer
39 views

Fetch the missing package.xml in an open source unmanaged package

I found this open source repo, and want to fork from it for own usage. Then I realize that the package.xml is not present in the repo. It is excluded by .gitignore for whatever reason. I perceive ...
0
votes
1answer
48 views

How to retrieve custom fields through force IDE?

I have retrieved all the custom and standard objects in my force IDE, but I am unable to retrieve Custom Fields. Because of that objects are not deploying in the target org, I have to create manually. ...
2
votes
1answer
353 views

How to retrieve custom fields with field level security using package.xml

I would like to retrieve custom fields with field level security using package.xml. How to prepare package.xml for this? Thanks, Anil Kumar
0
votes
1answer
96 views

Retrieving layouts from managed package in package.xml [duplicate]

I have tried the following way in package.xml <types> <members>*</members> <members>abc__ObjectA__c-ObjectA Layout</members> <members>...
0
votes
2answers
360 views

How to add any specific object's page layout in package.xml?

I am trying below code in package.xml. <types> <members>Quote Layout</members> <name>Layout</name> </types> but got error as below. == WARNING: The ...
3
votes
1answer
239 views

Is it possible to exclude files in package.xml in ANT deployment?

I am trying to exclude a file (which is in the deployment root folder) from being deployed to a sandbox. Does ant have any sort of attribute to achieve this? <target name="deploy"> <sf:...
1
vote
2answers
782 views

How to get CompactLayout through metadata - Package.xml

I'm trying to get the CompactLayout through package.xml but I don't its retrieving here is my package.xml looks like: <type> <members>my_custom_object__c-my compact layout</...
2
votes
2answers
40 views

How do you keep track of metadata to add on package.xml?

Say I'm building an app in Salesforce with many different fields, objects, classes, etc. How do you add those entries to a package.xml file without having to add them one by one as you go? I'm ...
1
vote
0answers
257 views

SFDX force:mdapi:convert for metadata from Managed Package

I'm trying to migrate to sfdx, but right now just in the exploratory phase. The package.xml I'm working from is essentially a full org metadata pull that was generated via MavensMate, and I configured ...
6
votes
1answer
689 views

How to dynamically retrieve ANY report in a folder using package.xml

In ANT or Eclipse I want to retrieve ALL reports of a given folder WITHOUT declaring each report in package.xml line-by-line expressis verbis. What Eclipse is generation, when I subscribe to a folder ...
1
vote
2answers
228 views

Can I retrieve a Profile's XML with Managed Package metadata?

I am currently attempting to update a new profile's permissions to match that of another profile (different license types, so cloning isn't available). My current best solution is to pull various ...
-1
votes
1answer
30 views

Migrate Enable Reports checkbox of a custom object in XML file

How can I migrate Enable Reports checkbox of a custom object in package xml file?
1
vote
1answer
88 views

i am finding a way to increase rollup summary fields in scratch org

like wise to make scratch org we have "features": ["PersonAccounts"], in dx is there any way to increase the roll up summary fields for scratch org or workaround any help will be appreciated
2
votes
1answer
1k views

Retrieve/Deploy a custom metadata type's list view?

I'm trying to deploy a list view for a custom metadata type using the Force.com Migration Tool, but I am unable to locate the ListView to include in my package.xml retrieve. I have deployed many ...
1
vote
2answers
59 views

How to remove a section from multiple XML files

I am migrating my changes from one org to another. But when I have retrieved an XML file containing custom fields I wants to remove some fields from that file as I would like to remove it from org as ...
1
vote
1answer
2k views

how to retrieve specific Queues using package.xml [duplicate]

I have some Queues which needs to move to other sandbox. Please suggest the package.xml structure
0
votes
1answer
216 views

Trouble importing email template with package.xml

For my Eclipse Force.com project, I'm trying to import an Email Template. know that EmailTemplate doesn't accept wildcards in its package.xml formatting, but even when I name the individual template ...
3
votes
1answer
407 views

Using DX Scratch Orgs to deploy code with legacy ant scripts

We are considering migration of our managed package development process to Salesforce DX. But we are definitely not ready yet to transform our code base and use full potential of SFDX, but still ...
1
vote
1answer
208 views

Why isn't MavensMate picking up changes that I make directly on the config files? [closed]

I have an existing MavensMate project and I want to include StandardValueSets. I edited package.xml in Sublime and included the list of StandardValueSets provided here - http://blog.deadlypenguin.com/...
1
vote
1answer
767 views

Jenkins CI with Salesforce: how to generate package.xml which only contains changed metadata files

To automate our salesforce development flow, we are using Git + Jenkins + Ant to deploy all committed changes to target organization. It works fine! But the only big problem is that all metadata files ...
0
votes
0answers
220 views

How to deploy only changes from sandbox to production instead of all data from package.xml file?

I have a jenkins setup with bitbucket and using ANT migration tool how to deploy only changes into production in CI instead of deploying changes manually. Thanks,
1
vote
1answer
1k views

Error: No package.xml found using ANT deploy

I'm trying to deploy an Apex Class from one org to another. I get this error: All Component Failures: 1.package.xml -- Error: No package.xml found package.xml <?xml version="1.0" encoding="...
0
votes
0answers
31 views

Versioning project on github

I'm trying to store my project on github using Force.com IDE Tool (ant). I have created a new command to store my project on github defining it in the build.xml file: <macrodef name = "git"> ...
2
votes
1answer
3k views

How should my package.xml look like to retrieve EVERY object with its fields?

I'm trying to build the package.xml in order to retrieve every single object with all its retriavable fields (I am aware that some fields cannot be retrieved), but I can't seem to achieve it. When I ...
0
votes
2answers
38 views

Setting up a package to deploy with a custom tool

I'm trying to create a small custom tool to quickly deploy between a couple of orgs with NodeJS and this package. The issue I have is that I don't really know how to create/setup the package.xml and ...
0
votes
1answer
29 views

Automate managed package assembling

We are developing some functionality in our sandboxes, keeping everything in git repo and merging together from time to time. When the release time comes, we usually just need to publish some managed ...
1
vote
2answers
724 views

is there a pre-build solution for generating a package.xml from a git repo

i have the metadata's pushed into a git repo, after making changes and tested in my individual sandbox. While trying to deploy to the higher env, i am trying to get a package.xml generated by itself, ...
0
votes
3answers
3k views

How to deploy renamed the custom object tab using package.xml?

I renamed a custom object tab name from 'ABC' to 'XYZ' in Customize > Tab Names and Labels > Edit. How can i deploy this change through eclipse using package.xml.
1
vote
1answer
276 views

Migrating Connected App , Auth. Provider and Named Credential

I have recently implemented Oauth authentication for one of the integration in my Salesforce Dev org. I have different env in the project- Dev,SIT,QA,Prod. I want to migrate the configuration - ...
0
votes
1answer
1k views

No Package.XML found

Trying to deploy the Custom metadata loader ZIP file in workbench and its giving an error. Please see the below... Following this steps : https://github.com/forcedotcom/CustomMetadataLoader
2
votes
1answer
1k views

Translation Workbench CustomObjectTranslation Metadata

I'm trying to retrieve the translations in translation workbench to add to Stash. My sample .xml file is below. <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/...
0
votes
0answers
81 views

Continuous Integration: How To Get Over Common Ant Deployment Issues Which Often Require Manual Intervention

I've deployed many times to SFDC using the Force.Com Migration Tool & Ant. In many cases I often end up having to undertake manual steps to get around issues. An example being Flows. Flows cannot ...
3
votes
1answer
2k views

GlobalPicklist no longer a valid MetaData type in 38.0?

Trying to migrate a global picklist using a 37.0 package.xml, but if I change the version to 38.0, I get an error that GlobalPicklist is not supported in API version 38.0. Anyone notice it?
2
votes
1answer
872 views

How to retrieve Wave Source files from Eclipse/Ant tool?

I want to retrieve/fetch Wave Source(WaveApplication, WaveDashboard, WaveDataset and etc) files from Eclipse/Ant Migration tool. I tried many times but not getting any single component file. I am ...
0
votes
1answer
100 views

Help, how to deploy a xml package?

I am trying to deploy a xml file but i get the following error: 4. objects/Account.object (Account.NbOppsOuvertesAvancees__c) -- Error: Invalid Field: Opportunity.RecordTypeId (line 1607, column 29) ...
0
votes
1answer
64 views

Unable to Deploy field

I Created a field Web_Security_Scove in an environment and i am trying to deploy it in to another environment. My Retrieve package: My Package.xml: I am getting the following error after ...
1
vote
0answers
265 views

picklist Value deployment Issue

I retrieve the Record type using Package.xml.Its having Available picklist value <!--<values> <fullName> Mandatory%3A K-12</fullName> <default>false</default> </...
1
vote
1answer
366 views

How do I include Home custom page layout in package.xml?

I have created new Page layout for Home page for specific profile. I am having trouble deploying that from One environment to another. Here is my pakcge.xml looks like to retrieve that layout. But ...
1
vote
0answers
55 views

Difficulty managing access to Document using Profiles and the Metadata API

We are having trouble managing the permissions associated with Document via the Metadata API. We are using ant to both deploy and retrieve the metadata files. In order to deploy successfully we can: ...
0
votes
1answer
222 views

what are the steps to retrieve using package.xml?

I have created package.xml file as below. As I want to retrieve using package.xml. Can anyone provide me any step by step instructions to retrieve and deploy using this package.xml file? I could how ...