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
Mudragada AnupamaMudragada Anupama 

I have contact object and there is one custom object. there is a related list for custom object

I have contact object and there is a custom object. on the contact page layout I have a related list for custom object. now my requirement is based on the logged in user public group I want to display the custom object records using inline VF page. can someone please code  this.


Thanks 
jenish shingalajenish shingala
Use your Apex Class with 'With Sharing' keyword.
    Example:
            Public with sharing yourClassName{
                Public yourClassName(){
                      //Your code to display records on VF page.
                }
            }