How to create a checkbox in WSP and link it to an SREL attribute?

book

Article ID: 143708

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

How to create a checkbox in WSP and link it to an SREL attribute?

Environment

Release : 17.2

Component : SERVICE DESK MANAGER

Resolution


1. Create the custom attribute and set to SREL Field type and Srel Table(example: SREL > bool (Boolean)
2. Set "On New Default Value" to 0 ( if a new default value is not set, the checkbox won't save data)
3. Publish the new attribute in WSP and pdm_publish
4. Customize detail_in.hmpl (or similar) and add a dtlCheckbox item. Set the SREL attribute from source tab since it won't be listed in the properties/select attribute window. (attr=custom_attribute_name)
6. Publish the form.