Expand my Community achievements bar.

AEP Web SDK Extension Update Variable command for Data type Variable only shows up to 250 events in the UI

Avatar

Level 2

Hi,

when I am configuring the Update Variable command for the Data type Variable (instead of XDM), there seems to be a problem with the available events. The list only shows up to 250 events, though we have 1000 available. Additionally, it's not possible to manually fill in the value because a "not found" error appears. I know I can possibly set the events in the custom code or by providing a JSON, but that kind of defeats the purpose of the UI fields.

Is anyone else experiencing this issue?



JanJav_0-1720596288266.png

JanJav_1-1720596469026.png

 

 

  

2 Replies

Avatar

Level 8

Hi @JanJav 

I can confirm. As a workaround, you should be able to add your events > 250 as part of the custom code block.

 

content.__adobe = content.__adobe || { };
content.__adobe.analytics = content.__adobe.analytics || { };
let s = content.__adobe.analytics;

const newEvents = ["event251", "event999"].join(",");

s.events = s.events ? s.events + "," + newEvents : newEvents;
// alternatively, if you have the apl plugin installed, you can use it instead

 

I would open a product idea if I were you. Obviously, this would end up in a super long dropdown.

 

Cheers

Avatar

Level 2

Thanks for the swift answer!

So it seems that it is necessary to resort to custom code for now. It would be great if at least the search field worked for events above 250...