In my APEX application there is a list - and in this list are three items which when clicked need to open in a new tab. Currently the URL links work, except the documents open in the same tab.
Among links to other pages in the application, there are also links these links to one HTML and two PDF documents. These are kept on the DB server for the APEX schema.
The URL target for the HTML document is...
&GBL_SERVER.&GBL_IMAGEPATH.mcs_faq.htm
URL targets for the PDF documents are...
&GBL_SERVER.&GBL_IMAGEPATH.PermitFees.pdf
&GBL_SERVER.&GBL_IMAGEPATH.Map14ft6in.pdf
All these URL targets use two different shared component Application Items, which are set with an Application Process - creating global items used in the URL link. These will change dynamically depending if you are on the development, test, or production server.
Have tried changing the URL target by adding JavaScript...
javascript:window.open("&GBL_SERVER.&GBL_IMAGEPATH.mcs_faq.htm.","_blank")
Have also tried going to the "User Defined Attributes" of the list item and adding... target="_blank"
Nothing I have done appears to be working. Perhaps the JavaScript syntax is not quite correct? Are there any other suggestions which I am not seeing?
Thank you!