Expand my Community achievements bar.

SOLVED

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

 

 

  

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Yeah guess it is just presenting you the possible values that are part of the dropdown

In your case, you would want a free-form input field (which afaik was also not available in AppMeasurement).

 

Anyway, it may take a while before this is fixed. I would go with the custom code above for the moment.

Cheers from Switzerland!


View solution in original post

5 Replies

Avatar

Community Advisor

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

Cheers from Switzerland!


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...

Avatar

Correct answer by
Community Advisor

Yeah guess it is just presenting you the possible values that are part of the dropdown

In your case, you would want a free-form input field (which afaik was also not available in AppMeasurement).

 

Anyway, it may take a while before this is fixed. I would go with the custom code above for the moment.

Cheers from Switzerland!


Avatar

Level 2

You may be aware but this has now been resolved in newer versions of the SDK extension

Avatar

Level 2

Yes, it has actually been fixed not so long after I posted the question.