Questions tagged [package.xml]
The package.xml tag has no usage guidance.
143
questions
0
votes
1
answer
58
views
Cannot find layout
I am trying to retrieve a layout in FSL through package.xml from the Work Order object but the layout cannot be found.
I tried retrieving using this:
<types>
<members>WorkOrder-FSL ...
0
votes
0
answers
55
views
Retrieve the folders of dashboards/reports with vscode package.xml
I want to register a report folder using the package.xml in VScode and transfer the folders.
I entered the following source code in the package.xml, and when I performed a retrieve in the terminal, an ...
-1
votes
1
answer
33
views
How do I check the XML files for flows that access Browser session Ids pls?
I am new to Dev.
So far, I have retrieved the files from workbench.
How do I check the XML files for flows that access Browser session Ids pls?
I have VSCODE but don't know what to do next.
Thank you ...
0
votes
0
answers
22
views
Intent Set Deployment
Is there a way to deploy Intent Set from dev to production with all the existing utterance present in it.If it's possible can you share me an example of the package we need to create for that or if ...
0
votes
0
answers
39
views
How to mass remove Managed package Global Picklist values
I want to remove a Global Picklist Value set with +200 values that is part of a managed package.
I have tried this solution : Mass Delete Global Value Set Values
It did not work out because I ...
0
votes
1
answer
488
views
SFDX deploy , item not found in zipped directory
I am trying to use SFDX in visual studio code to deploy only changes , and not the entire source
I have changed flexipages, custommetadata and Layout
<?xml version="1.0" encoding="...
0
votes
1
answer
90
views
Upgrading a Second Generation Managed Package to next version
We have created a Second Generation Managed Package and published it in AppExchange and we need to release the next version with few changes in existing codes. These are the things which we don't ...
0
votes
1
answer
336
views
SFDX Deploy Multiple Manifest Package Files
I have multiple package xmls dependent on each other, they cannot be deployed individually, all components in all packages needs to merged & deployed at once, can we achieve this with sfdx ...
0
votes
0
answers
52
views
GitLab pipeline template which includes pre & post destructive changes
I have read through the Q&A. There are links pointing to the GitLab YAML template here and this outdated blog where trailhead no longer there. The lack of documentation for this GitLab integration ...
0
votes
1
answer
816
views
An object '' of type Dashboard was named in package.xml, but was not found in zipped directory
When I am trying to deploy a dashboard with its dashboard folder, I am receiving an error through package.xml. Below is the error:
Error SalesRepDashboardsTableauxdebord
An object '...
1
vote
1
answer
364
views
Package.xml to retrieve all flows is not retrieving recently created active flows
This is stumping me somewhat.
I am able to retrieve all flows using * in package.xml however any new flow I am creating as of the last few days is not being retrieved as a new flow meta file when ...
0
votes
1
answer
217
views
Chatter Email Settings - package.xml
I would like to export Chatter Email Settings via MDAPI (mainly Sender - From Name and Email Address), but I can't find the proper type name. ChatGPT suggested EmailServicesConfig, but retrieve doesn'...
0
votes
1
answer
173
views
/metadata/deployRequest API deployment status: No package.xml found
I'm trying to deploy an Apex Class using Postman and the /metadata/deployRequest API. I get a 201 response, but when I check the deployment status, I see the error "No package.xml found".
...
1
vote
2
answers
2k
views
Is it possible to define and add Picklist values to a Package.XML file
As a user, I would like to add the following picklist values for Opportunity Type.
Value 1 - New Business
Value 2 - Expansion
Value 3 - Renewal
Is there a way to define this in the package.xml so ...
2
votes
1
answer
124
views
Metadata Retrieve missing files
I am having an issue when retrieving a package using the Metadata API. I am trying to retrieve a package that has a flow in it. Here is a sample request:
<soapenv:Envelope
xmlns:soapenv="...
0
votes
0
answers
130
views
Package creation Error
I am trying to create a new version of the manage package and if i run the command
sfdx force:package:version:create --package "PackageName" --wait 10 --codecoverage --installationkeybypass ...
1
vote
1
answer
454
views
How to insert documents in Package.XML
How do you correctly insert documents (more specifically images in a document) in the package.xml manifest.
Scenario: I am trying to create an unlocked package and with that package, I would like to ...
0
votes
1
answer
887
views
Error deploying or retrieving source by package.xml
When I attempted to retrieve source by package.xml, I got this error:
Error deploying or retrieving source: The file or directory that you tried to deploy or retrieve isn't in a package
directory ...
1
vote
1
answer
125
views
Ant migration tool - keep track as Change Set
Is there a way to deploy meta data through ant migration tool and keep track of this deployment in salesforce?
In the same way as change set appear as inbound change set.
thanks,
1
vote
1
answer
3k
views
Deployment of custom app using package.xml
I work at project that consists of Lightning App including two Lightning Component Tab. I needed to deploy it to another org and continue working. I retrieved all necessary components using package....
0
votes
1
answer
615
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:...
0
votes
1
answer
373
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 ...
2
votes
1
answer
936
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, ...
0
votes
1
answer
679
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">
&...
0
votes
1
answer
277
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 ...
0
votes
0
answers
329
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 ...
0
votes
1
answer
267
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'...
1
vote
1
answer
169
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 ...
2
votes
2
answers
7k
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 ...
0
votes
0
answers
520
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/...
1
vote
2
answers
4k
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 ...
2
votes
0
answers
615
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 ...
1
vote
2
answers
1k
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 ...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
190
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 ...
4
votes
1
answer
920
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:
...
0
votes
1
answer
83
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 ...
1
vote
1
answer
309
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 ...
0
votes
0
answers
223
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:
&...
0
votes
2
answers
1k
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&...
0
votes
1
answer
312
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 ...
0
votes
0
answers
1k
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 ...
8
votes
6
answers
31k
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....
1
vote
1
answer
411
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....
0
votes
1
answer
612
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
0
votes
1
answer
578
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 ...
1
vote
0
answers
293
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 ...
3
votes
0
answers
131
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 ...
0
votes
1
answer
533
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) ...
2
votes
0
answers
2k
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 ...