Hi Patrick,
If you have productCategoryId in the parameter and need to show
categoryName then use in side of the form widget:
<field name="primaryProductCategoryId"
title="${uiLabelMap.ProductPrimaryCategory}">
<drop-down allow-empty="true">
<entity-options entity-name="ProductCategory"
key-field-name="productCategoryId" description="${categoryName}">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
and for ftl you have already got answer.
--
Brajesh Patel
Patrick wrote:
How can I remove the variable "productCategoryId" from the parameters
context? The reason I want to do this is because I'm doing a
drop-down on productCategoryId but displaying categoryName. I expect
to see {Apples, Oranges} in my drop-down, but I see {10011 (a
productCategoryId available in $parameters), Apples, Oranges}
Thanks.