Announcements
Hi,
I'm working with Custom Component and I added a button in component. Can I set different on-select event in that button when use component in different screen?
Ex: Screen A ----- button on-select do function X
Screen B ---- button on-select do function Y
Thanks for reading!
Have an input property that Defines the Screen Name as a text field, then you can pass in whatever value you want for that on each screen and have your code check if(component1.screenname="Screen 1" then do XYZ)
Thanks for your solution!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 510
WarrenBelz 426 Most Valuable Professional
Vish WR 281