function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ghanshyam BhattGhanshyam Bhatt 

Account Sharing for Customer Portal is lost when ever Account Owner is changed

Hey all,

I am using the Customer Portal and i provide account access to different user in my application. I use the Standard Button "Share" on Account Layout and provide access using manual sharing. When ever i share an account , an entry in "AccountShare" Object is created.

The Problem is when i change the "Owner" of the account, all my sharing is removed for "AccountShare" object and Customer Portal User are not able to "Accounts" earlier shared to them.I have to do sharing again.

Im My application, Change of Account Owner is very frequent. Any Suggestion to get rid of this problem.

Thanks in Advance.
ShashankShashank (Salesforce Developers) 
This is standard functionallity. Here is an idea around this feature: https://success.salesforce.com/ideaView?id=08730000000BqA4AAK