3

I have a problem. I am trying to deploy a bunch of stuff to a sandbox, and getting

ControlledByParent is not a valid sharing model for Asset

Problems are:

  1. Assets absolutely accept “Controlled By Parent” as an allowed value
  2. The Asset object is already set to “Controlled by Parent” in the dest. org
  3. This has worked in two Dev sandboxes already. The problem occurs while hitting a Partial Copy sandbox

Also, note that I am deploying the Account object and all the asset fields in the same deploy, so the typical workaround (add the M/D field to the deploy) does not apply here.

PS: I am using sfdx to deploy, against source-tracked sandboxes. This could be related to the fact that STSboxes is a beta feature but I am curious to see if anybody has seen this yet

3
  • 2
    I haven't seen this issue but one thing I would try is to change the help text or description slightly for Account field on Asset to mark it as changed and ensure it is not left by SFDX from deploy. Then try the deploy again.
    – manjit5190
    Sep 16 '20 at 21:21
  • That’s a good suggestion, will give it a shot Sep 17 '20 at 14:27
  • @SebastianKessel were you able to solve this?
    – McD
    Aug 19 at 18:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.