I am working on a rendering solution CSR (JS-Link) which uses the webpart ID list view to render.
Rendering a JS file is located in a library on the site.
The site is then registered model and automatically deployed.
The problem is that the ID of webpart view changes at each site deployment.
I must then copy the new ID to view pages and paste it into the JS file manually every new site. (see the illustration)
So I'm looking for a solution that retrieves the new list webpart view ID on the page (based on the title or other), paste the ID in the JS file and saves.