As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
We don't use M$ Office products in our company and do very well with Open Document software - currently using both Lotus Notes Symphony and OpenOffice.
Since the introduction of EXL07 we can happily open up WF spreadsheet output in either of these products without any issues. We get a prompt at the bottom of the window that contains the launch page and just have to click it to open the spreadsheet.
However all of our reports are available in both PDF and spreadsheet formats. I typically choose "Open in New Window" when setting up the Run button on the launch page to accommodate the PDF output.
This works great for the PDF output. But for the spreadsheet it pops up a blank window that actually obscures the prompt to open the spreadsheet (which is at the bottom of window containing the launch page).
So it is necessary to close the blank page and then click the prompt.
It's not a burning issue, but it would be nice:
IF &WFFMT EQ 'PDF' THEN {New Window} ELSE {Same Window};
I saw an earlier post with the suggestion of TYPE=REPORT, TARGET=_new, $
But I'm not clear how that would work from a launch page where the window is a function of the Run button
I've been musing about the notion of two Run buttons - one for PDF and one for spreadsheet.
I'd appreciate any suggestions on this topic.This message has been edited. Last edited by: <Kathryn Henning>,
How about adding two hidden Run buttons, and use javascript to trigger the OnClick of the one or the other, depending on the state of the WFFMT control when the visible button is clicked.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
If you want to do this using an launch page then modify the request xml tag using an javascript function.
see the code below.
var reqid=0; //your request id if (myXmlRoot || loadXmlDoc()) { var pattern = "//requests/request[@requestid='" + reqid + "']"; var requestNode = getSingleNode(myXmlRoot, pattern); if (requestNode) { if(fmt == "EXL2K"){ requestNode.setAttribute("targettype","_self"); requestNode.setAttribute("targetname","framename or where you want to display"); } else{ requestNode.setAttribute("targettype","_blank"); requestNode.setAttribute("targetname","window"); } } }
Hope this helps.
WFConsultant
WF 8105M on Win7/Tomcat
Posts: 780 | Location: Florida | Registered: January 09, 2005
This code works well for us. We added a checkbox for new window output on our form and as stated above, added 2 hidden buttons to our form: 1) btn_newwin and 2) btn_iframe - if the new window box is not checked by the user, the report is displayed in a frame. And here's the code:
function btn_Run_onclick(ctrl) { // Check to see if the New Window box is checked, // if so use hidden button to open new window, else use hidden button to use iframes