Modify Action and Condition Macros via the GUI
From SDU
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Overview
This article provides instructions on how to modify Action and Condition Macros via the Web Client.
Notice: CA does not support modifications to any default Action or Condition Macros, nor do they support the creation of any custom Action or Condition Macros.
Procedures
Step 1. Edit the detail_macro.htmpl form
Look for the following PDM_IF:
<PDM_IF "$args.type" == "ACT" || "$args.type" == "COND"> //Action and Condition MacrosShortly after you will see the following:
<PDM_MACRO NAME=dtlReadonly hdr="Macro Type Description" attr=type.description colspan=3> <PDM_MACRO NAME=dtlStartRow> <PDM_MACRO NAME=dtlReadonly hdr="Macro Code" attr=usr_string1 colspan=3>
Simply replace the above lines with the following:
<PDM_MACRO NAME=dtlTextbox hdr="Macro Type Description" attr=type.description colspan=3> <PDM_MACRO NAME=dtlStartRow> <PDM_MACRO NAME=dtlTextbox hdr="Macro Code" attr=usr_string1 rowspan=10 size=60 colspan=3>
For r11.x releases it is recommended that you edit your pages via the Web Screen Painter.
Step 2. Clear the web cache
The final step is to clear Service Desk's cache. Publish your changes via the Web Screen Painter. The process of publishing automatically initiates a pdm_webcache.





