Archived from the Transloadit support forum. Originally posted on January 3, 2013; details may be outdated, see our docs for current behavior. Original thread
I’m having trouble properly replaying an assembly. This is my code…
And replacing all of my references to :original with assembly_replay_import_profile_image_0. This makes sense, since I’m no longer uploading an image. I’m just confused about how I can influence the template upon triggering the replay so that I can inform the import robot where the file is actually located as opposed to it just assuming. Surely I don’t need to maintain two templates, right?
Uploaded files (as in the :original step) are replaced via import steps, because you no longer upload any files. This of course only works if the files are still in our temporary bucket. If not, you can’t overwrite the import paths (yet).
Can you please tell me the id of the assembly that you’d like to replay?
That’s unfortunate, as the only reason I’d like to replay an assembly is because I have at a later date changed it’s template. For instance, I may now want that upload to have a different size.
What it sounds like I need to do is to update that template for any new uploads, and create a patch template for any previous uploads that used that template. That’s not ideal, but if you can confirm that’s my best option I’ll get on with it.