Changing Lookup field to a Dropdown field on a Web form
search cancel

Changing Lookup field to a Dropdown field on a Web form

book

Article ID: 54684

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Question:

How to change the "Status" field from a Lookup field to a Drop down box?

Answer:

If you would like to change the "Status" field from Lookup to Drop down box in detail_cr.htmpl file, then add the parameter 'lookup=no' to the following line using Web Screen Painter:

Before:
<PDM_MACRO NAME=dtlDropdown hdr=Status attr="status" factory=crs_xx>

After:
<PDM_MACRO NAME=dtlDropdown hdr=Status attr="status" factory=crs_xx lookup=no>

Where xx is in, cr, pr or chg.

After the change, click on Save and then Publish.

Run pdm_webcache and clear browse cache and cookies.

You should now be able to see Lookup field changed to Dropdown box.

Environment

Release: SDMU0M99000-14.1-Service Desk Manager-Full License
Component: