Developer forum

Forum » PIM » Use Listbox content - Concatenation provider

Use Listbox content - Concatenation provider

Davy Capiau
Reply

Hi,

 

What does 'Use Listbox content' do in the Concatenation provider?

 

https://doc.dynamicweb.com/documentation-9/platform/platform-tools/field-types


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

In ConcatProvider, “Use Listbox content” controls what gets inserted into your concatenation result when the placeholder points to a list-type field (list box / dropdown / radio / multi-select).

What the option actually does

The provider has this internal switch:

  • Value (default) → use the stored option value (often an ID/system value like XL, 123, red)

  • Name → resolve the selected option(s) to their localized display name (like “Extra Large”, “Red”)

So for a list field with options:

  • Value: XL → Name: Extra Large

Then:

  • Use Listbox content = Value → concatenation inserts XL

  • Use Listbox content = Name → concatenation inserts Extra Large (in the product’s language)

Extra nuance your implementation adds

  • For multi-select / checkbox list, split the stored value by comma and convert each selected value to its name, then re-join with commas.

  • For dropdown / radio, convert the first matching selection and then break; (only one selection makes sense there anyway).

  • If parsing the setting fails, fall back to Value (safe default).

Practical rule of thumb

  • Pick Value if the output is meant for systems (feeds, integration keys, stable identifiers).

  • Pick Name if the output is meant for humans (UI text, descriptions, SEO-ish strings, emails, labels) — and you want it localized.

Votes for this answer: 1

 

You must be logged in to post in the forum