thysmichels.com
Apex DocumentLink Trigger to Share Documents to Community Contacts
Trigger to check if the custom object has the correct file shared to community user Test class to check that sharing is done correctly