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

Maps with Javascript in Active Reports

Started by Pratap Reddy, 09 Feb 2018 12:57:09 AM

Previous topic - Next topic

Pratap Reddy

Hi,

Approach : can do with custom control with .js file

can we have java script in Html item to get Maps.if so can any one let me know the java script in Active reports?

Thanks in Advance.


dougp

It depends.  You're using Cognos 11, so...

If Run with full interactivity property is set to No, yes you can do that.
If Run with full interactivity property is set to Yes, no you can't do that.  You'll need to create the map as a Custom Control.

I recommend using a Custom Control.  It seems far easier to control and maintain.

MFGF

The other big question is... what sort of maps? Are you talking about the old Cognos 8/10 maps, or a RAVE map visualization, or the new MapBox maps in CA, or something else such as Google Maps?

MF.
Meep!

Lynn

I'm not sure the Run with full interactivity property is applicable for active reports. It is shown as a report property, but active reports don't run in the interactive viewer so I suspect it is perhaps not relevant for active reports.

dougp

That may be true, Lynn.  I don't use Active Reports much, but I did notice I had a bit more flexibility with JavaScript.

MFGF:  Good questions.  I'm using a Custom Control that leverages OpenLayers 3 to use base maps from ArcGISOnline and OSM and place points or join to a feature service using a key field.  Using the built-in mapping features would be totally different.

Pratap Reddy

Thanks your reply.

Dougp and Lyn,

I have changed the Active Report property 'Run with full interactivity' Set to No and it is working good, if it Yes it is throwing an error.

MFGF,

I have used Rave Visualization (Dynamic Map from Legacy Visualizations) in Active reports,but i cant get the map visualization as much as good like Map in Dashboard.Custom Control have an option with mapbox to solve this,my question is can have any other possible option to get the MAP Visualization as much as good like in Dashboard.

if i choose Custom control with Mapbox. i have to two file with .css and .js files to upload/insert in the module path.In some the video i have ceen that they are pushing the Map Visualization with only .js file.

Example : congressional States in US


Thanks in Advance