Urgent: Javascript Error in Portal Navigation

Hi,
We are using EP 6.0 SP 13.
We are facing an issue of Java script error in the portal.
The areas in which the portal is affected are as follows:
1. When we open the Login page of the portal, the Font Type, Size and
formatting and the style of "Log in" button is not normal.
2. After we login, Any component that uses javascript is not working
3. Whenever we execute any BW report we are getting alert box with
message:
"Session Manager will not work!"
4. When we try to log out, again we get scripting error.
5. We are also not able to navigate in User Mangement and Content Management.
Please help as soon as possible.
Regards,
Prasad

Hello Prasad,
As we are talking about JavaScript errors, it is interesting to know which browser and OS you are using?
INTERNET EXPLORER 5.5  WINDOWS SERVER 2000/IA32 32BIT 
Not Released
  31.03.2004     
INTERNET EXPLORER 6.0  WIN XP 2002 PROF. 32-BIT  Released  31.03.2004     
INTERNET EXPLORER 6.0  WINDOWS SERVER 2000/IA32 32BIT  Released  31.03.2004     
INTERNET EXPLORER 6.0  WINDOWS SERVER 2003/IA32 32BIT  Released  27.06.2005     
INTERNET EXPLORER 7.0  WIN XP 2002 HOME 32-BIT  Released  11.12.2006     
INTERNET EXPLORER 7.0  WIN XP 2002 PROF. 32-BIT  Released  11.12.2006 
See the for supported browsers:<a href="https://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001303&_EVENT=RELEASE&00200682500000002804=01200314690900000192&00200682500000003818=WBRPFM&00200682500000003853=Enterprise%20Portal">NW2004_Browsers</a>
Greetings,
Praveen Gudapati
p.s Points are always welcome for helpful answers

