Changing Lookup field to a Dropdown field on a Web form

Document ID : KB000054684
Last Modified Date : 14/02/2018
Show Technical Document Details

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.