How To Comment Out PDM_MACRO Statements In HTMPL Custom Files?

book

Article ID: 15678

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/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. 



How To Comment Out  PDM_MACRO Statements In HTMPL Custom Files?

Environment

Windows, Unix/Linux, Service Desk/CMDB 12.9, 14.1, 17.0

Resolution

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).