I have a Lightning Component in a Record Page on Order object, and whenever I add a product (new OrderItem is created) in the order, I'd like to somehow notify the component to update its' content.

Just so things make more sense, my component has to show the total weight of the products.

All I need here is directions on how to accomplish this. Ideally I'd want to be able to fire custom events and on component have a listener. Which I have no idea if it's even possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.