You need to sign in to do that
Don't have an account?
Eric S Scott
SFDX Custom Object external sharing access doesn't take with 1st Source:Push
Hello,
When using force:source:push for pushing a custom with <externalSharingModel>Private</externalSharingModel> into a scratch org with "features": [ "Communities", "ExternalSharing", "AuthorApex" ] it "succeeds". However the object does not reflect the proper external sharing access. Thus the ObjectsName__Share object is not available to subsequent APEX classes that may be using.
I've posted a simple example project in bitbucket here that have simple reproduce and work around instructions in the Readme.md.
Has anyone any insights into whether I am missing some critical Meta data / XML?
Thanks.
When using force:source:push for pushing a custom with <externalSharingModel>Private</externalSharingModel> into a scratch org with "features": [ "Communities", "ExternalSharing", "AuthorApex" ] it "succeeds". However the object does not reflect the proper external sharing access. Thus the ObjectsName__Share object is not available to subsequent APEX classes that may be using.
I've posted a simple example project in bitbucket here that have simple reproduce and work around instructions in the Readme.md.
Has anyone any insights into whether I am missing some critical Meta data / XML?
Thanks.
thanks,
Eric
This is great for step 1, however, we can't package b/c one of our dependencies requires an external sharing model on Account.
Packaging is trying to spin up a new org and install all the dependencies.
sfdx-project.json