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     [Resolved] HTML pages throwing javascript errors in WF8

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Resolved] HTML pages throwing javascript errors in WF8
 Login/Join
 
Gold member
posted
Hi,
we have migrated code from WF 7.6.11 to WF 8008M.
After migration while performning the health test when I tried to run the HTML file it started to throw some java script error.
Please let me know if any body has faced the similar issue and cause/ resolution for the same.
I have tried to open the HTML file in WF8 HTML composer and then tried to run the same, still the same issue.

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


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
 
Posts: 82 | Registered: January 06, 2014Report This Post
Gold member
posted Hide Post
also after some analysis i found that before opening the HTML file in WF HTML composer following code was present in the header of the file:


<script id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}


<script id=IBI_OptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls3";

var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";

var ibixmltree="ibixmltree";

var ibiOptions = new Array(cgipath,ibirls,rltdyncalendar);


<script id=IBI_nls type=text/javascript src="/ibi_html/javaassist/nls.js">

<script id=IBI_nlsVars type=text/javascript src="/ibi_html/javaassist/nlsvars.js">

<script id=IBI_ibigbl type=text/javascript src="/ibi_html/javaassist/ibi/html/js/ibigbl.js">

<script id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
addIntlTranslatedJS("composertrans.js");


-************************************
After opening and saving the Same file in HTML composer the above code got replaced by following:



<script type=text/javascript>//confidential_id=IBI_OptionsScript
var szHtmlAlias="/ibi_html";
var szRunTimeHtmlAlias="runTimeHtmlAlias";
var cgipath="cgipath";
var ibirls="ibirls3";
var rltdyncalendar="rltdyncalendar";
var map="ibimap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";
var ibiOptions = new Array(cgipath,ibirls,rltdyncalendar);
var nlsScript="/javaassist/nls.js";
var nlsVarsScript="/javaassist/nlsvars.js";
var glbScript="/javaassist/ibi/html/js/ibigbl.js";
var replacePart="";
var scriptTemplate='<script src="'+replacePart+'" type="text/javascript"><\/SCRIPT>';
if(typeof(szRunTimeHtmlAlias) === 'string' && szRunTimeHtmlAlias.indexOf('/') == 0)szHtmlAlias=szRunTimeHtmlAlias;
document.write(scriptTemplate.replace(replacePart, szHtmlAlias + nlsScript));
document.write(scriptTemplate.replace(replacePart, szHtmlAlias + nlsVarsScript));
document.write(scriptTemplate.replace(replacePart, szHtmlAlias + glbScript));


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
 
Posts: 82 | Registered: January 06, 2014Report This Post
Gold member
posted Hide Post
The issue is resolved by setting the value in Dev studio environment properties.


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
 
Posts: 82 | Registered: January 06, 2014Report This Post
Guru
posted Hide Post
you meant to say, html_alias is set to /ibi_html/ibi_apps ?


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report 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     [Resolved] HTML pages throwing javascript errors in WF8

Copyright © 1996-2020 Information Builders