Content type hub is used in this scenario, to syndicate the content types and columns to several web applications.
I'm setting the JSLink property in a custom field definition, to load the .js file.
JSLink="~sitecollection/_catalogs/masterpage/scripts/PopulateFields.js"
Only the relative paths could be used in the JSLink property. And these tokens are available:
~site
~sitecollection
~layouts
~siteLayouts
~siteCollectionLayouts
In my case I can't upload any files to the global _layouts folder, so it means that I should place .js somewhere in site collection level and use the ~sitecollection token.
My question is how can I achieve this in case of My Sites where each personal site is separate site collection? It's not the best solution to put .js file to each personal site collection. How can I achieve this globaly?