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

Javascript not working - Need Jquery Version

Started by TheDarkKnight, 25 Jul 2017 06:06:45 AM

Previous topic - Next topic

TheDarkKnight

Hi All,
We recently upgraded from 10 to 11.
What is the jquery version compatible / to be used in Cognos 11.

We have a Cognos report which displays comments in text box for the parameter[Metric Type] selected.  Users can edit the comments by using the edit button, if needed and can submit the comments which will reflect in database.
The Edit functionality is coded through JavaScript [using jquery.js,ckeditor.js...etc]
The functionality was working fine in Cognos 10. Post Upgrade to Cognos 11, the edit functionality is not working

it seems the jquery version we are using is not compatible and needs to be updated. not sure
I tried 2.1.1 and other few versions. but no help

Please help

Regards
TDK


CognosPaul

Are you using this in interactive or non-interactive mode?

It looks like Cognos has 2.0.3, at least in the frame. Non-interactive mode does have something using the $ keyword, but it's not jQuery, it looks like it's something IBM wrote.

Can you post your code?

anithask

I have same issue in connecting JS to custom control to add JS of mapbox. can any one help me to find the procedure / JS for mapbox to get street level details in map?
<html>
<head>
<script src='https://api.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.css'; rel='stylesheet' />
</head>
<body>
<div id='map' style='width: 400px; height: 300px;'></div>
<script>
mapboxgl.accessToken = 'pk.eyJ1Ijoic3llZC1pc21haWwta2hhZHJ5IiwiYSI6ImNqNTJuOGF3aTBnNTUyeG8ycjB1ZzY0azIifQ.VhEXToBVrBZoFiwh2v4EPw';
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/mapbox/streets-v10'
});
</script>
</body>
</html>