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] Image file path

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Image file path
 Login/Join
 
Gold member
posted
In a working fex, there is a Compute pointing to
 "/approot/images/ibi_green_up_48_48.png"  

this path uses approot; the image resides in EDASERVE/Applications/images/.

I am trying to redirect the path to an image that resides in the Content directory;
 "IBFS:/WFC/Repository/Branding/Images/ibi_green_up_ns.png" 

the image doesn't come through. I have tried variations of the path (like removing 'IBFS:') with no luck.

Is it possible to reference images in the content directory like this, such that we can import/export images?



   'COMPUTE Trend/A200 = IF Labor_Efficiency__ GT .95 THEN  SRC="/approot/images/ibi_green_up_48_48.png" alt="Trending Up" width=20 height=20 border-0>' 
ELSE IF Labor_Efficiency__ LT .90 THEN SRC="/approot/images/ibi_red_down_48_48.png" alt="Trending Down" width=20 height=20 border-0>' 
ELSE  SRC="/approot/images/yellow_line.png" alt="Trending Average" width=20 height=20 border-0>';' 


(IMG intentionally removed.)

This message has been edited. Last edited by: Nicholas Spyrison,


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Virtuoso
posted Hide Post
We try to store and reference images on the Data Servers side of things so they can be reused for multiple apps w/o having to manage multiple copies.

We successfully reference them in the WF stylesheets by using this format:

IBFS:/EDA/EDASERVE/images/image.gif


You can reference them from under Content if you want to go that route via the following format:

IBFS:/WFC/Repository/AppName/subFolder/image.gif


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Gold member
posted Hide Post
Odd, when I try to use the following path it doesn't work. I double-checked for publication and Case Sensitivity.

 IBFS:/WFC/Repository/Branding/Images/ibi_green_up_ns.png  


Any thoughts?


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Master
posted Hide Post
Try this:

/ibi_apps/rs/ibfs/WFC/Repository/Branding/Images/ibi_green_up_ns.png?IBIRS_action=run



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Virtuoso
posted Hide Post
If Gavin's suggestion doesn't work, try this format as well:

/ibi_apps/WFServlet.ibfs?IBFS1_action=RUNFEX&IBFS_path=/WFC/Repository/AppFolder/subFolder/image.gif


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Master
posted Hide Post
I know in 8.1.04, you have to change it, but it wasn't documented by IBI until 8.1.05..

http://infocenter.informationb...Fsource%2Ftopic3.htm



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Gold member
posted Hide Post
Gavin's suggestion didn't work.

CoolGuy's suggestion resulted in a parameter prompt for &IBFS_path. Pasting '/WFC/Repository/Branding/Images/ibi_green_up_ns.png' into the prompt just asked for the parameter again.


Dare I ask how/where you are coming up with these variations?


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Master
posted Hide Post
Then the image isn't there or it's a case issue.

quote:
Dare I ask how/where you are coming up with these variations?

Documentation, posted right before your question.


Do me a favor.. Go in through the web ui console, right click on the image and "view" it. Then copy the URL and post it here.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Gold member
posted Hide Post
http://udr-rptbiqw01:8080/ibi_...ndom=9198.8897905685

http://
udr-rptbiqw01:8080/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS%253A%252FWFC%252FRepository%252FBranding%252FImages&BIP_item=ibi_green_up_ns.png&IBI_random=9198.8897905685


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Virtuoso
posted Hide Post
When using my suggestion, try adding a pipe character in between the & and IBFS_path in the URL and see if that helps.

Example:

/ibi_apps/WFServlet.ibfs?IBFS1_action=RUNFEX&|IBFS_path=/WFC/Repository/AppFolder/subFolder/image.gif


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Master
posted Hide Post
Then this should work..

http://udr-rptbiqw01:8080/ibi_apps/rs/ibfs/WFC/Repository/Branding/Images/ibi_green_up_ns.png?IBIRS_action=run



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Gold member
posted Hide Post
The pipe worked like a charm!

Thanks a ton guys!


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Master
posted Hide Post
Which one worked?



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Gold member
posted Hide Post
CoolGuy's.

Just tried your's and no dice.


_____
WF 8.1.04
Win 7// Windows Server 2012 R2
SASS OLAP Cube
 
Posts: 92 | Registered: July 31, 2015Report This Post
Virtuoso
posted Hide Post
Glad to help.

GavinL's would probably only work if your site has purchases/activated the Web Services Enablement add-on. I tried his and it does not work for me either due to us not having that add-on purchased and enabled. IBI failed to mention this little bit of vital info in their 8105 doc update announcement GavinL referenced earlier. You have to use the WFServlet if you didn't pay for the add-on.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Expert
posted Hide Post
If your images are in your web apps folder, then the following should work:
DEFINE FILE CAR
NG/A128='[IMG]/approot/test/ng.gif[/IMG]</img>';
OK/A128='[IMG]/approot/test/ok.gif[/IMG]</img>';
END
TABLE FILE CAR
"REPORT 0 ~ OK:<OK NG:<NG"
BY COUNTRY AS '' SUM DEALER_COST AS ''
COMPUTE Mark/A128=IF RETAIL_COST GE 8000 THEN NG ELSE OK; AS ''
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
GRID=OFF, BORDER=LIGHT, FONT=ARIAL, SIZE=10, COLOR=NAVY,$
ENDSTYLE
END
-* ng.gif is an image of a red X.
-* ok.gif is an image of a green check mark.
This works for static images (as seen in the heading as "OK:



   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
FYI Doug.. /approot/ doesn't always exist. We have it in our Windows environment for Dev, but our prod environment is Linux, which it doesn't exist. So always be careful using it.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report 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] Image file path

Copyright © 1996-2020 Information Builders