Skip to main content

Questions tagged [package.xml]

The tag has no usage guidance.

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

Same sf cli command works locally but not in Github Action

I have this command in the Github Action workflow sf project deploy validate -x delta/package/package.xml -l RunSpecifiedTests -t randomClassTest Scenario: I deploy a new Apex class. I received this ...
Pam's user avatar
  • 107
1 vote
1 answer
46 views

Why is Salesforce example for package.xml manifest files referencing http links instead of https links?

In Salesforce help article, all their links are referencing the http link like so : <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/...
compski's user avatar
  • 1,352
0 votes
0 answers
63 views

unable to see object from installed package in profile in visual studio code salesforce once retrieved

I have a small issue I can't seem to figure out a solution for. I am unable to see objects from managed packages in VSC in Profiles, they are not showing when I try to check the permissions for them. ...
Simona Croitoru's user avatar
0 votes
1 answer
226 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 ...
Jaemy Malik's user avatar
0 votes
0 answers
284 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 ...
Mitsunori's user avatar
-1 votes
1 answer
54 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 ...
yessie's user avatar
  • 1
0 votes
0 answers
90 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 ...
Arka Kundu's user avatar
0 votes
0 answers
122 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 ...
Alpar.Balo's user avatar
1 vote
3 answers
6k 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="...
Jay Rizzi's user avatar
  • 465
0 votes
1 answer
206 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 ...
S1th's user avatar
  • 143
0 votes
3 answers
1k 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 ...
Achal Urankar's user avatar
0 votes
0 answers
138 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 ...
compski's user avatar
  • 1,352
0 votes
1 answer
2k 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 '...
Dips's user avatar
  • 1
1 vote
1 answer
1k 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 ...
APJ3nk1n5on's user avatar
1 vote
1 answer
318 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'...
ddddd's user avatar
  • 13
0 votes
1 answer
309 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". ...
Brandon DeMatteis's user avatar
1 vote
2 answers
3k 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 ...
andrew's user avatar
  • 149
2 votes
1 answer
152 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="...
Jasper Madrone's user avatar
0 votes
0 answers
148 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 ...
Aditya Sehgal's user avatar
1 vote
1 answer
747 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 ...
andrew's user avatar
  • 149
0 votes
2 answers
1k 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 ...
Tuấn Trần quốc's user avatar
1 vote
1 answer
133 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,
Raphael D's user avatar
  • 616
2 votes
1 answer
5k 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....
Maciej Król's user avatar
0 votes
1 answer
777 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:...
Satyam Kumar's user avatar
0 votes
1 answer
481 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 ...
Venkatesh Kodati's user avatar
2 votes
1 answer
1k 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, ...
user2018's user avatar
  • 351
0 votes
1 answer
848 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"> &...
Strong Like Bull's user avatar
0 votes
1 answer
378 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 ...
Art S's user avatar
  • 311
0 votes
0 answers
355 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 ...
henrynguyen's user avatar
0 votes
1 answer
308 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'...
Alex T's user avatar
  • 3
1 vote
1 answer
179 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 ...
Kaliforce's user avatar
2 votes
2 answers
9k 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 ...
user3499987's user avatar
0 votes
1 answer
687 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/...
jonny-harte's user avatar
1 vote
3 answers
6k 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 ...
user82573's user avatar
2 votes
0 answers
638 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 ...
Hemant Pareek's user avatar
1 vote
2 answers
2k 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 ...
MadameEvil's user avatar
1 vote
1 answer
2k 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 ...
KSL's user avatar
  • 522
0 votes
0 answers
213 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 ...
Andrej Mondocko's user avatar
4 votes
1 answer
963 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: ...
Olivia's user avatar
  • 3,471
0 votes
1 answer
87 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 ...
Meenu rosy's user avatar
1 vote
1 answer
354 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 ...
Salesforce Newbie's user avatar
0 votes
0 answers
300 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: &...
Zero's user avatar
  • 123
0 votes
2 answers
2k 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&...
SFDC-Beginner's user avatar
0 votes
1 answer
396 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 ...
Hunt's user avatar
  • 245
0 votes
0 answers
2k 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 ...
Deep's user avatar
  • 9
9 votes
6 answers
37k 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....
Nick's user avatar
  • 7,064
1 vote
1 answer
464 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....
markwilland's user avatar
0 votes
1 answer
722 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
timojhi's user avatar
0 votes
1 answer
775 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 ...
Raj SF's user avatar
  • 327
1 vote
0 answers
370 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 ...
Ivano Guerini's user avatar