Is there a way I can dynamically assign a model to a file upload component?
I am trying to create a generic page to display attachments, which will also allow users to upload new attachments and use this page as a page include across a variety of object record detail pages.
Zach helped me here https://community.skuid.com/t/get-sobject-name-from-salesforce-id with building a map of salesforce key prefixes and the corresponding object names dynamically. I am making use of this map to check against the id of the salesforce record, determining the sObject and am able to build the object model on the fly using javascript. Now, I have a file upload component on my page, to which I want to assign this newly created model.
Is there anyway I can do this? Is there any documentation on this?
Question
Dynamically assign parent model to file upload component

This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.