How to add a custom field to the Log Comment activity form
search cancel

How to add a custom field to the Log Comment activity form

book

Article ID: 266135

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

How to add a custom field to the Log Comment activity form (detail_alg.htmpl)

Environment

Release : 17.3

Resolution

1 In this example a custom field with type Integer named: z_sort2 already exists.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=UQ2WR+qGFjeBCjy3r/Rz8g==

2. Take the summary field and change it to point to the custom field (z_sort2) and change the field to dtlTextbox. You could just copy the existing summary field if you need to keep the summary. All these changes have been made through the source tab. See:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=0FjX5zlA39P8URgT8K5V/A==

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=2UaVHh5Xuf1x8skH6NdDCw==

(Change in line 472)

3. Publish the changes to site/mods, run pdm_webcache -H, and delete the cache from the browser. Now the custom field appears as a textbox and is editable