Selecting the right template given a file type at run time

Hey guys;

I’m currently using the Transloadit plugin for uppy, and using the getAssemblyOptions function I’m able to specify the assembly instructions in code that should be used to process the file based on file type.

But, according to reading so far, using a saved template is the more secure way to do things.

My question is: will I continue to select the appropriate template (based on file type) in the client code. Just confirming that there is no way to handle the template selection on the server side.

Thanks for any enlightenment

Hello there. If this is still an issue for you or anyone else, I should be able to help

To my knowledge, there is no way to select your template from server-side. I think setting your template from getAssemblyOptions is your best option at the moment

Hope this helps
- Andrew