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     filedef exl2k using template

Read-Only Read-Only Topic
Go
Search
Notify
Tools
filedef exl2k using template
 Login/Join
 
Member
posted
I'm using a template to try and hold ex2k output to the server. Getting a "not a valid single web page archive" message when I try to open up the xls after I generate the file.

APP APPENDPATH 42482529
-RUN

FILEDEF OUT1 DISK 42482529/test.xls
-RUN
TABLE FILE CAR
PRINT CAR MODEL BODYTYPE BY COUNTRY
ON TABLE HOLD AS OUT1 FORMAT EXL2K TEMPLATE 'cart' SHEETNUMBER 2
END


FSGDev
WebFOCUS version 7.7.2
Linux
 
Posts: 10 | Registered: February 12, 2008Report This Post
<JG>
posted
The main cause is that your template file may not be valid.
The .mht which I do not see in your example must have 2 worksheets and the must both contain something even if it is only a space in a single cell.

Also if you are using Office 2007 EXL2K TEMPLATE doe not work.
This is because Microsoft have made changes to the specification of the Web Archive format.
This means IBI are having to re-engineer how TEMPLATE works
 
Report This Post
Master
posted Hide Post
You need to generate your template using Excel. Then you can populate it with WebFocus, but your last step needs to be ON TABLE PCHOLD instead of ON TABLE HOLD. There have been a lot of posts on this issue, I would suggest you search the FORUM for more info.


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
Member
posted Hide Post
Hello FSG,

If you create your template using Excel 2003, you can save it as a .mht. It'll open in Excel 07 but you can't modify the template..
Hope this helps!


-******************-
WF Production Version: WF 7.1.3, 7.1.6, 7.6
WF Test Version: WF 7.1.3, 7.1.6, 7.6
Platform: UNIX, Windows, SUN
 
Posts: 7 | Registered: June 20, 2008Report 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     filedef exl2k using template

Copyright © 1996-2020 Information Builders