Demo for sf-shaing-cli

Demo Plan

We like to change the external sharing for Account object from
Private to ReadWrite using: sf-sharing tool:
sf-sharing-cli (https://www.npmjs.com/package/sf-sharing-cli)

Steps

1. Create SFDX Project: e10


2. Prepare package.xml for reterival (custom_obj1.xml)


3. Perform retrieve for the custom_obj1.xml

 sf project retrieve start -x custom_obj1.xml -o ea10
 ────────────── Retrieving Metadata ──────────────

 Retrieving v60.0 metadata from mohan.chinnappan.n.ea10@gmail.com using the v65.0 SOAP API

 ✔ Preparing retrieve request 6ms
 ✔ Sending request to org 116ms
 ✔ Waiting for the org to respond 1.38s
 ✔ Done 0ms

 Status: Succeeded
 Elapsed Time: 1.49s


Retrieved Source
┌─────────┬───────────────────────────────────────────┬─────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ State   │ Name                                      │ Type            │ Path                                                                                                   │
├─────────┼───────────────────────────────────────────┼─────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Created │ Opportunity.New Sales Process             │ BusinessProcess │ force-app/main/default/objects/Opportunity/businessProcesses/New Sales                                 │
│         │                                           │                 │ Process.businessProcess-meta.xml                                                                       │
│ Created │ Account.AccountNumber                     │ CustomField     │ force-app/main/default/objects/Account/fields/AccountNumber.field-meta.xml                             │
│ Created │ Account.AccountSource                     │ CustomField     │ force-app/main/default/objects/Account/fields/AccountSource.field-meta.xml                             │
│ Created │ Account.Active__c                         │ CustomField     │ force-app/main/default/objects/Account/fields/Active__c.field-meta.xml                                 │
│ Created │ Account.AnnualRevenue                     │ CustomField     │ force-app/main/default/objects/Account/fields/AnnualRevenue.field-meta.xml                             │
│ Created │ Account.BillingAddress                    │ CustomField     │ force-app/main/default/objects/Account/fields/BillingAddress.field-meta.xml                            │
│ Created │ Account.ChannelProgramLevelName           │ CustomField     │ force-app/main/default/objects/Account/fields/ChannelProgramLevelName.field-meta.xml                   │
│ Created │ Account.ChannelProgramName                │ CustomField     │ force-app/main/default/objects/Account/fields/ChannelProgramName.field-meta.xml                        │
│ Created │ Account.CleanStatus                       │ CustomField     │ force-app/main/default/objects/Account/fields/CleanStatus.field-meta.xml                               │
│ Created │ Account.CustomerPriority__c               │ CustomField     │ force-app/main/default/objects/Account/fields/CustomerPriority__c.field-meta.xml                       │
│ Created │ Account.DandbCompanyId                    │ CustomField     │ force-app/main/default/objects/Account/fields/DandbCompanyId.field-meta.xml                            │
│ Created │ Account.Description                       │ CustomField     │ force-app/main/default/objects/Account/fields/Description.field-meta.xml                               │
│ Created │ Account.DunsNumber                        │ CustomField     │ force-app/main/default/objects/Account/fields/DunsNumber.field-meta.xml                                │
│ Created │ Account.Fax                               │ CustomField     │ force-app/main/default/objects/Account/fields/Fax.field-meta.xml                                       │
│ Created │ Account.Industry                          │ CustomField     │ force-app/main/default/objects/Account/fields/Industry.field-meta.xml                                  │
│ Created │ Account.IsCustomerPortal                  │ CustomField     │ force-app/main/default/objects/Account/fields/IsCustomerPortal.field-meta.xml                          │
│ Created │ Account.IsPartner                         │ CustomField     │ force-app/main/default/objects/Account/fields/IsPartner.field-meta.xml                                 │
│ Created │ Account.Jigsaw                            │ CustomField     │ force-app/main/default/objects/Account/fields/Jigsaw.field-meta.xml                                    │
│ Created │ Account.NaicsCode                         │ CustomField     │ force-app/main/default/objects/Account/fields/NaicsCode.field-meta.xml                                 │
│ Created │ Account.NaicsDesc                         │ CustomField     │ force-app/main/default/objects/Account/fields/NaicsDesc.field-meta.xml                                 │
│ Created │ Account.Name                              │ CustomField     │ force-app/main/default/objects/Account/fields/Name.field-meta.xml                                      │
│ Created │ Account.NumberOfEmployees                 │ CustomField     │ force-app/main/default/objects/Account/fields/NumberOfEmployees.field-meta.xml                         │
│ Created │ Account.NumberofLocations__c              │ CustomField     │ force-app/main/default/objects/Account/fields/NumberofLocations__c.field-meta.xml                      │
│ Created │ Account.OwnerId                           │ CustomField     │ force-app/main/default/objects/Account/fields/OwnerId.field-meta.xml                                   │
│ Created │ Account.Ownership                         │ CustomField     │ force-app/main/default/objects/Account/fields/Ownership.field-meta.xml                                 │
│ Created │ Account.ParentId                          │ CustomField     │ force-app/main/default/objects/Account/fields/ParentId.field-meta.xml                                  │
│ Created │ Account.Phone                             │ CustomField     │ force-app/main/default/objects/Account/fields/Phone.field-meta.xml                                     │
│ Created │ Account.Rating                            │ CustomField     │ force-app/main/default/objects/Account/fields/Rating.field-meta.xml                                    │
│ Created │ Account.SLAExpirationDate__c              │ CustomField     │ force-app/main/default/objects/Account/fields/SLAExpirationDate__c.field-meta.xml                      │
│ Created │ Account.SLASerialNumber__c                │ CustomField     │ force-app/main/default/objects/Account/fields/SLASerialNumber__c.field-meta.xml                        │
│ Created │ Account.SLA__c                            │ CustomField     │ force-app/main/default/objects/Account/fields/SLA__c.field-meta.xml                                    │
│ Created │ Account.Segment__c                        │ CustomField     │ force-app/main/default/objects/Account/fields/Segment__c.field-meta.xml                                │
│ Created │ Account.ShippingAddress                   │ CustomField     │ force-app/main/default/objects/Account/fields/ShippingAddress.field-meta.xml                           │
│ Created │ Account.Sic                               │ CustomField     │ force-app/main/default/objects/Account/fields/Sic.field-meta.xml                                       │
│ Created │ Account.SicDesc                           │ CustomField     │ force-app/main/default/objects/Account/fields/SicDesc.field-meta.xml                                   │
│ Created │ Account.Site                              │ CustomField     │ force-app/main/default/objects/Account/fields/Site.field-meta.xml                                      │
│ Created │ Account.TickerSymbol                      │ CustomField     │ force-app/main/default/objects/Account/fields/TickerSymbol.field-meta.xml                              │
│ Created │ Account.Tier                              │ CustomField     │ force-app/main/default/objects/Account/fields/Tier.field-meta.xml                                      │
│ Created │ Account.Tradestyle                        │ CustomField     │ force-app/main/default/objects/Account/fields/Tradestyle.field-meta.xml                                │
│ Created │ Account.Type                              │ CustomField     │ force-app/main/default/objects/Account/fields/Type.field-meta.xml                                      │
│ Created │ Account.UpsellOpportunity__c              │ CustomField     │ force-app/main/default/objects/Account/fields/UpsellOpportunity__c.field-meta.xml                      │
│ Created │ Account.Website                           │ CustomField     │ force-app/main/default/objects/Account/fields/Website.field-meta.xml                                   │
│ Created │ Account.YearStarted                       │ CustomField     │ force-app/main/default/objects/Account/fields/YearStarted.field-meta.xml                               │
│ Created │ Contact.AccountId                         │ CustomField     │ force-app/main/default/objects/Contact/fields/AccountId.field-meta.xml                                 │
│ Created │ Contact.AssistantName                     │ CustomField     │ force-app/main/default/objects/Contact/fields/AssistantName.field-meta.xml                             │
│ Created │ Contact.AssistantPhone                    │ CustomField     │ force-app/main/default/objects/Contact/fields/AssistantPhone.field-meta.xml                            │
│ Created │ Contact.Birthdate                         │ CustomField     │ force-app/main/default/objects/Contact/fields/Birthdate.field-meta.xml                                 │
│ Created │ Contact.BuyerAttributes                   │ CustomField     │ force-app/main/default/objects/Contact/fields/BuyerAttributes.field-meta.xml                           │
│ Created │ Contact.CleanStatus                       │ CustomField     │ force-app/main/default/objects/Contact/fields/CleanStatus.field-meta.xml                               │
│ Created │ Contact.ContactSource                     │ CustomField     │ force-app/main/default/objects/Contact/fields/ContactSource.field-meta.xml                             │
│ Created │ Contact.Department                        │ CustomField     │ force-app/main/default/objects/Contact/fields/Department.field-meta.xml                                │
│ Created │ Contact.Description                       │ CustomField     │ force-app/main/default/objects/Contact/fields/Description.field-meta.xml                               │
│ Created │ Contact.DoNotCall                         │ CustomField     │ force-app/main/default/objects/Contact/fields/DoNotCall.field-meta.xml                                 │
│ Created │ Contact.Email                             │ CustomField     │ force-app/main/default/objects/Contact/fields/Email.field-meta.xml                                     │
│ Created │ Contact.Fax                               │ CustomField     │ force-app/main/default/objects/Contact/fields/Fax.field-meta.xml                                       │
│ Created │ Contact.GenderIdentity                    │ CustomField     │ force-app/main/default/objects/Contact/fields/GenderIdentity.field-meta.xml                            │
│ Created │ Contact.HasOptedOutOfEmail                │ CustomField     │ force-app/main/default/objects/Contact/fields/HasOptedOutOfEmail.field-meta.xml                        │
│ Created │ Contact.HasOptedOutOfFax                  │ CustomField     │ force-app/main/default/objects/Contact/fields/HasOptedOutOfFax.field-meta.xml                          │
│ Created │ Contact.HomePhone                         │ CustomField     │ force-app/main/default/objects/Contact/fields/HomePhone.field-meta.xml                                 │
│ Created │ Contact.IndividualId                      │ CustomField     │ force-app/main/default/objects/Contact/fields/IndividualId.field-meta.xml                              │
│ Created │ Contact.Jigsaw                            │ CustomField     │ force-app/main/default/objects/Contact/fields/Jigsaw.field-meta.xml                                    │
│ Created │ Contact.Languages__c                      │ CustomField     │ force-app/main/default/objects/Contact/fields/Languages__c.field-meta.xml                              │
│ Created │ Contact.LastCURequestDate                 │ CustomField     │ force-app/main/default/objects/Contact/fields/LastCURequestDate.field-meta.xml                         │
│ Created │ Contact.LastCUUpdateDate                  │ CustomField     │ force-app/main/default/objects/Contact/fields/LastCUUpdateDate.field-meta.xml                          │
│ Created │ Contact.LeadSource                        │ CustomField     │ force-app/main/default/objects/Contact/fields/LeadSource.field-meta.xml                                │
│ Created │ Contact.Level__c                          │ CustomField     │ force-app/main/default/objects/Contact/fields/Level__c.field-meta.xml                                  │
│ Created │ Contact.MailingAddress                    │ CustomField     │ force-app/main/default/objects/Contact/fields/MailingAddress.field-meta.xml                            │
│ Created │ Contact.MobilePhone                       │ CustomField     │ force-app/main/default/objects/Contact/fields/MobilePhone.field-meta.xml                               │
│ Created │ Contact.Name                              │ CustomField     │ force-app/main/default/objects/Contact/fields/Name.field-meta.xml                                      │
│ Created │ Contact.OtherAddress                      │ CustomField     │ force-app/main/default/objects/Contact/fields/OtherAddress.field-meta.xml                              │
│ Created │ Contact.OtherPhone                        │ CustomField     │ force-app/main/default/objects/Contact/fields/OtherPhone.field-meta.xml                                │
│ Created │ Contact.OwnerId                           │ CustomField     │ force-app/main/default/objects/Contact/fields/OwnerId.field-meta.xml                                   │
│ Created │ Contact.Phone                             │ CustomField     │ force-app/main/default/objects/Contact/fields/Phone.field-meta.xml                                     │
│ Created │ Contact.Pronouns                          │ CustomField     │ force-app/main/default/objects/Contact/fields/Pronouns.field-meta.xml                                  │
│ Created │ Contact.ReportsToId                       │ CustomField     │ force-app/main/default/objects/Contact/fields/ReportsToId.field-meta.xml                               │
│ Created │ Contact.Title                             │ CustomField     │ force-app/main/default/objects/Contact/fields/Title.field-meta.xml                                     │
│ Created │ Opportunity.AccountId                     │ CustomField     │ force-app/main/default/objects/Opportunity/fields/AccountId.field-meta.xml                             │
│ Created │ Opportunity.Amount                        │ CustomField     │ force-app/main/default/objects/Opportunity/fields/Amount.field-meta.xml                                │
│ Created │ Opportunity.CampaignId                    │ CustomField     │ force-app/main/default/objects/Opportunity/fields/CampaignId.field-meta.xml                            │
│ Created │ Opportunity.CloseDate                     │ CustomField     │ force-app/main/default/objects/Opportunity/fields/CloseDate.field-meta.xml                             │
│ Created │ Opportunity.ContractId                    │ CustomField     │ force-app/main/default/objects/Opportunity/fields/ContractId.field-meta.xml                            │
│ Created │ Opportunity.CurrentGenerators__c          │ CustomField     │ force-app/main/default/objects/Opportunity/fields/CurrentGenerators__c.field-meta.xml                  │
│ Created │ Opportunity.DeliveryInstallationStatus__c │ CustomField     │ force-app/main/default/objects/Opportunity/fields/DeliveryInstallationStatus__c.field-meta.xml         │
│ Created │ Opportunity.Description                   │ CustomField     │ force-app/main/default/objects/Opportunity/fields/Description.field-meta.xml                           │
│ Created │ Opportunity.ExpectedRevenue               │ CustomField     │ force-app/main/default/objects/Opportunity/fields/ExpectedRevenue.field-meta.xml                       │
│ Created │ Opportunity.IqScore                       │ CustomField     │ force-app/main/default/objects/Opportunity/fields/IqScore.field-meta.xml                               │
│ Created │ Opportunity.IsPrivate                     │ CustomField     │ force-app/main/default/objects/Opportunity/fields/IsPrivate.field-meta.xml                             │
│ Created │ Opportunity.LeadSource                    │ CustomField     │ force-app/main/default/objects/Opportunity/fields/LeadSource.field-meta.xml                            │
│ Created │ Opportunity.MainCompetitors__c            │ CustomField     │ force-app/main/default/objects/Opportunity/fields/MainCompetitors__c.field-meta.xml                    │
│ Created │ Opportunity.Name                          │ CustomField     │ force-app/main/default/objects/Opportunity/fields/Name.field-meta.xml                                  │
│ Created │ Opportunity.NextStep                      │ CustomField     │ force-app/main/default/objects/Opportunity/fields/NextStep.field-meta.xml                              │
│ Created │ Opportunity.Opportunity_Source__c         │ CustomField     │ force-app/main/default/objects/Opportunity/fields/Opportunity_Source__c.field-meta.xml                 │
│ Created │ Opportunity.OrderNumber__c                │ CustomField     │ force-app/main/default/objects/Opportunity/fields/OrderNumber__c.field-meta.xml                        │
│ Created │ Opportunity.OwnerId                       │ CustomField     │ force-app/main/default/objects/Opportunity/fields/OwnerId.field-meta.xml                               │
│ Created │ Opportunity.PartnerAccountId              │ CustomField     │ force-app/main/default/objects/Opportunity/fields/PartnerAccountId.field-meta.xml                      │
│ Created │ Opportunity.Pricebook2Id                  │ CustomField     │ force-app/main/default/objects/Opportunity/fields/Pricebook2Id.field-meta.xml                          │
│ Created │ Opportunity.Probability                   │ CustomField     │ force-app/main/default/objects/Opportunity/fields/Probability.field-meta.xml                           │
│ Created │ Opportunity.StageName                     │ CustomField     │ force-app/main/default/objects/Opportunity/fields/StageName.field-meta.xml                             │
│ Created │ Opportunity.TotalOpportunityQuantity      │ CustomField     │ force-app/main/default/objects/Opportunity/fields/TotalOpportunityQuantity.field-meta.xml              │
│ Created │ Opportunity.TrackingNumber__c             │ CustomField     │ force-app/main/default/objects/Opportunity/fields/TrackingNumber__c.field-meta.xml                     │
│ Created │ Opportunity.Type                          │ CustomField     │ force-app/main/default/objects/Opportunity/fields/Type.field-meta.xml                                  │
│ Created │ Account                                   │ CustomObject    │ force-app/main/default/objects/Account/Account.object-meta.xml                                         │
│ Created │ Contact                                   │ CustomObject    │ force-app/main/default/objects/Contact/Contact.object-meta.xml                                         │
│ Created │ Opportunity                               │ CustomObject    │ force-app/main/default/objects/Opportunity/Opportunity.object-meta.xml                                 │
│ Created │ Account.AllAccounts                       │ ListView        │ force-app/main/default/objects/Account/listViews/AllAccounts.listView-meta.xml                         │
│ Created │ Account.MyAccounts                        │ ListView        │ force-app/main/default/objects/Account/listViews/MyAccounts.listView-meta.xml                          │
│ Created │ Account.NewLastWeek                       │ ListView        │ force-app/main/default/objects/Account/listViews/NewLastWeek.listView-meta.xml                         │
│ Created │ Account.NewThisWeek                       │ ListView        │ force-app/main/default/objects/Account/listViews/NewThisWeek.listView-meta.xml                         │
│ Created │ Account.PlatinumandGoldSLACustomers       │ ListView        │ force-app/main/default/objects/Account/listViews/PlatinumandGoldSLACustomers.listView-meta.xml         │
│ Created │ Contact.AllContacts                       │ ListView        │ force-app/main/default/objects/Contact/listViews/AllContacts.listView-meta.xml                         │
│ Created │ Contact.BirthdaysThisMonth                │ ListView        │ force-app/main/default/objects/Contact/listViews/BirthdaysThisMonth.listView-meta.xml                  │
│ Created │ Contact.MyContacts                        │ ListView        │ force-app/main/default/objects/Contact/listViews/MyContacts.listView-meta.xml                          │
│ Created │ Contact.NewLastWeek                       │ ListView        │ force-app/main/default/objects/Contact/listViews/NewLastWeek.listView-meta.xml                         │
│ Created │ Contact.NewThisWeek                       │ ListView        │ force-app/main/default/objects/Contact/listViews/NewThisWeek.listView-meta.xml                         │
│ Created │ Opportunity.AllOpportunities              │ ListView        │ force-app/main/default/objects/Opportunity/listViews/AllOpportunities.listView-meta.xml                │
│ Created │ Opportunity.ClosingNextMonth              │ ListView        │ force-app/main/default/objects/Opportunity/listViews/ClosingNextMonth.listView-meta.xml                │
│ Created │ Opportunity.ClosingThisMonth              │ ListView        │ force-app/main/default/objects/Opportunity/listViews/ClosingThisMonth.listView-meta.xml                │
│ Created │ Opportunity.Default_Opportunity_Pipeline  │ ListView        │ force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml    │
│ Created │ Opportunity.MyOpportunities               │ ListView        │ force-app/main/default/objects/Opportunity/listViews/MyOpportunities.listView-meta.xml                 │
│ Created │ Opportunity.NewLastWeek                   │ ListView        │ force-app/main/default/objects/Opportunity/listViews/NewLastWeek.listView-meta.xml                     │
│ Created │ Opportunity.NewThisWeek                   │ ListView        │ force-app/main/default/objects/Opportunity/listViews/NewThisWeek.listView-meta.xml                     │
│ Created │ Opportunity.Private                       │ ListView        │ force-app/main/default/objects/Opportunity/listViews/Private.listView-meta.xml                         │
│ Created │ Opportunity.Won                           │ ListView        │ force-app/main/default/objects/Opportunity/listViews/Won.listView-meta.xml                             │
│ Created │ Opportunity.Record_Type                   │ RecordType      │ force-app/main/default/objects/Opportunity/recordTypes/Record_Type.recordType-meta.xml                 │
│ Created │ Account.Billing                           │ WebLink         │ force-app/main/default/objects/Account/webLinks/Billing.webLink-meta.xml                               │
│ Created │ Opportunity.DeliveryStatus                │ WebLink         │ force-app/main/default/objects/Opportunity/webLinks/DeliveryStatus.webLink-meta.xml                    │
└─────────┴───────────────────────────────────────────┴─────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘


    

4. Sharing settings before (Look at Account Object)

5. Run the sf-sharing read
        sf-sharing read -p .
      

CSV File created by the tool (sharing-models.csv)

Update the CSV File created by the tool (sharing-models.csv)


6. Run the sf-sharing write:[]
sf-sharing write -p . -c sharing-models.csv 
✅ Updated: Account (externalSharingModel: Private → ReadWrite)
ℹ️  No change required for: Contact
ℹ️  No change required for: Opportunity

📦 Created: /Users/mchinnappan/projects/e10/package.xml

🚀 To deploy changes, validate first:
   sf project deploy validate -x package.xml -w 30 -o 

   Then deploy with:
   sf project deploy start -x package.xml -w 30 -o 

      


7. Look at the pacakge.xml created by tool

8. Perform deploy operation with the tool created package.xml


 sf project deploy start -x package.xml -w 30 -o ea10      

 ─────────────── Deploying Metadata ───────────────

 Deploying v64.0 metadata to mohan.chinnappan.n.ea10@gmail.com using the v65.0 SOAP API.

 ✔ Preparing 111ms
 ◯ Waiting for the org to respond - Skipped
 ✔ Deploying Metadata 5.24s
   ▸ Components: 49/49 (100%)
 ◯ Running Tests - Skipped
 ◯ Updating Source Tracking - Skipped
 ✔ Done 0ms

 Status: Succeeded
 Deploy ID: 0AfHs00002vVJxQKAW
 Target Org: mohan.chinnappan.n.ea10@gmail.com
 Elapsed Time: 5.35s


Deployed Source
┌───────────┬─────────────────────────────────────┬──────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┐
│ State     │ Name                                │ Type         │ Path                                                                                           │
├───────────┼─────────────────────────────────────┼──────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Unchanged │ Account.AccountNumber               │ CustomField  │ force-app/main/default/objects/Account/fields/AccountNumber.field-meta.xml                     │
│ Unchanged │ Account.AccountSource               │ CustomField  │ force-app/main/default/objects/Account/fields/AccountSource.field-meta.xml                     │
│ Unchanged │ Account.Active__c                   │ CustomField  │ force-app/main/default/objects/Account/fields/Active__c.field-meta.xml                         │
│ Unchanged │ Account.AnnualRevenue               │ CustomField  │ force-app/main/default/objects/Account/fields/AnnualRevenue.field-meta.xml                     │
│ Unchanged │ Account.BillingAddress              │ CustomField  │ force-app/main/default/objects/Account/fields/BillingAddress.field-meta.xml                    │
│ Unchanged │ Account.ChannelProgramLevelName     │ CustomField  │ force-app/main/default/objects/Account/fields/ChannelProgramLevelName.field-meta.xml           │
│ Unchanged │ Account.ChannelProgramName          │ CustomField  │ force-app/main/default/objects/Account/fields/ChannelProgramName.field-meta.xml                │
│ Unchanged │ Account.CleanStatus                 │ CustomField  │ force-app/main/default/objects/Account/fields/CleanStatus.field-meta.xml                       │
│ Unchanged │ Account.CustomerPriority__c         │ CustomField  │ force-app/main/default/objects/Account/fields/CustomerPriority__c.field-meta.xml               │
│ Unchanged │ Account.DandbCompanyId              │ CustomField  │ force-app/main/default/objects/Account/fields/DandbCompanyId.field-meta.xml                    │
│ Unchanged │ Account.Description                 │ CustomField  │ force-app/main/default/objects/Account/fields/Description.field-meta.xml                       │
│ Unchanged │ Account.DunsNumber                  │ CustomField  │ force-app/main/default/objects/Account/fields/DunsNumber.field-meta.xml                        │
│ Unchanged │ Account.Fax                         │ CustomField  │ force-app/main/default/objects/Account/fields/Fax.field-meta.xml                               │
│ Unchanged │ Account.Industry                    │ CustomField  │ force-app/main/default/objects/Account/fields/Industry.field-meta.xml                          │
│ Unchanged │ Account.IsCustomerPortal            │ CustomField  │ force-app/main/default/objects/Account/fields/IsCustomerPortal.field-meta.xml                  │
│ Unchanged │ Account.IsPartner                   │ CustomField  │ force-app/main/default/objects/Account/fields/IsPartner.field-meta.xml                         │
│ Unchanged │ Account.Jigsaw                      │ CustomField  │ force-app/main/default/objects/Account/fields/Jigsaw.field-meta.xml                            │
│ Unchanged │ Account.NaicsCode                   │ CustomField  │ force-app/main/default/objects/Account/fields/NaicsCode.field-meta.xml                         │
│ Unchanged │ Account.NaicsDesc                   │ CustomField  │ force-app/main/default/objects/Account/fields/NaicsDesc.field-meta.xml                         │
│ Unchanged │ Account.Name                        │ CustomField  │ force-app/main/default/objects/Account/fields/Name.field-meta.xml                              │
│ Unchanged │ Account.NumberOfEmployees           │ CustomField  │ force-app/main/default/objects/Account/fields/NumberOfEmployees.field-meta.xml                 │
│ Unchanged │ Account.NumberofLocations__c        │ CustomField  │ force-app/main/default/objects/Account/fields/NumberofLocations__c.field-meta.xml              │
│ Unchanged │ Account.OwnerId                     │ CustomField  │ force-app/main/default/objects/Account/fields/OwnerId.field-meta.xml                           │
│ Unchanged │ Account.Ownership                   │ CustomField  │ force-app/main/default/objects/Account/fields/Ownership.field-meta.xml                         │
│ Unchanged │ Account.ParentId                    │ CustomField  │ force-app/main/default/objects/Account/fields/ParentId.field-meta.xml                          │
│ Unchanged │ Account.Phone                       │ CustomField  │ force-app/main/default/objects/Account/fields/Phone.field-meta.xml                             │
│ Unchanged │ Account.Rating                      │ CustomField  │ force-app/main/default/objects/Account/fields/Rating.field-meta.xml                            │
│ Unchanged │ Account.SLAExpirationDate__c        │ CustomField  │ force-app/main/default/objects/Account/fields/SLAExpirationDate__c.field-meta.xml              │
│ Unchanged │ Account.SLASerialNumber__c          │ CustomField  │ force-app/main/default/objects/Account/fields/SLASerialNumber__c.field-meta.xml                │
│ Unchanged │ Account.SLA__c                      │ CustomField  │ force-app/main/default/objects/Account/fields/SLA__c.field-meta.xml                            │
│ Unchanged │ Account.Segment__c                  │ CustomField  │ force-app/main/default/objects/Account/fields/Segment__c.field-meta.xml                        │
│ Unchanged │ Account.ShippingAddress             │ CustomField  │ force-app/main/default/objects/Account/fields/ShippingAddress.field-meta.xml                   │
│ Unchanged │ Account.Sic                         │ CustomField  │ force-app/main/default/objects/Account/fields/Sic.field-meta.xml                               │
│ Unchanged │ Account.SicDesc                     │ CustomField  │ force-app/main/default/objects/Account/fields/SicDesc.field-meta.xml                           │
│ Unchanged │ Account.Site                        │ CustomField  │ force-app/main/default/objects/Account/fields/Site.field-meta.xml                              │
│ Unchanged │ Account.TickerSymbol                │ CustomField  │ force-app/main/default/objects/Account/fields/TickerSymbol.field-meta.xml                      │
│ Unchanged │ Account.Tier                        │ CustomField  │ force-app/main/default/objects/Account/fields/Tier.field-meta.xml                              │
│ Unchanged │ Account.Tradestyle                  │ CustomField  │ force-app/main/default/objects/Account/fields/Tradestyle.field-meta.xml                        │
│ Unchanged │ Account.Type                        │ CustomField  │ force-app/main/default/objects/Account/fields/Type.field-meta.xml                              │
│ Unchanged │ Account.UpsellOpportunity__c        │ CustomField  │ force-app/main/default/objects/Account/fields/UpsellOpportunity__c.field-meta.xml              │
│ Unchanged │ Account.Website                     │ CustomField  │ force-app/main/default/objects/Account/fields/Website.field-meta.xml                           │
│ Unchanged │ Account.YearStarted                 │ CustomField  │ force-app/main/default/objects/Account/fields/YearStarted.field-meta.xml                       │
│ Changed   │ Account <---                        │ CustomObject │ force-app/main/default/objects/Account/Account.object-meta.xml                                 │
│ Unchanged │ Account.AllAccounts                 │ ListView     │ force-app/main/default/objects/Account/listViews/AllAccounts.listView-meta.xml                 │
│ Unchanged │ Account.MyAccounts                  │ ListView     │ force-app/main/default/objects/Account/listViews/MyAccounts.listView-meta.xml                  │
│ Unchanged │ Account.NewLastWeek                 │ ListView     │ force-app/main/default/objects/Account/listViews/NewLastWeek.listView-meta.xml                 │
│ Unchanged │ Account.NewThisWeek                 │ ListView     │ force-app/main/default/objects/Account/listViews/NewThisWeek.listView-meta.xml                 │
│ Unchanged │ Account.PlatinumandGoldSLACustomers │ ListView     │ force-app/main/default/objects/Account/listViews/PlatinumandGoldSLACustomers.listView-meta.xml │
│ Unchanged │ Account.Billing                     │ WebLink      │ force-app/main/default/objects/Account/webLinks/Billing.webLink-meta.xml                       │
└───────────┴─────────────────────────────────────┴──────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┘



      
Email from Salesforce:
-----------------------------
Processing complete

support@salesforce.com 
8:45 AM to me

Your request to change your organization-wide sharing defaults has successfully completed.

Thank You,
Salesforce, Inc

      

9. Sharing settings After (Look at Account Object)

Run sf-sharing read:

sf-sharing read -p .
✅ CSV file created: /Users/mchinnappan/projects/e10/sharing-models.csv
✅ HTML report created: /Users/mchinnappan/projects/e10/sharing-models-report.html