Skip to main content

When passing a event variable to a widget - is there any way to prevent it from deduplicating?

  • September 21, 2023
  • 5 replies
  • 9 views

Forum|alt.badge.img+3

When passing a event variable to a widget - is there any way to prevent it from deduplicating. For example, I have
event_names = "[Event.headline]".split(',')
event_descriptions = "[Event.description]".split(',')
event_product_name = "[Event.product_name]".split(',') However, since product name is a duplicate... I end up with less values in the list and their index doesn't correlate to the other lists.

Bug?

5 replies

Dmitry_Sarakeev
Staff
Forum|alt.badge.img+9

Hi, can you please try to use:
There is distinct() function in placeholder builder
It will only leave the unique values


Forum|alt.badge.img+3
  • Author
  • New Member
  • September 21, 2023

I'd still be left without two lists of the same length? As the items would be empty.


Forum|alt.badge.img+3
  • Author
  • New Member
  • September 21, 2023

And it'd deduplicate the empties.


Dmitry_Sarakeev
Staff
Forum|alt.badge.img+9

right, understood what you meant let me see


Forum|alt.badge.img+7
  • Bronze 5
  • November 25, 2024

Hi,
Currently, I am facing a very similar issue. Is there any update on this?
I need to display a table of entities, with each row containing an entity identifier, and different properties. However, I do not get the same number of entries in different lists, which makes my table inconsistent.