Skip to Content
0
Former Member
Aug 06, 2009 at 02:55 PM

Script Error- inside Collaboration Room

29 Views

Hi All,

I have created Collaboration Room based on SAP Default Room Template its working fine for portal User in this server URL for egs: http://servername:port/irj/portal

We generated this server URL into the internet URL like this http://www.companyname.com:port/irj/portal

But Iu2019m getting script error inside the collaboration Room, when we using this internet URL http://www.mycompany.com:port/irj/portal

Exactly Where Iu2019m getting this script error, Collaboration --> Room --> Room Directory, here I click any of the Rooms, it opens the particular Room in content Area and display some more page link in detailed navigation like has Document and Links, Tasks, Team Members, Search Room, Admin Room, Admin: Member and Room Relations.

If I click any of page link Iu2019m getting the script error like this Line: 707 char:5 Error: u2018nullu2019 is null or not an object

Through Visual Studio I found out that function

function setFocusOnDtn(){

var JSTree = SAP_getJSTree("DetailedNavigationTree"); // this JSTree is to be null so this line is probelm

var roots = JSTree.getSelectedNodes();

if(roots[0] != null && roots[0]!="undefined" && EPCM.getSAPTop().navPanelStatus == "exp"){

if(roots[0].getNodeAnchor() != null){

if(roots[0].getNodeAnchor().type!='hidden'){

roots[0].getNodeAnchor().focus();

} } } }

Help me to achieve this problem........

Regards

Thillai J