TMACUL

http://www.servicedeskusers.com/Modify_Action_and_Condition_Macros_via_the_GUI

Blog Post created by TMACUL Champion on Jan 1, 2016

Modify Action and Condition Macros via the GUI

 

From SDU

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:

<PDM_IF "$args.type" == "ACT" || "$args.type" == "COND"> //Action and Condition Macros

Shortly 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>

Simply replace the above lines with the following for R12.6:

<PDM_MACRO NAME=dtlTextbox  hdr="Macro Type Description"  attr=type.description size=80 colspan=4> <PDM_MACRO NAME=dtlStartRow> <PDM_MACRO NAME=dtlTextbox  hdr="Macro Code"  attr=usr_string1 rows=20 size=80 colspan=4>


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.

Retrieved from "http://www.servicedeskusers.com/Modify_Action_and_Condition_Macros_via_the_GUI"

Outcomes