Jump to content
We've recently updated our Privacy Statement, available here. ×

Is there a way to supress warning messages from tittle of mpchart which occur due to geocoding issues


Ranjan Nayak

Recommended Posts

In the spotfire mapchart, I'm getting warning in the title due to geocoding issue. Its basically because of duplicate ids on feature layer. Its not a geographical mapchart, its basically shape files organised based on ids to show some value. The visualization logic is such that, its difficult to remove the duplicate ids on a quick fix, it'll take bigger design change to achieve that.

So, is there a way to suppress the warning from the title

Link to comment
Share on other sites

  • 4 weeks later...

There is already an idea raised for this functionality. You can vote for it and also someone has implemented a workaround:

https://ideas.tibco.com/ideas/TS-I-5523

"I mostly fixed this by using JavaScript. There can be a slight lag where you see the icon briefly (especially in the desktop). The downside is that this could change with software updates. "

function hideError() {

//find all warning buttons

var x = document.getElementsByClassName("sf-element sf-element-button sfc-warning-button sfpc-first sfpc-last sfpc-odd");

 

//loop through them and set display to none

var i;

for (i = 0; i < x.length; i++) {

x.style.display = "none";

}

};

 

//call function on any event

$(document).bind('ajaxSuccess', function() {

hideError();

});

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...