Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hello All,
I have two versions of SVG map. I would like to use both versions. I want to keep the old version as it is and want to rename the latest version of SVG map as svgMapNew. Can some one suggest me the way to do it.
I tried renaming under \Users\XXXX\AppData\Local\QlikTech\QlikView\Extensions\Objects folder. When iam trying to create a new object its throwing an error "typescript unable to get property 'prototype' of undefined or null reference"
 
					
				
		
 schlettig
		
			schlettig
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
you would have to change the name at some more points:
for instance in the script.js you'll find something a name definition or
in the actual SVG Map extension a few lines with the Name hardcoded - these (..Extensions/svgMap/ ..) would need to be changed at least.
function svgMap_Example_Init() {
if ( typeof jQuery == "undefined") {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/jquery.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/json.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/jquery.color.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/raphael.js", svgMap_Example_Done)
})
})
})
} else {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/json.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/jquery.color.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/raphael.js", svgMap_Example_Done)
})
})
}
}
hope that helps, regards,
Christian
 
					
				
		
 schlettig
		
			schlettig
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
you would have to change the name at some more points:
for instance in the script.js you'll find something a name definition or
in the actual SVG Map extension a few lines with the Name hardcoded - these (..Extensions/svgMap/ ..) would need to be changed at least.
function svgMap_Example_Init() {
if ( typeof jQuery == "undefined") {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/jquery.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/json.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/jquery.color.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/raphael.js", svgMap_Example_Done)
})
})
})
} else {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/json.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/jquery.color.js", function() {
Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/svgMap/raphael.js", svgMap_Example_Done)
})
})
}
}
hope that helps, regards,
Christian
 
					
				
		
Thank you Christian
