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] Passing image source variable from fex to html

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Passing image source variable from fex to html
 Login/Join
 
Gold member
posted
Is there any way to place a variable into the image source of the html page? I'm using !IBI.AMP.name; to pass other variables from my fex to the html page/composer. I found in the text where the source is specified: src="app/item1.jpg" All I want to do is send a different item name ( IE item2, item3, item4). I can manually type this and it works perfectly, but I'm just not coming up with the proper syntax for composer to understand. Help please :-)

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 768
OS/400
HTML, also quite a few active reports and excel.
 
Posts: 59 | Registered: June 18, 2009Report This Post
Gold member
posted Hide Post
Ha,Ha!! I knew it had to be simple. I just didn't realize it case case sensitive.

COMPUTE TEST/A30='app'||LOCASE(20,fieldname,'A20');

src="!IBI.AMP.TEST;"

Good to close.


WebFOCUS 768
OS/400
HTML, also quite a few active reports and excel.
 
Posts: 59 | Registered: June 18, 2009Report This Post
Guru
posted Hide Post
Since you been able to pass variables to your composer page try creating a new parameter and passing that. Once that works, change the src to that parameter.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Gold member
posted Hide Post
I spoke to soon :-( It's not working now. Probably due to a cache issue.

Fernando,
So is the syntax just src=field ? Without the double quotes? Thanks!


WebFOCUS 768
OS/400
HTML, also quite a few active reports and excel.
 
Posts: 59 | Registered: June 18, 2009Report This Post
Gold member
posted Hide Post
Ok. I figured it out. My solution did work. When I re-opened html composer, it broke it but putting extra code. I corrected this. Just don't re-open composer after entering the variable via text.


WebFOCUS 768
OS/400
HTML, also quite a few active reports and excel.
 
Posts: 59 | Registered: June 18, 2009Report 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] Passing image source variable from fex to html

Copyright © 1996-2020 Information Builders