Skip to main content

Notifications

Dynamics 365 Community / Forums / Commerce forum / Refresh POS Custom Con...
Commerce forum
Answered

Refresh POS Custom Control When Changing The Product Variant

editSubscribe (1) ShareShare
ReportReport
Posted on by 19
Hello, it's me again.
 
We have some ViewExtensions from SimpleProductDetailsView. It contains some custom controls like the one you can see in the image below (i.e.: Compositions):
 
//
 
I would like to refresh these controls' values when the user changes the Color field. I cannot find a way to do it, there's only Init and OnReady methods on these .ts files, and I also couldn't find any handler for it.
 
Can you please help me with that?
 
Thanks in advance.
 
Luiz
  • Verified answer
    Luiz C. Ventura Profile Picture
    Luiz C. Ventura 19 on at
    Refresh POS Custom Control When Changing The Product Variant
    Hello,
     
    I got some help on Yammer.
     
    It's possible to do it using the productChangedHandler.
     
     
    I hope it helps someone else in the future.
  • Luiz C. Ventura Profile Picture
    Luiz C. Ventura 19 on at
    Refresh POS Custom Control When Changing The Product Variant
    Somebody to help?

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,373 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,212 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans