Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Execute code after a PCHOLD FORMAT EXL2K

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Execute code after a PCHOLD FORMAT EXL2K
 Login/Join
 
Member
posted
Is it possible to execute anything after a PCHOLD FORMAT EXL2K? I'm looking to run some HTML code with HTMLFORM but haven't had any success.

Example:

TABLE FILE CAR
PRINT *
ON TABLE PCHOLD FORMAT EXL2K
END

-HTMLFORM BEGIN
<script>
DO STUFF
</SCRIPT>
-HTMLFORM END


Thanks

This message has been edited. Last edited by: Jonathan K.,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 26 | Location: Atlanta, GA | Registered: July 13, 2012Report This Post
Silver Member
posted Hide Post
SET PAGE-NUM=NOLEAD

TABLE FILE CAR
SUM
SALES/D10 AS ''

BY COUNTRY
ACROSS MODEL AS ''

ON TABLE HOLD FORMAT HTMTABLE

ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $
TYPE=TITLE, STYLE=BOLD, $
TYPE=HEADING, STYLE=BOLD, HEADALIGN=BODY, $
TYPE=ACROSSVALUE, CLASS=headstyle, $
ENDSTYLE
END

SET HTMLFORMTYPE=XLS
-RUN

-HTMLFORM BEGIN
<style type="text/css">
.headstyle
{
mso-rotate:45;
vertical-align:bottom;
height:175;
}
</style>

!IBI.FIL.HOLD;
-HTMLFORM END



WebFOCUS 8.0.08 - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
Windows, All Outputs
 
Posts: 40 | Registered: April 02, 2014Report This Post
Member
posted Hide Post
Thanks, I'll give it a try.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 26 | Location: Atlanta, GA | Registered: July 13, 2012Report This Post
Member
posted Hide Post
Shakila, unfortunately I wasn't able to get it to work with the code you provided. The scripts that I have do not execute within the HTMLFORM.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 26 | Location: Atlanta, GA | Registered: July 13, 2012Report This Post
<FreSte>
posted
I don't think you can do that combination in a single fex.

Maybe something like this ...


-Fred-


<html>
<body>

<iframe id='iframe1' src='/ibi_apps/WFServlet?IBIF_ex=car1'>
</iframe>

<script>
var _iframe = document.getElementById('iframe1');
_iframe.onload = function() {
	alert( 'done');
}
</script>

</body>
</html>
 
Report This Post
Expert
posted Hide Post
use a frameset
in 1 frame call one fex
in the other frame call the other fex.
or do it like a dashboard, use iframes




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Execute code after a PCHOLD FORMAT EXL2K

Copyright © 1996-2020 Information Builders