Hi everyone,
I have this problems where I want to make a page where people could buy something and add it to cart.
this is the current situation. On the input I assign the variable from the aggregate of products.
The problems comes when go to other page with pagination. I want the input to stay the way it was when edited but if I go to another page the number that I gave on the earlier page has gone. I want the number to stay.
If I go to page 2 the number 3 that I already input in the first page will gone.I understand that this is the result of refreshing the aggregate where the pagination use refresh aggregate to go to another page. That's why the number keep disappearing every time I go back.Is there another way around to make the input to stay the way It was edited when I go to another page? or is it impossible to do.
Thank you guys.
Hello Raven,
You can use the Client Variables by appending the values using commas or any other delimiter and then while fetching those values, delimit them and fetch it as list or else you can utilize the entity by storing those values in it, using the crud operations whenever the value is changed ("But using the crud operation is not the optimized way").
Hope it helps.
Regards,
Nandhakumar S.
I've executed your expectation with my solution, and it works fine. As I said, using the entity method is not the best practice, but I've executed both the methods.
I've attached the screen recording. Due to some size limitations, I've posted the OML file as a different comment. Kindly, take a look.
If you've any queries feel free to ask, Hope this helps.
Due to the size issue, I've attached the OML file here.