prepare preview through repository access