Some more information that might help...
In the module (File Attachments) that I'm attempting to duplicate there's this code to upload a file...
Code:
<div class="add-file">
<widget
class="XLite\View\Button\FileSelector"
label="Add file"
object="product"
objectId="{product.getProductId()}"
fileObject="attachments" />
</div>
one of the changes in the module code I've made is to change the fileObject...
Code:
<div class="add-file">
<widget
class="XLite\View\Button\FileSelector"
label="Add file"
object="product"
objectId="{product.getProductId()}"
fileObject="casestudies" />
</div>
Can you explain what this fileObject is a little and what the process is that uploading a file starts. I want to make sure I'm dealing with this correctly in my module.