2022 Developer Survey is open! Take survey.

Questions tagged [package.xml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
77 views

Not able to retrieve Settings through Metadata API

I am trying to retrieve Settings Metadata using Metadata API. The request body is as follows:- <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <soapenv:...
user avatar
0 votes
0 answers
18 views

Error when deleting Flow's and Flow Definition's [duplicate]

I have made a destructive package using Workbench. destructiveChanges.xml package.xml I am receiving the following error when trying to delete the Flow, and Flow Definition: "Funds Request ...
user avatar
  • 79
0 votes
1 answer
48 views

Unlocked package installation error

Hi there, i am tring to create an unlocked package with skip validation command. after creating the package while installing i am an error package.xml cannot be a component in managed or unmanaged ...
user avatar
1 vote
0 answers
56 views

Metadata API not retrieving all language translation for custom labels

I have created a Custom label with its translation on the setup: I have also activated German language on the Setup->Translation Language Settings However, when I retrieve it via Metadata API, ...
user avatar
  • 285
0 votes
1 answer
130 views

Unknown type specified in package.xml

I have the following package.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> &...
user avatar
  • 225
0 votes
1 answer
57 views

Package.xml duplicate components

I have been using https://cloudtoolkit.co Package Builder to create a package.xml file listing all of my Org's metadata components. I am seeing some interesting behavior around InstalledPackage ...
user avatar
  • 191
0 votes
0 answers
14 views

How to get the standardsetvalue in package.xml [duplicate]

I have modified subject, status picklist values in task standard object and trying to retrieve from source but I am getting warning message like Retrieved source no result found. Can anyone help me to ...
user avatar
0 votes
0 answers
133 views

Salesforce DX push failed to scratch org with error parsing package.xml-meta.xml file

After created a scratch org, I pushed my visualforce page and got error: Error force-app\package.xml-meta.xml Error parsing file: Element {http://soap.sforce.com/2006/04/metadata}types invalid at ...
user avatar
0 votes
1 answer
73 views

How should workflow time trigger be displayed at package xml file?

I have a task to fulfill package.xml file with new developed workflow. This workflow contains time trigger which send an email alert to recipient after some time of inactivity. As a metadata type, it'...
user avatar
  • 3
1 vote
1 answer
94 views

Effective and efficient deployment [closed]

Goal: Identify changes related to a requirement, deploy and verify successful deployment within 30-60 minutes (Ideally 10 minutes). This should include any Apex code, profile, permission, field ...
user avatar
1 vote
2 answers
1k views

How to deploy assignement of Compact layout & Record Lightning page to Record Type/Profil

How can i deploy assignement of Compact layout & Record Lightning page to Record Type/Profil . I tried this package ,the compact layout and record page were deployed properly but the assignement ...
user avatar
0 votes
0 answers
180 views

Duplicate object names in the same package, please rename one

Trying to retrieve metadata from my developer Org and am getting the below Warning. Any idea how I can resolve this? Duplicate object names in the same package, 'apexEmailNotifications/...
user avatar
1 vote
0 answers
343 views

Error deploying Message Channel

I have created a message channel in VS Code. When I attempt to deploy from the package.xml file I receive this error: "No source backed components present in the package". When I attempt to ...
user avatar
2 votes
0 answers
349 views

Lwc components are visible on record page but in flexiPage.xml it is not there

Lwc components are visible on record page but in flexiPage.xml it is not there. I have updated the package.xml to latest 51 version but issue is still there. When I add an aura component, it reflects ...
user avatar
1 vote
2 answers
536 views

No Package.xml Found In Destructive MDAPI Deployment

I've already looked at the existing questions and made sure of the following: Only package.xml & destructiveChanges.xml are in the folder I'm trying to deploy. package.xml is empty outside of the ...
user avatar
1 vote
1 answer
172 views

Issue with Salesforce API version(Allowing to give wrong API version in package.xml)

I was doing one of the trailhead modules Package.Xml and one of the steps to retrieve metadata from org. When I gave the wrong API version(60.0), I was able to extract the data from salesforce. Is ...
user avatar
  • 500
0 votes
0 answers
42 views

Second-Generation Managed Package with Package.xml

i would like to ask if there is a way to further restrict data which gets into package based on package.xml for example like when retrieving metadata... Basically what I need is to have a git ...
user avatar
4 votes
1 answer
697 views

SfdxError: An internal server error has occurred VS Code

I just purchased a new enterprise license with Salesforce and I connected my VS Code to the sandboxes and the production org. Every time I try to push the package.xml file I receive this error: ...
user avatar
  • 3,167
0 votes
1 answer
64 views

Unable to parse xml data with address in Account object with address field

My requirement I have XML data with a set address I need to insert all XML address data into the Account object with the Address field respectively. any solution to this. My updated code: If I insert ...
user avatar
1 vote
1 answer
85 views

Issue with creating a permission set - it adds every custom field in the system

This happens even with a blank permission set - I created a new permission set called "blank" and retrieved it through the package.xml in Visual Studio code. When I open and look at the ...
user avatar
0 votes
0 answers
46 views

Add new custom object to existing profile by metadata api

I have a few new custom objects in my unmanaged package and i want to give permissions to existing profiles in the target org. How can i do that? What i tried is the following xml file in my package: &...
user avatar
  • 123
0 votes
2 answers
466 views

Destructive changes for all apexclasses and components

I want to delete all the LWC components and Apexclasses using destructiveChanges.xml. I tried with <types> <members>*</members> <name>LightningComponentBundle&...
user avatar
0 votes
1 answer
118 views

unable to retrieve the visualforce page tab

I want to retrieve and deploy the custom visualforce tab page from salesforce environment. I tried so far the following piece of the block in package.xml but could not retrieve the custom visualforce ...
user avatar
  • 197
0 votes
0 answers
633 views

Error : The approval process references the workflow action FieldUpdate #### which doesn't exist for the **** object

While deploying the Approval Process through Change Sets, I am facing this error at line 15(in img) : The approval process references the workflow action FieldUpdate Status_to_Complete, which doesn't ...
user avatar
  • 9
2 votes
4 answers
13k views

Cannot find the declaration of element

UPDATE: I'm started to seeing this error in the VS code and I have package manifest contains a single CustomLabels/Profile/tabs... The error I'm seeing when I open any of the metadata file cvc-elt.1....
user avatar
  • 6,559
1 vote
1 answer
215 views

When is it correct to use a <fullName> tag in a package.xml? What is the benefit of 'naming' an unmanaged package?

I am working on a project that involves deploying a sequence of Managed Packages and unmanaged packages (using an ant deployment). As I was onboarded to the project, I noticed the unmanaged package....
user avatar
0 votes
1 answer
338 views

Flexipage deployment error

Error while deploying the flexipage in 21 sandbox ,, it is working fine by retrieving from the VS code Kindly help error: Property 'itemInstances' not valid in version 46.0
user avatar
0 votes
1 answer
183 views

Retrieve record type label's translated value

I have translated record type label name in translation workbench but not able to retrieve it in package xml. record type is not coming in below xml: * CustomObjectTranslation How can I ...
user avatar
  • 277
1 vote
0 answers
142 views

Metadata API retrieve limit

I'm implementing a metadata backup system for a salesforce org. I have already implemented the retrieve process based on package.xml. However due to the size of the org the command with a unique ...
user avatar
2 votes
0 answers
31 views

Manifest retrieves fields that belongs to managed package and more

I would like to retrieve only the necessary data from my production org (which has several installed managed packages). But when I retrieve the data in my manifest (package.xml) from org in order to ...
user avatar
0 votes
1 answer
350 views

error ANT deploying flow which uses Winter '20 features

I edited and tested two flows in my SB that they now use the new Flow winter '20 feature whereby in 'Get Records' step I am letting SF automatically define the record variable (getCandidateQnRecord) ...
user avatar
  • 95
2 votes
0 answers
622 views

Specifying individual CustomField in package.xml (vscode) does not deploy to Org, but when retrieving by object it does?

When retrieving CustomFields in package.xml by specifying: <types> <members>ObjectName.FieldName__c</members> <name>CustomField</name> </types> They retrieve ...
user avatar
  • 163
0 votes
0 answers
2k views

VS code Package.xml not retrieving new components

I am trying to retrieve new components such as ApexClass through "sfdx retrieve source in manifest from org" on the package.xml (sample below), and it doesn't retrieve any new components ...
user avatar
  • 379
2 votes
1 answer
589 views

Salesforce Community Migration : The label must be unique. Remove duplicates in routes/sfdcPage.json and try again

I am trying to migrate community from one salesforce environment to another. I am not able to migrate since I am getting the below error during the migration of the ExperienceBundle. The error message ...
user avatar
  • 121
1 vote
1 answer
441 views

How to convert changes set to Package.xml?

We have previous deployments that took place in our Salesforce production org and we are now in transition to keep our metadata config changes in Git repos. I'm wondering if there is any easy way of ...
user avatar
  • 55
2 votes
0 answers
437 views

Did package.xml format change to package.xml-meta.xml?

I've been able to retrieve the manifest from my org for quite some time, but today it suddenly stopped working. And is expecting that I change the file path from package.xml --> package.xml-meta.xml. ...
user avatar
  • 1,258
2 votes
2 answers
463 views

Package.xml format to retrieve Messaging Templates

I have a Salesforce Service enabled Sandbox and I have created some messaging templates in Service Setup/Home/Channels/Messaging/Messaging Templates. I need to retrieve metadata related to those ...
user avatar
2 votes
1 answer
141 views

Profile xml file doesn't contain listed objects

I'm trying to retrieve XML profiles files, but the files I'm retrieving don't contain all object I listed in package.xml (especially Standard Objects). In the package.xml file I listed some standard ...
user avatar
  • 21
0 votes
1 answer
340 views

package.xml structure for custom fields of standard objects

I am having the below structure in Package.xml <types> <members>*</members> <members>Account</members> <name>CustomObject</name> &...
user avatar
2 votes
1 answer
2k views

I am getting this error: ERROR running force:source:deploy: The Flow named ListingID_Update was not found in the workspace

I am receiving this error while trying to deploy to a sandbox using sfdx source deploy commands. This the error: ERROR running force:source:deploy: The Flow named ListingID_Update was not ...
user avatar
  • 389
0 votes
1 answer
128 views

'CustomMetadataTypeAccesses' not valid in version 42

I'm trying to enable custom metada types to my permission sets in my metadata.xml file and deploy it to an org and I get this errir. I've tried updating API versions in my package.xml but still no ...
user avatar
  • 1
1 vote
1 answer
1k views

Changing the package.xml version to a different version

We have been performing out deployments with a package.xml that had a version of 42.0 and it was metadata API format scaffolding but we are trying to create a new deployment pipeline which will have a ...
user avatar
  • 183
1 vote
0 answers
1k views

Retrieve from package.xml listview

I am trying to retrieve a ListView from Event object in my sandbox but I am not able to do it. I can see it perfectly on workbench website. Sharing settings are set in "All users can see this list ...
user avatar
1 vote
0 answers
570 views

Error while deploying flexipages xml

Am facing issue while deploying lightning page related changes to other org using [flexipage]xml file. Error: All Component Failures: 1. flexipages/APTS_Quote_Record.flexipage -- Error: The ...
user avatar
  • 11
2 votes
1 answer
2k views

Generate the package.xml using a local project

I am trying to find a way to generate the package.xml using metadata stored locally on my machine without using any org. I have found a lot of alternatives when you want to generate a package.xml ...
user avatar
  • 685
2 votes
0 answers
854 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 ...
user avatar
  • 389
2 votes
2 answers
11k 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 ...
user avatar
0 votes
1 answer
532 views

Session Setting in Profile through metadata

Is this possible to update session-setting in profile using metadata deployment i.e through package.xml.
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 3,651
1 vote
2 answers
415 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 ...
user avatar
  • 4,532