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     [CLOSED] Issue with excel mht template

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Issue with excel mht template
 Login/Join
 
Member
posted
Hi,

We've an excel compound report with 3 sheets. The report uses a mht template.
The issue is when run from the report dashboard, it is throwing an error in a dialog box as --

Missing File:C:\D06C5D96\wks3_ppref_excutive_files\sheet002.htm

(Here wks3_ppref_excutive_files is the mht file name)

When clicked 'OK', the report comes up with correct 1 and 3 sheets. But in the sheet 2 no data or titles or heading comes up. But the title borders that have been defined in the mht are showing up.

Please let me know of any solution you have.

Thanks !

This message has been edited. Last edited by: Kerry,


764
Windows
PDF,EXL2K,HTML
 
Posts: 27 | Registered: July 28, 2009Report This Post
Member
posted Hide Post
Do you have access to the fex that executes that you could post? It could be that there is a problem populating sheet 2 or sheet 2 in the mht doesn't have a placeholder and is just blank.


Dev Studio 7.6.9, Server: Win2003 Advanced Server
WebFocus 7.6.9, Desktop: Windows XP SP2
Excel 2003 SP, IE 7.0, IBM iSeries 570 DB2, JD Edwards EnterpriseOne 9.0
 
Posts: 5 | Location: Irving, TX | Registered: December 19, 2007Report This Post
Expert
posted Hide Post
The mht file (Excel template) must be in an App folder defined in the App Path. Is folder C:\D06C5D96\wks3_ppref_excutive_files\ defined as an App in the App Path?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Hi Francis,

Could you please let me know on how to check whether folder C:\D06C5D96\wks3_ppref_excutive_files\ defined as an App in the App Path ?

Thanks,
Lalitha


764
Windows
PDF,EXL2K,HTML
 
Posts: 27 | Registered: July 28, 2009Report This Post
Expert
posted Hide Post
Look at the documentation for APP command syntax. Particularly APP SHOWPATH and APP MAP.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<JG>
posted
quote:
But in the sheet 2 no data or titles or heading comes up. But the title borders that have been defined in the mht are showing up.


The most probable cause is that no output is being generated for the second sheet.

SET EMPTYREPORT=ON

to see if that removes the error.

The fact that the output is correctly formated according to the template suggests there is no error with that.

Change the PCHOLD to HOLD and put SET MSG=ON and -SET &ECHO=ALL; at the top of the proceedure and you will be
able to see the output from the executed code where you will see if the step that is supposed to generate sheet 2
is returning 0 records or not.
 
Report This Post
Master
posted Hide Post
quote:
C:\D06C5D96\wks3_ppref_excutive_files\sheet002.htm


Assuming that you are using C:\D06C5D96\wks3_ppref_excutive_files\sheet001.mht for sheet 1, try changing the extention on sheet002 to .mht and make sure that your hold statement is ON TABLE HOLD FORMAT EXL2K TEMPLATE template_name SHEET002. Your template_name is what came out of sheet 1. On your final step change the HOLD to PCHOLD.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
Documentation on working with "Apps": Developing Reporting Applications > Creating and Working With Applications


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     [CLOSED] Issue with excel mht template

Copyright © 1996-2020 Information Builders