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     [SOLVED] FOC3251 -Image File Unreadable for EXL2K

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] FOC3251 -Image File Unreadable for EXL2K
 Login/Join
 
Member
posted
Hi there!
I hope all is well with you and thanks for looking at my problem.

I’m adding additional output formats to existing html-only reports using ‘&FMT’.
(ON TABLE PCHOLD FORMAT &FMT)

When I run the report in html – no problem, I see the report and it’s all magnificent, stunning, and wonderful. When I run it in Excel (EXL2K) I receive a FOC error.
(FOC3251) IMAGE FILE UNREADABLE OR INVALID: logo.jpg

Commenting out the image file fixes it (as in it works in html and exl2k), but we “need” to have this logo in the HTML version of the report. The foc error also confuses me.
When I initially added this in (in a DEV environment) everything worked completely fine, only once brought over to our production side has the error come up.

The fex that doesn’t work is identical to the one that does work in the other environment, except for the image path which only messes up in Excel2k.

Anyone experience an issue like this?
I checked the manual, followed the directions for adding in a new image to the letter.
I also checked these forums and saw 1 related issue, where the user resolved it by copy/pasting over their image file a fresh copy. I’ve tried that as well.
Thank you so much for your help.
Shawna

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


WebFOCUS 7.6.7
WIN XP
Excel, PDF, HTML
 
Posts: 25 | Registered: October 05, 2011Report This Post
Guru
posted Hide Post
Hiya Shawna,

I encountered this problem once before. I'm not sure if it's the same issue.

Anyway, I used Dev Studio to do the cut-and-paste over the image and it didn't solve the problem. What worked for me at that time was to do the copy outside of Dev Studio - actually going into the server and copying the image into the app folder.

I can't tell you why it was messed up either. I basically just moved on when it started to work again...

Maybe you can try this if you haven't yet and see if it works for you.


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Member
posted Hide Post
Unfortunately this this did not work for me.

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


WebFOCUS 7.6.7
WIN XP
Excel, PDF, HTML
 
Posts: 25 | Registered: October 05, 2011Report This Post
Member
posted Hide Post
Woohooo Success!!
AlexU helped me out with a quick fix.

In the style section where the image comes from I had:
TYPE=REPORT,
IMAGE=app/LOGO.jpg,
$


Since the image worked fine in html but threw an error in EXL2K, one suggestion was skipping the image if the output = EXL2K. Since we don't want the image in Excel anyway (it's more of a PITA b/c you'll have to delete your image to work with the data...which is the whole point of exporting to Excel) this little addition fixed everything.

-IF &FMT EQ 'EXL2K' THEN GOTO PASSLOGO;
TYPE=REPORT,
IMAGE=app/LOGO.jpg,
$
-PASSLOGO



I feel very, very silly now.

Still don't know why it originally worked in one environment and not the other though, oh well!
Thanks so much all.
Shawna

PS:
If u had wanted to include an image in an EXCEL File.
1)put the image in a DEFINE or COMPUTE with a fully qualified path in the HEADING.
2)IMGTAG/A200 = '';
3)Enclose the image tag with some conditional styling:
HEADING
-IF &FMT EQ 'HTML' THEN GOTO PASSLOGO;
" -PASSLOGO
..
..
..
-IF &FMT EQ 'EXL2K' THEN GOTO PASSLOGO2;
TYPE=REPORT,
IMAGE=app/LOGO.ext,
$
-PASSLOGO2


WebFOCUS 7.6.7
WIN XP
Excel, PDF, HTML
 
Posts: 25 | Registered: October 05, 2011Report 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     [SOLVED] FOC3251 -Image File Unreadable for EXL2K

Copyright © 1996-2020 Information Builders