• Prashant Bhure 20
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hello,

We have requirement where we need to share Patient(Person Account) records with multiple Providers(Contact) in Community for them to update patient information. As OWD for Account is private Providers cannot access Patient. We created a Contact lookup(Provider1) on Account(Patient) and created a Sharing Set to share the patient with the provider. It works great. However a patient can have multiple(up-to 5) providers and we have to make patient available to all of them. Apparently, we can only create 1 sharing set per Community Profile. Has anyone run into this limitation and is there a work around?

Thanks in advance!

Prashant
Hi,
 
I got SFDC support to enable Person Account on one of our Sandbox, let's call it Dev1. Did the development on it and attempted to deploy the changes to our UAT sandbox, which also had the Person Account enabled, using Force.com IDE.
 
Issues:
 
1. The Force.com IDE does not retrieve the Person Account record types when you open the Account.object file from Dev1 even after multiple refresh from server attempts. I've got the setting below in the package.xml too. Am I missing something?

Code:
<types>
    <members>*</members>
    <members>Account</members>
</types>
 
2. I also get the following error for the page layout when I validate the deployment
 
Code:
# Deploy Results:
   Name:    unpackaged/layouts/Account-REC Marketing Individual.layout
   Action:  NO ACTION
   Result:  FAILED
   Problem: Layout must contain an item for required layout field: ParentId

Help appreciated. Thanks.
 
Sai.