TransWikia.com

SFDX enable Asset Sharing Scratch org

Salesforce Asked by Mitch Spano on November 13, 2021

How can we enable Asset Sharing as we create a scratch org?

The only way I know to enable it is by switching to classic and navigating to it on the Setup menu. I would like to script this or define it in the project-scratch-def.json so I can spin up a scratch org as a pre-commit hook.

One Answer

you can add it in the project-scratch-def.json. Just add the following there.

"sharingSettings": {
    "enableAssetSharing": true
}

Answered by Patrick on November 13, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP