Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Record Share Cascade for new Child Records

Posted on by Microsoft Employee

I am on CRM 2011. If I share Accounts with another user its Orders get Shared due to Cascade All on relationship Share.

Going forward if I create new Orders, those records are not shared with the users with whom the parent Account was shared.

Is this by design? 

How can I ensure these new records also obey the Cascade Share rule?

Thanks,

Jyotika.

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Record Share Cascade for new Child Records

    Hi Jyotika,

    Yes, this is an expected behaviour. The cascading relationship works when you perform an action on the parent record and not on child record.

    There is no OOB functionality which you can use to automatically share the new records. You need to build something custom. I think the following should work for you-

    1. Plugin which triggers on create.

    2. Within the plugin, You get the order entity from the target parameter.

    3. Then you retrieve the parent account of the order.

    4. Then  retrieve all the users & teams you get the parent account.

    5. Share the order with the above users & team.

    You can refer the following SDK sample-

    msdn.microsoft.com/.../hh547423.aspx

    You can read more about shring here-

    msdn.microsoft.com/.../gg334673.aspx

    Hope this helps.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Record Share Cascade for new Child Records

    I don't think so.. it's by design.. The link below might be a bit confusing:

    support.microsoft.com/.../in-microsoft-dynamics-crm-a-child-record-is-shared-unexpectedly-even-t

    But I'm posting it here to quote this:

    "The Cascade Sharing option is controlling only the sharing operation, which is not executed in this situation, as the sharing operation for the parent record has occurred before the creation of the child record."

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Record Share Cascade for new Child Records

    Hi Alex...

    So is there no way OOB that I can ensure new child records for a certain shared Account are shared as well?

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Record Share Cascade for new Child Records

    Cascade behavior is all about propagating the changes you make to the parent record to all its child records (through that relationship).

    In you scenario, there are no changes to the account.. So you will have to share those new orders manually or using a custom workflow activity / plugin (which you'll need to develop unless you can find a third-party solution for CRM 2011)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans