Closed MarcDBehr closed 2 years ago
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Hey @MarcDBehr after a little investigating I found if I had ignored profiles
via the .forceignore
it wouldn't be part of the generated manifest. If I removed that entry in the .forceignore
it generated it correctly like
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Admin</members>
<name>Profile</name>
</types>
<version>55.0</version>
</Package>
vs with the .forceignore
entry present
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<version>55.0</version>
</Package>
@WillieRuemmele Looks like that was the issue... Duh! Thanks! Closing the issue
Summary
Running the command sfdx force:source:manifest:create --sourcepath "force-app/main/default/profiles/" --manifesttype package --outputdir [folder] results in an empty package.xml file.
Specifying a different sourcepath works fine, it only appears to be affecting Profiles
Steps To Reproduce:
Expected result
The package.xml file should contain the profiles from the source folder
Actual result
the package.xml file looks like:
System Information
Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.) bash - MacOS under Visudal Code
If you are using
sfdx
sfdx version --verbose --json
If you are using
sf
sf version --verbose --json
Additional information
Feel free to attach a screenshot.