function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Alfredo OrnelasAlfredo Ornelas 

Salesforce DX not showing changes on OWD

Hi
I changed the OWD of a custom object from "Public Read/Write" to "Private". When using CLI command "sfdx force:source:pull" it's showing "No results found".

User-added image

Any ideas what I'm doing wrong? Is showing that I don't have changes on my scratch org when I do ...
Thanks for your help!
NagendraNagendra (Salesforce Developers) 
Hi Alfredo,

I am not sure if that supports on the DX. Alternatively what I tried is, making the changes on the local file. It would be on the local folder of your cloned repository. Identify the object Meta data and change the Sharing Model to Private "<sharingModel>ReadWrite</sharingModel>" and then on the CLI, if you see GIT Status, this file would be modified. Either you can push it to the scratch org or commit it.

Hope this helps.

Kindly mark this as solved if it's resolved.

Thanks,
Nagendra