After getting all the data the URL will not open in new window even if use windoes.open() function for the url we need to give permission in the browser and allow the popup to show the new window by using this methode we can get the new pdf document or link in new window
