I'm relatively new to Salesforce development. I have a requirement to create custom fields on our custom object; some of these fields must be able to hold a file attachment (PDFs usually).
I cannot seem to find any way to add a field where the user can upload a single file. The closest I can get is adding the Files related list in the lighting app builder, but this feels more like a work-around as its essentially just a bucket to hold all the files.
I haven't messed much with Apex Code but I'm sure theres a way to do it via code, I just need some help to be pointed in the right direction since I'm a little confused on how apex classes interact with objects and store data.
Thanks!