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] Image Header Variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Image Header Variable
 Login/Join
 
Member
posted
Hello All,

I created a report, setting a variable for the image logo header dependent on the company chosen. When I default the CUST_GROUP_ID to 4, the report runs fine with the expected results and image, but when I set the CUST_GROUP_ID to 6 I get the following error message. I know that the image file is recognized because I commented out the -SET and put the IMAGE file in the report STYLE and it worked fine. Any advise would be greatly appreciated.

(FOC3315) IMAGE FILE NOT FOUND: IBFS:/WFC/Repository/Loram/Hidden_Content/loram_uk_logo_small.jpg


-SET &HDG_LOGO=IF &CUST_GROUP_ID EQ '4' THEN 'IBFS:/WFC/Repository/Loram/Hidden_Content/loram_logo_2005_small.jpg' ELSE 'IBFS:/WFC/Repository/Loram/Hidden_Content/loram_uk_logo_small.jpg';


TYPE=TABHEADING,
IMAGE=&HDG_LOGO,
POSITION=(+0.000000 +0.000000),
SIZE=(3.000000 0.500000),
$

Regards,

Lisa

This message has been edited. Last edited by: Lisa Lindquist,


WebFOCUS 8.2.01M3
Windows, All Outputs
 
Posts: 14 | Location: Minnesota | Registered: August 01, 2016Report This Post
Virtuoso
posted Hide Post
Try with the following:

-SET &HDG_LOGO=IF &CUST_GROUP_ID EQ '4' THEN 'loram_logo_2005_small.jpg' ELSE 'loram_uk_logo_small.jpg';


Also be sure that both images are published.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Member
posted Hide Post
Thank you for the suggestion Martin,
I did already try that with the same results. The images are published.

Regards,
Lisa

To get this to work, I decided to create two separate procedures for each of the different companies and use a router in the HTML.

Regards,

Lisa

This message has been edited. Last edited by: Lisa Lindquist,
 
Posts: 14 | Location: Minnesota | Registered: August 01, 2016Report This Post
Guru
posted Hide Post
Have you tried
TYPE=TABHEADING,
IMAGE=&HDG_LOGO.EVAL,
etc...


Webfocus 8
Windows, Linux
 
Posts: 258 | Location: Palm Coast, FL | Registered: February 05, 2010Report This Post
Member
posted Hide Post
Mike,

I tried your suggestion and received the same results.

Regards,
Lisa
 
Posts: 14 | Location: Minnesota | Registered: August 01, 2016Report 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] Image Header Variable

Copyright © 1996-2020 Information Builders