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.
I have some jQuery embedded in an HTML page that also has an Active HTML report. Some JavaScript was throwing a strange error. I determined this was due to Active HTML reports in WF v8 have embedded the jQuery library. The embedded library is an old version of jQuery. My JS relies on a new version. Avoiding conflicts is easy: see jQuery.noConflict().
My code:
...
<script src="/approot/web/jquery-latest-min.js"></script>
<script src="/approot/web/jquery-ui-latest-custom-min.js"></script>
<script src="/approot/web/my-portal-ibi.js"></script>
<script src="/approot/web/my-util.js"></script>
<script>var $j = jQuery.noConflict(true);</script>
<!-- Use $j to reference jQuery, jQuery UI and my utility libraries because WebFOCUS Active HTML reports use an old version of jQuery -->
...
My code that references the newer version of jQuery:
<script>
function runReport(RUN_KEY)
{
var req = new $j.Report.mreRequest('qata_detail.fex', 'manageme', 'qaautomation');
I reference the correct version of jQuery by using $J instead of $.
I don't understand why the whole jQuery library is embedded in the Active HTML report (425 lines) instead of referencing an external js file and I don't know if Information Builders has a more legal method of overriding the old version of jQuery.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
why the whole jQuery library is embedded in the Active HTML report (425 lines) instead of referencing an external js file
Might it be because some sites still do not expose their sites to the www? I know of a couple of sites where this is true so always referencing a local version will ensure that things work OK. Isn't this why you have copied them to your app folder?
I know that it would be more convenient referencing the latest version but you have to cater for all.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Tony, there is no local reference to the jQuery library - the four hundred lines are embedded in every Active HTML report. They should have a one line reference to the library as they do for other libraries, like