We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [package.xml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

ERROR While running sfdx force:source:deploy command

I am getting an error while running: sfdx force:source:deploy -u Sandbox -x pathToPackage.xml My deployments were just fine but after I did a sfdx force retrieve from a sandbox then I started to get ...
0
votes
0answers
12 views

Generate package.xml using Metadata API before submitting a retrieve call

I am submitting a retrieve call using Metadata API retrieveRequest(package). Before submitting the retrieve request, I need to generate the package.xml file for debug purposes. I can see that the ...
1
vote
1answer
47 views

Retrieve Standard Picklist Value Sets using package.xml

There are standard picklist fields like Premium Frequency on Insurance Policy object in Financial Services Cloud package. We have added some new picklist values for this field. However, we are not ...
0
votes
1answer
17 views

Session Setting in Profile through metadata

Is this possible to update session-setting in profile using metadata deployment i.e through package.xml.
1
vote
1answer
26 views

How to retrieve lightning component quick action in VS code

How to retrieve lightning component quick action in VS code. When i retrieve the layout it is showing the quick action for visual force components only. Do any one know how to fix this. My package.xml ...
0
votes
2answers
25 views

Packaging changes to Standard Picklist Field Values

I'm trying to package changes (added Received) to the Status picklist field on the Order object. In the package.xml I have added the following: <types> <members>OrderStatus</...
1
vote
2answers
45 views

How to select “selected” project components (autogenerate custom package.xml) in VS Code?

When creating a project in Eclipse Force.com IDE, there was a step to tick project components in a checklist. That would generate package.xml accordingly. In fact, you could also later "Edit project ...
1
vote
1answer
66 views

Can We Create a Change Set via a Package.xml?

Is it possible in Workbench to create a changeset in the target sandbox using a package.xml? See, we are going to deploy 300 components from a UAT sandbox to a PRE-PROD sandbox without recreating the ...
0
votes
1answer
32 views

Not able to get objects,classes and visual fore pages into scratch org

I have a developer edition (with devhub enabled) of salesforce and I treid to create the SFDX project using visual code. So far I am able to do following successfully Create a new project with ...
0
votes
1answer
18 views

Exclude certain similarly named Apex Classes in source retrieval with Package.XML in VSC

Wondering if anyone has experience tweaking the manifest XML file to disclude certain Apex Classes being pulled into Visual Studio Code. I know you can use the * as a wildcard to include certain ...
0
votes
1answer
41 views

How to include custom field in a standard object using package manager?

I am trying to turn an app into an unmanaged package using the package manager's wizard in setup. The app has some custom fields within standard objects that I am trying to include in the unmanaged ...
0
votes
2answers
37 views

how to extract a single app from an org into its own package

Goal: Our Org has multiple apps that I would like to extract each app into its own individual package. The goal is to retrieve this package to push to a scratch org and then make it an unlocked ...
1
vote
0answers
31 views

Why are readable/editable fields missing from Profile.xml Metadata? Workaround?

I'm trying to build a "no permissions" baseline profile in a sandbox I just spun up from my production org before playing with a new integration (so I can assign permissions in a "least privilege" way)...
0
votes
0answers
41 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
16 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
100 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
267 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
37 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 ...
3
votes
3answers
1k 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
70 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" ...
2
votes
1answer
72 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
129 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
52 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
51 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
722 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
180 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
986 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
392 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
2k 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
42 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
330 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
1k 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
382 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
40 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
103 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
2k 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
90 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
314 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
467 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
222 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
880 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
250 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
4k 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
39 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
856 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
4k 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.