How to use apl (appendToList) in AEP Web SDK using "UpdateVairable" options?
Dear All,
As part of migration process, we are moving from AA legacy to AEP Web SDK. Here, with respective to apl (appendToList) plugin we trying to replicate the same in AEP Web SDK method but couldn't work out. Kindly help!
Use Case
We are using update variable options In AEP Web SDK to merge the value in the beginning before sending a server call (/ee) we bascially conslidate and send it into one server call itself. But here when we are using update variable options in AEP its basically overwritting the default value setup in the XDM | PageView.
Example
- In Rule 1 "Top Page" we are setting a UpdateVariable - Prop1 = New Vendor
- In Rule 2 By default AEP Global Rule - Prop1 = Global | All
Expected results
- On Page Load if rule 1 fired along with default rule 2 then the server call replace the default value shows "Prop1 = New Vendor"
- On Page Load if rule 1 is NOT fired but the default rule 2 fire then the server call shows "Prop1 = "Global | All".
So here is our understand, if any rules fire before the default rule then the default Prop1 value will be overwrite by the inital rule. Expected outcome would be if both rule are fire then the Prop1 should show "Global | All | New Vendor".
Kindly let me know if you get some solutions on this.
Thanks,
Vijay