Return the uploaded id after a macro