How To Comment Out PDM_MACRO Statements In HTMPL Custom Files?

Document ID : KB000015678
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

To meet specific business requirements, Service Desk administrators would need to customize the htmpl web interface pages often. Very often 

administrators would like to keep the original statements in the custom file so to keep track of what have been modified. That is, those statements

would need to be commented out instead of deleted. This tech doc explains how that can be done with PDM_IF macro. 

Question:

How To Comment Out  PDM_MACRO Statements In HTMPL Custom Files?

Environment:
Windows, Unix/Linux, Service Desk/CMDB 12.9, 14.1, 17.0
Answer:

You can use <PDM_IF> macro to comment out those statements like this "

<PDM_IF 0>

(statements you want to comment out)

</PDM_IF>

"

Please notice that in <PDM_IF 0> it is 0(zero) not o(letter o).