If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos upgrade JavaScript issues

Started by louisy, 07 Nov 2008 01:18:38 AM

Previous topic - Next topic

louisy

Hi

We are busy with upgrading our Cognos 8.2 installation to Cognos 8.3.

We have a section of code which looks like this:

pickerControldtStartDate = new CDatePicker(document.forms["formWarpRequest"].elements["p_StartDate"], document.forms["formWarpRequest"].elements["_oChoicedtStartDate"], document.forms["formWarpRequest"].elements["_oChoicedtStartDate"], document.getElementById('dialogDatePickerdtStartDate'), 'dtStartDate', '', 1, 0, '',0, 0, '', addMonth(), true, 'XML', document.formWarpRequest.imgTestdtStartDate);

In accordance with Cognos upgrade documentation we've changed to the code to the following:

pickerControldtStartDate = new CDatePicker(getFormWarpRequest().p_StartDate, getFormWarpRequest()._oChoicedtStartDate, getFormWarpRequest()._oChoicedtStartDate, document.getElementById('dialogDatePickerdtStartDate'), 'dtStartDate', '', 1, 0, '',0, 0, '', addMonth(), true, 'XML', getFormWarpRequest().imgTestdtStartDate);

But now we get the following error:

'this.m_oForm' is null or not an object

Have any of you experienced this before? Any ideas?

Suraj

Yes lots of javascript don't work with 8.3.
there is a documentation at support.cognos.com for some ways to modify some of the javascript calls.

louisy

I've already applied the suggestions in the Cognos documentation.