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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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