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.
Hi, we just upgrade our DEV environment to 7.6.11. I have a problem everywhere I'm using HTMLFORM in my code when I try to Output my report in PDF format. Is anything change since 5.3.2 on the way of using HTMLFORM.
I just produce a very simple program.
Like this I have no problem:
-HTMLFORM BEGIN -HTMLFORM END
TABLE FILE FISCAL_YEAR
PRINT FY_FISCAL_YEAR
ON TABLE PCHOLD FORMAT PDF
END
But as soon as I put any code between the BEGIN and the END of the HTMLFORM, my output looks like PDF "code".
If you want to direct PDF and HTML or any mixed formats to an HTMLFORM then you need to code iframes that call the reports, and the browser must be set to open the objects in the browser via a plugin not in the application
For example create a fex called thisfex
-DEFAULT &TARGET='FORM'
-GOTO &TARGET.EVAL
-REP1
TABLE FILE CAR
SUM DCOST BY COUNTRY
ON TABLE PCHOLD AS HTMHOLD FORMAT HTML
END
-RUN
-EXIT
-REP2
TABLE FILE GGSALES
COUNT DOLLARS
ON TABLE PCHOLD AS PDFHOLD FORMAT PDF
END
-RUN
-EXIT
-FORM
-HTMLFORM BEGIN
<body>
<iframe name=frame1 height=50% width=100% frameborder=0 src="/ibi_apps/WFServlet?IBIF_ex=thisfex&|TARGET=REP1"></iframe>
<iframe name=frame2 height=50% width=100% frameborder=0 src="/ibi_apps/WFServlet?IBIF_ex=thisfex&|TARGET=REP2"></iframe>
</body>
-HTMLFORM END