Developer forum

Forum » PIM » Listbox fields in a FieldTypeProviders.ConcatProvider

Listbox fields in a FieldTypeProviders.ConcatProvider

Michael Knudsen
Reply

Hello forum,

- I'm trying to use the Dynamicweb.Ecommerce.FieldTypeProviders.ConcatProvider to generate simpel concat of two fields, but the output is a bit unexpected. Listbox fields are displaying 'value' and not 'name' as expected. How do I get the 'name' of the option DelogueLayers1 listbox field?

Concat field parametre:
{ProductCategory|Products|DelogueLayers1}: [{ProductCategory|Products|DelogueMaterialPCT1} %]

Output:
LAYER01: 80 % 

Expected output:
Cover: 80 %

 

Listbox field options:

 

Br. Michael Knudsen


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

Option value is expected result here as well as for product custom field type of list. An ability to get the name seems not to be available in the feature.

BR, Oleg QA

 
Michael Knudsen
Reply

Hello Oleg,

- thanks for your response! I'll create it as a feature request and cross my fingers for somebody to pick it up to a upcomming release.

Br. Michael Knudsen

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
OK, well done! BR, Oleg QA

 

You must be logged in to post in the forum