Hi,
My case is I got 3 checkbox
1. Pdf approved by agency
2. Pdf approved by government
3. Pdf approved by non government
When user check all the check box. Then click button "Print".
Then my expectation is 3 tabs of pdf will open simultaneously.
So my question is how to do to open 3 tabs simultaneously?
Hi Farihah,
Could you please below sample application as per your requirement -
https://personal-itafqtdv.outsystemscloud.com/PrintPDFSample/Home
Please find the attached oml project as well.
Thanks
Vinod
Hi Vinod,I tried, but its not working as expected.Only first JS open the URL.
Could you please share OML?
Hi Vinod. As per request.My expected, 3 tab of link will open simultaneously.
You just need to write 3 lines as below in the java script. and its working fine.
window.open("http://www.africau.edu/images/default/sample.pdf",'_blank');
window.open("http://www.google.com",'_blank');
Also if still not opening 3 tabs then, you need to check browser because browser blocks that as popup. So please ensure there no such message/warning from browser.
Regards
Hi
I have publish your sample in my environment and its working as expected. Please check using below link -
https://personal-itafqtdv.outsystemscloud.com/PrintPDFSampleFarihah/Home
hi Vinod.Thankyou.its work after I allowed popup.Appreciated if you can share the OML please.
This is the same OML that is shared by you.
Actually Vinod is right. Here no issue in functionality of your logic or Vinod's logic. I tried with Vinod's sample also. Its browser issue. You need to allow that in browser other wise it will not work for you. Once allowed all 3 tabs will open.