Description:
Within the Description or Summary field if the description contains html code referencing to internal / external site, once we save it shows up the URL hyperlinked, is there any way we can disable that?
If one were to enter some html code in the description of a ticket. When you save the ticket it appears as hyper linked. For example -
In the ticket details screen if we have code as below in Figure 1.
Figure 1:
<Please see attached file for image>
Once we have it shows up as below in Figure 2.
Figure 2:
<Please see attached file for image>
There might be a requirement to just display the entire code, rather than the hyper link. How do you do it?
Solution:
if(propSearchConfig.indexOf("description*") > -1) { <PDM_MACRO NAME=dtlTextbox hdr="Description" attr="description" size=120 colspan=3 rows=4 keeplinks=yes spellchk=yes srchknow=yes> } else { <PDM_MACRO NAME=dtlTextbox hdr="Description" attr="description" size=120 colspan=3 rows=4 keeplinks=yes spellchk=yes srchknow=no> }
if(propSearchConfig.indexOf("description*") > -1) { <PDM_MACRO NAME=dtlTextbox hdr="Description" attr="description" size=120 colspan=3 rows=4 keeplinks=no spellchk=yes srchknow=yes> } else { <PDM_MACRO NAME=dtlTextbox hdr="Description" attr="description" size=120 colspan=3 rows=4 keeplinks=no spellchk=yes srchknow=no> }Note that keeplinks value has been changed to 'no' from default 'yes'.
Similar would be the case if you want to disable links in Summary field.
Above would apply to Request / Incidents / Problems / Change Orders / Issues