Modify Action and Condition Macros via the GUI

From SDU
Revision as of 04:29, 17 September 2008 by Gityerfix (Talk | contribs)

Jump to: navigation, search
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.

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: <source lang="html4strict"><PDM_IF "$args.type" == "ACT" || "$args.type" == "COND"> //Action and Condition Macros</source> Shortly after you will see the following: <source lang="html4strict"><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></source> Simply replace the above lines with the following: <source lang="html4strict"><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></source>

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.