Skip to main content

#SFDX Source토론 중인 항목 0개

Using sdfx pull command to pull a PersonAccount Matching Rule from a scratch org is having some issues. The pulled file (Account.matchingRule) is almost empty. Please find the content of the file below. As you can notice, the file doesn't have any meta information about my custom matching rule that I created in my scratch org. Any ideas? Is this an SFDX bug?

<?xml version="1.0" encoding="UTF-8" ?>

<MatchingRules xmlns="http://soap.sforce.com/2006/04/metadata" />

#SFDX CLI #Sfdx Command #Person Account #Matching Rule #Sfdx #SFDX Source

답변 5개
  1. 2024년 4월 1일 오전 3:54

    For anyone who comes here for a solution: To include PersonAccount Matching rule, you have to use PersonAccount.<MatchingRuleName>

    <types>

    <members>PersonAccount.Custom_Person_Account_Matching_Rule</members>

    <name>MatchingRule</name>

    </types>

    <types>

    <members>PersonAccount</members>

    <name>MatchingRules</name>

    </types>

0/9000

I pulled a sandbox using Salesforce CLI extensions for VS Code using sfdx : Retrieve Source in Manifest from Org command. Later when I right clicked on classes folder and selected SFDX: Retrieve Source from Org command, new classes created in sandbox recently does not get retrieved. Only the classes that are already present in the classes folder gets updated. Is this a known issue?

 

Command that runs:

sfdx force:source:retrieve --sourcepath d:\VS Code Workspaces\ENGAGE\uat\force-app\main\default\classes

0/9000