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] Using Images in HTML Composer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Using Images in HTML Composer
 Login/Join
 
Silver Member
posted
How does adding images to html pages with HTML Composer work in MRE?

I'm new to Webfocus development, and I've been trying to figure out how everything links together. If I add an image via Insert -> Components -> Image, it defaults to the Other grouping for the domain I'm in to select images. I've copied the code it generates for the image I inserted through the GUI and pasted it back into the HTML, and that image will not display. So I'm not sure what magic it is doing.

Our images will be reused on most pages, and it seems silly to me to copy them under each domain I'm running the report from. Our consultant here suggested creating a new application under our data server for things we'll be re-using. I tried to pick the image there, but it just copies into the other grouping for the domain I’m running the report from and doesn’t actually use the location of the image where I selected it.

When using HTML Composer, how do you link to an image in the Server Application? Is this not the right way to go?

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


7.7 Windows HTML, PDF, Excel
 
Posts: 46 | Registered: November 08, 2011Report This Post
Virtuoso
posted Hide Post
You'll notice that it does that not only with images but also with any other component you want to insert.

For instance, if you have a JavaScript library or CSS file available through you application server via a URL and try to add a reference to it in HTML composer, it will indeed get a copy of those files, place them in the "Other" folder in the domain and change the internal reference to a relative path to the domain as opposed to a full URL.


To actually use "shared" components I've always had to go back to the source code and manually change the src="" properties to point to my centralized components. I then physically remove those silly copies from "Other" as it just enhances the risk of having non-synchronized logic across the environment.

Why is that? I don't know but perhaps someone from the product division can help us understand why that was implemented that way instead of allowing for a full URL-based reference to components.

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Guru
posted Hide Post
Anything referenced in Managed Reporting must be in the MR repository. That is why the files are copied there.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report 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] Using Images in HTML Composer

Copyright © 1996-2020 Information Builders