Similar Messages

  • Netui javascript errors in portal

    The following code works in a webapp. It generates javascript errors in portal
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
    <%@taglib tagdir="/WEB-INF/tags" prefix="dst" %>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <netui:html>
    <head>
    <netui:base/>
    <script language="JavaScript" type="text/JavaScript">
    function dstcheck(tagname)
    alert(document[lookupIdByTagId("sampleForm", this)][lookupIdByTagId("textID", this)].value);
    </script>
    </head>
    <netui:body>
    <netui:form action="begin" tagId="sampleForm">
              <netui:textBox dataSource="pageFlow.textValue" tagId="textID" onBlur="dstcheck('textID')"></netui:textBox>
              <netui:anchor action="begin" formSubmit="true">first link</netui:anchor>
    <dst:sample/>
         </netui:form>
    </netui:body>
    </netui:html>

    Can you attach the javascript errors you were getting?
    Thanks
    Subbu
    Srinivas Surapaneni wrote:
    The following code works in a webapp. It generates javascript errors in portal
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
    <%@taglib tagdir="/WEB-INF/tags" prefix="dst" %>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <netui:html>
    <head>
    <netui:base/>
    <script language="JavaScript" type="text/JavaScript">
    function dstcheck(tagname)
    alert(document[lookupIdByTagId("sampleForm", this)][lookupIdByTagId("textID", this)].value);
    </script>
    </head>
    <netui:body>
    <netui:form action="begin" tagId="sampleForm">
              <netui:textBox dataSource="pageFlow.textValue" tagId="textID" onBlur="dstcheck('textID')"></netui:textBox>
              <netui:anchor action="begin" formSubmit="true">first link</netui:anchor>
    <dst:sample/>
         </netui:form>
    </netui:body>
    </netui:html>

  • Javascript error for detailed navigation tree : 't' is undefined

    Hi everybody,
    I have a problem on my anonymous role. When i click on the link page of a km navigation IView in the detailed navigation tree, the IView open itself but the navigation tree disappear and i have a Javascript error :
    Error :  't' is undefined.
    Code :  0
    URL :  http://localhost:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false
    Could somebody help me please ?

    Sorry but it's the same result.
    Anybody else?
    Somebody could say me if i modify the parameter of the URL somewhere?
    http://portal:50000/irj/portal/anonymous?standAlone=true&buildTree=false&NavPathUpdate=false&windowId=WID1182328037651
    I talk about the parameter buildTree or NavPathUpdate.
    These parameters are added when ai click on the link of the tree.

  • Javascript error in detailed navigation

    Hi all
    I have workset inside workset, so it looks like folder in the detailed navigation.
    One of my users is try access this folder on his computers but get a javascript error. He can see the other iViews on the root folder, but when he tries to enter a inside folder he gets a javascript error and he can't continue.Any Ideas?
    Thanks
         Omer

    OK, so this is what I figure out, <u>from testing on the user computer</u>.
    When the user who logged to windows is a regular user with the default settings <u>there is no problem</u> (No matter which user logged to the portal).
    When the user who logged to windows is the problematic user, <u>there is a problem in the portal</u> (No matter which user logged to the portal).
    So it must be a setting in the internet explorer, right?
    it's not the security settings, because I add the portal to the trusted sites and the problem persist.But maybe the settings in Tools --> Internet options --> advance are wrong???
    Any other ideas???

  • Getting javascript error in portal admin

    Dear all,
    When i tried to add a content item in the CMS of Weblogic Portal 8.1, an "unterminated string constant" javascript error is displayed and i can't add the content. This happens only when the content item is of a type that contains one or more calendar type property.
    Did anybody also encounter that and have some idea how to solve it?
    Thank you!!
    David

    Hi Bharat
    refer to this for the Log file
    Physical path of log files in EP server
    Portal Runtime Error - Where is the log file?
    For javscript problem refer  to
    Javascript error when loading Portal Content
    Portal Content Permissions
    Getting javascript error while logging in EP
    Thanx
    Pankaj

  • Javascript error in Portal

    Hello All,
    I am facing two issues. One is sometimes when I login to Portal with admin id, it prevents me from displaying contents under the content administration. The reason being a Javascript error at the left bottom of the browser page access denied. However, I am logging in with administrator id.
    However, this error doesnt comes always. It comes randomly.
    I am getting this error even while executing a portal application that links directly to iviews by
    *<a href= ""> </a> tag*
    It again sayins javascript error: access denied.
    Any idea why this error is coming? How Should i resolve this error?
    Kindly advise.
    Thanks,
    Ameya Pimpalgaonkar
    Edited by: Ameya Pimpalgaonkar on Nov 12, 2009 7:01 AM

    Amey,
    Please install fire bug along with Mozilla and try to login to the application. This will help you to find from where the error is coming exactly.
    Also, clear your browser cache and try to login and check.
    Ram

  • Error in Portal Navigation - Font Type, Size and formatting.

    We carry through all the tips postadas in the SDN to solve this problem, however we the same have some different stations with problem.
    We are using the Bi 7,0 Portal, and we are with problems in the layout: <b>Font Type, Size and formatting</b>, and WEB.
    Somebody has some specific tip for this problem?
    Regards,
    Sbrissa.

    Hi Biroj, thanks, I´m check the error continues...
    Thanks,
    Sbrissa.

  • Javascript error on Portal content

    Hello
    I don't know whether this question is relevant in this forum but I am facing this while publishing web dynpro I-View onto Portal.
    When I go to link http://host:port/irj its opening Portal Content page with one Browse and Search tab. But nothing is showing up in that and hence I am not able to publish my web dynpro i-view. Is this related to browser version. I am using IE 6.0 SP2.
    Thanks in advance.
    Regards
    Rajeev

    Hi,
    Try to delete your cookies in your IE.
    tools-options-deletecookies and deletefiles. Ane create new Window.
    Then it might helps.
    Other wise goto this document it will helps you.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
    Thanks,
    Lohi.

  • Javascript error during translation in portal

    hi,
    i am transalating objects from english to italian in portal content translation...
    but during the implementation i am having javascript errors in portal.
    there is no problem in the english version..
    Snippet of the english javascript
    <title >XYZ</title>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
    <script SRC="/irj/portalapps/com.sap.portal.httpconnectivity.httpauthentication/scripts/CAManagerScript.js" ></script>
    <script SRC="/irj/portalapps/com.sap.portal.navigation.helperservice/scripts/HistoryFramework.js" ></script>
    <script SRC="/irj/portalapps/com.sap.portal.navigation.helperservice/scripts/NavigationFramework.js" ></script>
    <script SRC="/irj/portalapps/com.sap.portal.pagebuilder/scripts/pagesupport.js" ></script>
    <link  REL=STYLESHEET  HREF="/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/customer/BDS/prtl/prtl_ie6.css?6.0.15.0.49"  TYPE="text/css" >
    <link  REL=STYLESHEET  HREF="/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/customer/BDS/ur/ur_fc_ie6.css?6.0.15.0.49"  TYPE="text/css" >
    <script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/controls_ie5.js" ></script>
    <script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/sapUrMapi_ie6.js" ></script>
    <script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/popup_ie6.js" ></script>
    <script SRC="/irj/portalapps/com.sap.portal.htmlb/jslib/languages/urMessageBundle_en.js" ></script>
    <script SRC="/irj/portalapps/com.sap.portal.navigation.toplevel/scripts/toplevelnavigation.js" ></script>
    </head><body class="prtlBody urFontBaseFam urScrl">
    <!-- EPCF: Component com.sap.portal.navigation.portallauncher.default, ngifocjigiaefchfplbhppaombngcpbo -->
    <!-- EPCF: Component com.sap.portal.pagebuilder.pageBuilder, akaimbgolgbpepcdkebifnaombngcpbo -->
    <Script>
    var caEngine = new CAManager('/irj/servlet/prt/portal/prtroot/com.sap.portal.httpconnectivity.httpauthentication.Engine','dialogHeight:10;dialogWidth:20;center:1;help:0;status:0');
    caEngine.registerCAEvent('com.sap.portal.httpconnectivity.httpauthentication','Teach',caEngine,'eventCallBack');
    </Script>
    And the corresponding script in italian is
    <META http-equiv=Content-Type content="text/html; charset=UTF-8">
    <SCRIPT src="Introduzione - Kodak Portal_files/CAManagerScript.js"></SCRIPT>
    <SCRIPT src="Introduzione - Kodak Portal_files/HistoryFramework.js"></SCRIPT>
    <SCRIPT src="Introduzione - Kodak Portal_files/NavigationFramework.js"></SCRIPT>
    <SCRIPT src="Introduzione - Kodak Portal_files/pagesupport.js"></SCRIPT>
    <LINK href="Introduzione - Kodak Portal_files/prtl_ie6.css" type=text/css
    rel=STYLESHEET><LINK href="Introduzione - Kodak Portal_files/ur_fc_ie6.css"
    type=text/css rel=STYLESHEET>
    <SCRIPT src="Introduzione - Kodak Portal_files/controls_ie5.js"></SCRIPT>
    <SCRIPT src="Introduzione - Kodak Portal_files/sapUrMapi_ie6.js"></SCRIPT>
    <SCRIPT src="Introduzione - Kodak Portal_files/popup_ie6.js"></SCRIPT>
    <SCRIPT src="Introduzione - Kodak Portal_files/urMessageBundle_it.js"></SCRIPT>
    <SCRIPT src="Introduzione - Kodak Portal_files/toplevelnavigation.js"></SCRIPT>
    <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
    <BODY class="prtlBody urFontBaseFam urScrl"><!-- EPCF: Component com.sap.portal.navigation.portallauncher.default, ingimdmohgfmmefgpmjakjaoloejooag ><! EPCF: Component com.sap.portal.pagebuilder.pageBuilder, bpjeddnfehibjmgdenlbfdaolmpgdhip -->
    <SCRIPT>
    var caEngine = new CAManager('/irj/servlet/prt/portal/prtroot/com.sap.portal.httpconnectivity.httpauthentication.Engine','dialogHeight:10;dialogWidth:20;center:1;help:0;status:0');
    caEngine.registerCAEvent('com.sap.portal.httpconnectivity.httpauthentication','Teach',caEngine,'eventCallBack');
    </SCRIPT>
    seeing the scripts, the difference is that the path in italian is not given..
    where do i have to give that??
    need help in this regard...

    While translation make sure u dont leave a space in the end in the translated text.
    I found this error resolved after removing the spaces from the end of the translated text.

  • Javascript error in TLN=1

    Hi everybody, i'm working in EP SP13; i put TLN = 1 in the way the documentation says.
    Now (sometime) i get a strange javascript error during the navigation in the portal: it says "object required" on row 777.
    When i get this error i'm not able to navigate anymore in the portal, it always remains in the home page.
    The problem gets solved when i put TLN=2 again.
    What could be the cause of this behaviour?
    Thanks in advance.

    Hi Pier,
    You should change number of TLN levels in <b>two</b> places:
    1. <b>In the TLN iView</b> - the property <i>Number of Display Levels</i>.
    2. <b>In the Desktop Innerpage (inside the framework page)</b> - the property <i>Number of Display Levels in TLN</i>.
    Hope that helps,
    Yoav.

  • JavaScript errors at function calls to "top" (e.g. team room or wpc editor)

    Hi all,
    formerly I run into problems when I tried to embed a team room into the content area of the NW portal.
    Now I have a similar problem with the WPC page editor.
    In both cases I get JavaScript errors, because the navigation calls a "top" element, which seems to be overwritten by the portal frameworkpage.
    Is there any possibility to isolate these elements in a way that allows to embed them into the content area of the portal without these errors?
    Or is it only possible to open them in a new window?
    Regards, Josef

    Hi priya,
    Not sure: check syntax in your Update Roules, also at level of start routine.
    Ciao.
    Riccardo.

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone,
    This is the scenario we're facing a javascript error :
    Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
    The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
    The html link to the bi web application is created according to this documentation :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
    Purpose of the bsp application :
    in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
    The process described above is :
    working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
    working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
    not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
    The javascript error calling bi 7.0 web applications is :
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
    Message: Object doesn't support this property or method
    Line: 96
    Char: 11
    Code: 0
    URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
    We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
    Is there any way to find out, what is causing this object is missing ?
    Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
    system components :
    production system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 7
    q&a system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 8
    Kind regards.
    Dirk

    Hello everyone,
    we did some further analysis on this problem und we think we found the problem.
    The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
    https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
    While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
    In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
    dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
    In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
    dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
    The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
    Has anyone seen this before? Any ideas how we can fix this?
    Kind regards,
    Matthias
    Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

  • Opening new window in xMII Portal navigation tree

    I'm doing a 5-level deep drilldown where each drilldown needs a new window (browser page). I do it with JavaScript and window.open(strURL); and xMII 11.5.
    This works well with "standalone" pages, but I would like to use xMII Portal navigation tree all through.
    So, is there a way to open a page (with JavaScript) in xMII Portal Navigation tree so that user gets "jumped" to this location while staying in portal without a new window or popup window. Just like I would do with mouse (navigate tree, open page) but with code?.
    I have found nothing relating to this in SDN or help files.
    Message was edited by:
            Matti Nummi

    Hi, Matti.
    If you specify a target attribute of "MainContentWindow", it should open up in the portal content area.
    Best regards,
    Rick

  • Javascript error in Content Admin- Portal Content- iview Navigation window

    Hi friends,
    We are in the process of portal migration and as a part of this, we installed NW04 SPS 14 using Rapid Installer and then upgraded it to SPS 18. The components we upgraded are:
    Java component
    Portal Platform
    Knowledge Management and Collaboration
    Adobe Document Services
    BI UDI
    BI MMR
    After upgradation, when we logged in to portal, we were not able to see/browse Portal pages/Roles/Iviews/Worksets (PCD Contents) under Content Administration->Portal Content.
    Again, whichever window is there for navigation of PCD, we are not able to see the contents of PCD.For e.g. System Administration -> System Configuration.
    Does anyone know how to solve this issue?
    Regards,
    Nilz

    Hi nilz,
       See this thread:
    Getting javascript error while logging in EP
    Javascript error when loading Portal Content
    Regards, Suresh KB

  • Javascript error in Content Admin- Portal Content

    Hi Experts,
    We have just installed SAP Netweaver Portal 7.0. We get an error of javascript when we navigate to Content Administration->Portal Content and due to this Portal Content Folder is not displayed. While through Super Admin role Portal Content is displayed with javascript error. Please guide us, its Urgent.
    Rewards to satisfactory answers.
    Regards,
    Bharat Mistry.

    Hi Bharat
    refer to this for the Log file
    Physical path of log files in EP server
    Portal Runtime Error - Where is the log file?
    For javscript problem refer  to
    Javascript error when loading Portal Content
    Portal Content Permissions
    Getting javascript error while logging in EP
    Thanx
    Pankaj

Maybe you are looking for

  • I am unable to open Lightroom 5 catalogs due to "unexpected error"

    I cannot currently open Lightroom. Each time I try it tells me that the catalog could not open due to an "unexpected error". I get this error for every catalog and every backup. I can't even seem to create a new catalog successfully. Any help would b

  • Set the heap size

    Hi, I am wondering what's the default heap size if I don't add -ms -mx opation? I set the two options and the following is the output from -verbosegc. what's it means? Thanks. [GC 2598K->2145K(2696K), 0.0035829 secs] [GC 2656K->2201K(2824K), 0.003626

  • Sequence Settings - missing tabs

    Hope it's just a silly question... My sequence settings window has only two tabs: Timeline options and render control. Do I have to change anything anywhere to be able to change other things as Samplerate, fieldorder etc... I'm feeling a bit stupid a

  • Connect Oracle Database with help of sql server storedprocedure

    Hii,           Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one stored procedure to connect orac

  • Can I add a sub menu to Preferences menu?

    My plugin requires some settings to be done before using that. Can I add a sub menu to a Edit->preferences menu?