You need to sign in to do that
Don't have an account?
Ragnar Lothbrok 7
Can we make the event work based on Profile?
Hi there,
Is there a way that we can target the event of a field (Standard field - Case Owner) and make it run based on some profile and show pop-up confirmation message and once its confirmed change owner else dont change the owner.
How can we do this?
Thank you.
Is there a way that we can target the event of a field (Standard field - Case Owner) and make it run based on some profile and show pop-up confirmation message and once its confirmed change owner else dont change the owner.
How can we do this?
Thank you.
For this you need to make custom page i.e., Aura Component.
I am going to explain you sample scenario with the below example:-
The Lightning Overlaylibrary and Application Component will help you to achieve this:
I have design a sample component for you which will helps you:
1. Create one Application Event :(Name as OverlayLibraryModalEvent)
2. Create the Overlay Component :(Name as OverlayLibraryModal) ==> This will hold the OK and Cancel button
Here am passing the string as which button getting clicked to parent component via Application event
OverlayLibraryModal JS:
3. Parent Comonent : (Component which hold the initial submit button)
Once you have recievd the which button clicked msg then do the further operation handleApplicationEvent method
Parent Comonent JS:
https://developer.salesforce.com/docs/component-library/bundle/lightning:overlayLibrary/documentation
Can you please Let me know if it helps or not!!!
If it helps don't forget to mark this as a best answer!!!
Thanks & Regards,
Priya Ranjan