Previous Topic: PDM Macro DefinitionsNext Topic: btnEndRow


PDM_Macro

CA Service Desk Manager builds web forms in a language named HTMPL. HTMPL extends standard HTML with references to server variables and a number of proprietary tags of the form PDM_xxx. One of these tags, PDM_MACRO, copies a named JavaScript code segment from the database into the form. Most PDM_MACRO tags invoke client-side JavaScript that builds the web forms just in time, immediately before they are presented to the user. Most web form controls are built with the PDM_MACRO tag. For example, the PDM_MACRO tag that builds the site field on the Location Detail form is coded as follows:

<PDM_MACRO NAME=dtlLookup hdr="Site" attr="site">

A PDM_MACRO tag contains one or more keyword parameters (properties). The NAME parameter is required on every PDM_MACRO to specify the name of the macro. Other parameters are required or optional depending on the macro.

Note: Site customization of PDM_MACRO definitions stored in the database is not supported and should not be attempted.