Edit command
fillSlot
Swaps a file into a template slot in place, on all timelines. The slot keeps its id, so clips keep working.
Fields
The user's file that takes the slot's place.
mediaIdstringrequiredThe slot being filled - must have
placeholderset.
Refused if the id is unknown or the item is not a placeholder.
template.instantiate does this for every slot for you.