I uploaded (.pagx) the custom print layouts on to the enterprise portal (11.5) and was able to create an item in the portal. I just wanted to use the same template in my JS Code. How could you use these custom print layouts in JS Script ? Will this be worked ?
I've not done this with Portal, but I have with ArcGIS Server, and I suppose the differences would be marginal. Once published to either, I suspect that the piece on the client side would be pretty much the same as well: