{"id":7020,"date":"2020-03-14T14:36:33","date_gmt":"2020-03-14T18:36:33","guid":{"rendered":"https:\/\/www.jitendrazaa.com\/blog\/?p=7020"},"modified":"2020-03-14T14:37:41","modified_gmt":"2020-03-14T18:37:41","slug":"sharing-records-in-partner-community-from-different-accounts","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/sharing-records-in-partner-community-from-different-accounts\/","title":{"rendered":"Sharing records in partner community from different Accounts"},"content":{"rendered":"\n<p class=\"justify\">As we know there are limited options to share records between community users. <\/p>\n\n\n\n<p class=\"justify\">For Customer Community , we can use Sharing set or Sharing Group.<\/p>\n\n\n\n<p class=\"justify\">For Customer Community Plus &amp; Partner Community we can use role &amp; Sharing rule. Maximum role that community can have is 3 per account and thats limitation there as well.<\/p>\n\n\n\n<p>Now , lets assume below scenario<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"851\" height=\"153\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/03\/Account-Relationship-Data-Sharing-Rule.png?resize=851%2C153&#038;ssl=1\" alt=\"\" class=\"wp-image-7021\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/03\/Account-Relationship-Data-Sharing-Rule.png?w=851&amp;ssl=1 851w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/03\/Account-Relationship-Data-Sharing-Rule.png?resize=300%2C54&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/03\/Account-Relationship-Data-Sharing-Rule.png?resize=768%2C138&amp;ssl=1 768w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/figure>\n\n\n\n<!--more-->\n\n\n\n<p class=\"justify\">Let&#8217;s assume, user Pat Stumuller wants to see either few or all Opportunity from Account Edge Communications. Point to note here &#8211; Org wide sharing default is private and Pat does not belong to Edge Communications.<\/p>\n\n\n\n<p>So, what could be the options ?<\/p>\n\n\n\n<p class=\"justify\"><a href=\"https:\/\/help.salesforce.com\/articleView?id=networks_partner_account_relationships_and_sharing.htm&amp;type=5\">Account relationship data sharing rule <\/a>is perfect solution in this case without writing any code. I&#8217;ve created below video explaining how it all fits together.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Granular level record sharing with community users without Apex based sharing - Salesforce\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/pKaMGNs0DSc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><strong>Resources :<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/help.salesforce.com\/articleView?id=networks_partner_account_relationships_and_sharing.htm&amp;type=5\">Account Relationships &amp; Account Relationship Data Sharing Rules<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>As we know there are limited options to share records between community users. For Customer Community , we can use Sharing set or Sharing Group. For Customer Community Plus &amp; Partner Community we can use role &amp; Sharing rule. Maximum role that community can have is 3 per account and thats limitation there as well. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7022,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[60,364,497,212],"class_list":["post-7020","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-salesforce","tag-community","tag-security","tag-sharing","tag-video-tutorial"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2020\/03\/Using-Account-Relationship-Data-Sharing-Rule.png?fit=708%2C458&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":7784,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/7-ways-to-secure-experience-cloud\/","url_meta":{"origin":7020,"position":0},"title":"7 Ways to Secure Experience Cloud","author":"Jitendra","date":"April 29, 2023","format":false,"excerpt":"Experience cloud is a powerful feature on the Salesforce platform where you can expose a subset of data and capabilities for external users as well as some capabilities for unauthenticated public users. This extremely powerful capability comes with huge responsibility, which is setting up the right security. By this time,\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"7 Ways to Secure Experience Cloud","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/7-Ways-to-Secure-Experience-Cloud.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/7-Ways-to-Secure-Experience-Cloud.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/7-Ways-to-Secure-Experience-Cloud.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/7-Ways-to-Secure-Experience-Cloud.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/7-Ways-to-Secure-Experience-Cloud.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":7778,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/when-to-use-multiple-experience-cloud-vs-audience\/","url_meta":{"origin":7020,"position":1},"title":"When to use Multiple Experience Cloud vs Audience","author":"Jitendra","date":"April 26, 2023","format":false,"excerpt":"What to use for user segmentation in Salesforce - multiple Experience Cloud vs Audience","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce experience cloud vs Audience","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/Salesforce-experieince-cloud.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/Salesforce-experieince-cloud.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/Salesforce-experieince-cloud.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/Salesforce-experieince-cloud.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2023\/04\/Salesforce-experieince-cloud.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":6777,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/enterprise-territory-management-key-notes\/","url_meta":{"origin":7020,"position":2},"title":"Enterprise Territory Management &#8211; Key Notes","author":"Jitendra","date":"February 11, 2019","format":false,"excerpt":"How to use Apex based sharing to share opportunity using Territories","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Territory Management - Data Model","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2019\/02\/Territory-Management-Data-Model.png?fit=1160%2C760&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2019\/02\/Territory-Management-Data-Model.png?fit=1160%2C760&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2019\/02\/Territory-Management-Data-Model.png?fit=1160%2C760&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2019\/02\/Territory-Management-Data-Model.png?fit=1160%2C760&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2019\/02\/Territory-Management-Data-Model.png?fit=1160%2C760&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3427,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-winter-14-new-features\/","url_meta":{"origin":7020,"position":3},"title":"Salesforce Winter 14 &#8211; New Features","author":"Jitendra","date":"August 27, 2013","format":false,"excerpt":"Major Area of Release: Developer Console Canvas HTML5 Support in Visualforce Deployment related features like improved deployment Monitoring New Database methods to get records deleted , updated in specific time Renaming \"Service Cloud Console\"\u009d is renamed to \"Salesforce Console for Service\"\u009d \"Configuration Only\"\u009d sandbox renamed to \"Developer Pro\"\u009d \"Agent Configuration\"\u009d\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Winter 14","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2013\/08\/Win-14-Logo.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3855,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/large-data-volumes-ldv-in-salesforce\/","url_meta":{"origin":7020,"position":4},"title":"Large Data Volumes (LDV) in Salesforce | FAQs | Interview Questions","author":"Jitendra","date":"April 18, 2014","format":false,"excerpt":"You would like to go through this useful cheat sheet for \"Query and Search\" optimization, few of this is discussed in this post as FAQ. 171 : How Standard Fields and Custom Fields related information is saved inside Salesforce Database? Is every Standard and Custom Object is created as a\u2026","rel":"","context":"In &quot;Configuration&quot;","block_context":{"text":"Configuration","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/configuration\/"},"img":{"alt_text":"Skinny Table","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Skinny-Table.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2998,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/apex-based-sharing-in-salesforce\/","url_meta":{"origin":7020,"position":5},"title":"Apex based record sharing in Salesforce","author":"Jitendra","date":"July 27, 2012","format":false,"excerpt":"Working with Apex based sharing in Salesforce","rel":"","context":"In &quot;Apex&quot;","block_context":{"text":"Apex","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/apex\/"},"img":{"alt_text":"Salesforce Apex Sharing Reason","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/07\/Salesforce-Apex-Sharing-Reason.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/07\/Salesforce-Apex-Sharing-Reason.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/07\/Salesforce-Apex-Sharing-Reason.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/07\/Salesforce-Apex-Sharing-Reason.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/07\/Salesforce-Apex-Sharing-Reason.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/7020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=7020"}],"version-history":[{"count":2,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/7020\/revisions"}],"predecessor-version":[{"id":7024,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/7020\/revisions\/7024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media\/7022"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=7020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=7020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=7020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}