Servigistics InService Customization > Customizing the Servigistics InService User Interface > Enabling Hotspots in Third-Party Scalable Vector Graphics
  
Enabling Hotspots in Third-Party Scalable Vector Graphics
You can configure the elements and attributes used to enable hotspots for callouts in Scalable Vector Graphics (SVG) files created by any third-party illustration tools. This configuration information is used by the Servigistics InService viewer.
To use hotspots for callouts in Servigistics InService SVG files, you must define or modify the com.ptc.sc.svg.callout.tagname property in the sc.wt.properties.xconf file located in the directory <INS_HOME>/InS_SW/SW/Applications/Windchill.ear/codebase.war/com/ptc/sc/xconf.
This property is already initialized in the default configuration. The default entry in the sc.wt.properties.xconf file is:
<Property name="com.ptc.sc.svg.callout.tagname"
default="class=callout_,class=hotspot_,id=hotspot_" overridable="true"/>
Unless configured otherwise, Servigistics InService uses the default configuration.
To configure third-party SVGs, append the custom attribute string to the existing property value or override the existing value. Servigistics InService uses the saved configuration set in the default value and acts accordingly.
You must configure the callout-compatibility for SVG files because of their formatting differences. For more information, see Configuring the Callout-Compatibility for SVG Files.
Protocol for Property Configuration in Servigistics InService SVG Files
A protocol for configuration is available for Servigistics InService to recognize how different SVG files represent the callout numbers present inside the file.
The following format is an example of the protocol:
{attribute_name_1}={attribute_value_1},{attribute_name_2}={attribute_value_2},
{attribute_name_3}={}
Note the following rules in the protocol:
attribute_name_1, attribute_name_2, and attribute_name_3 correspond to the name of the callout attributes in the SVG files
attribute_value_1and attribute_value_2 correspond to the strings prefixed to the callout number in SVG files.
attribute_name_3 has no value.
The following code shows an example configuration of the com.ptc.sc.svg.callout.tagname property that uses the protocol:
class=callout_,class=hotspot_,id=hotspot_,apsname=
Note the following things in this configuration:
class, id, and apsname are the attribute names and correspond to the callout attributes in the SVG files.
callout_ and hotspot_ are the attribute values and correspond to the string prefixed to the callout number in the SVG files.
The apsname attribute has no value as the corresponding SVG file format does not use any prefix string for the callout numbers.