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] HTML composer is making copies

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] HTML composer is making copies
 Login/Join
 
Virtuoso
posted
Does anyone know whether there's a way to prevent HTML composer to copy files to the local project directory?

We have a central project containing our standard CSS and javascript files, but HTML composer is creating local copies of these files, creating a maintenance nightmare for us...

Here's how to reproduce the problem:

  • Create a css file in project X, for example 'original.css'
  • Go to project Y
  • Go to Y's physical directory (not using Dev Studio) and verify that Y doesn't contain 'original.css'
  • Add project X to project Y's paths using the Properties menu-option (the files from project Y now appear in file listings in Dev Studio with shaded icons).
  • Create a new HTML Form (in project Y)
  • From the menu, choose "Insert" -> "CSS/Script" and add original.css from project X
  • Go to Y's physical directory and notice there's now a copy of 'original.css' there!


The same thing happens for scripts. It doesn't seem to matter whether you actually navigate to X's directory to select the file (icon is not shaded) or whether you select the one you get from adding X to the path (icon is shaded). You get a local copy either way.

Personally, I'm quite capable of adding the necessary HTML-tags using the Text Editor instead of inserting it with the HTML composer. However, I'm looking for an easy method for the other report editors here, who may not be as familiar with HTML - without having to worry about people including stale copies of a file because HTML Composer copied it to the local project directory way back when...

Is there anything we can do about this?

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


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
Hi Wep5622,

I check with our internals and was suggested that, this sounds like a problem to be fixed by programming. So if you have not done so, can you please open a case with Customer Support Services? This way we can submit this to programming to get it fixed.

To open a case, please either call 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Guru
posted Hide Post
Wep5622:

When you get the dialogs to enter the name of the CSS file or JS file, you should enter the fully qualified URL to these files. That will make it that the files are referenced through the web server. If you do not do this, we have no choice but to copy the files to the local directory to assure that the product will find them.


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
Virtuoso
posted Hide Post
quote:
Originally posted by David Glick:
When you get the dialogs to enter the name of the CSS file or JS file, you should enter the fully qualified URL to these files. That will make it that the files are referenced through the web server. If you do not do this, we have no choice but to copy the files to the local directory to assure that the product will find them.


Ah, I don't suppose there's a guaranteed way to query files to include from the web server instead of the local filesystem then. That's a shame, but understandable.

I'll add a note to our user documentation telling them to absolutely not use the "insert CSS/Script" feature in Dev Studio then, but instead to add the required link and script tags by hand to the head in the HTML source.
Less error-prone I think, especially if they can just copy-paste the required tags from the document. Otherwise we're going to end up with tons of stale copies of such files.

I suppose using "/some_app/style.css" isn't portable across different installations of WF?


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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] HTML composer is making copies

Copyright © 1996-2020 Information Builders