rudym88 Posted January 21, 2019 Posted January 21, 2019 Hi gurus, I have a layout with a "popover button" which label is "Hold", inside the popover i have a global field for the user to enter a note, there are also two button inside the popover labeled "accept" and "cancel". I then have a script that creates a record in a related table all is working find except that i would like to insert the name of the popover button into a field. I am able use Get ( ActiveLayoutObjectName ) and set the name of the inner button but how would i get the name of the popover button. Thanks Rudy
siroos12 Posted January 21, 2019 Posted January 21, 2019 Why not using script parameters to pass the name of the button to the script?
rudym88 Posted January 21, 2019 Author Posted January 21, 2019 Thanks Siroos, How would i do that i am not calling a script from the main popover button Thanks rudy
siroos12 Posted January 21, 2019 Posted January 21, 2019 You may either set a global variable at opening the popover to save the popover name and then use it in your record creating script or hardcode the popover name in script parameters. I hope that above does make sense. It would be easier if you could send us a mockup file so we could better understand the issue .
comment Posted January 21, 2019 Posted January 21, 2019 A button or a popover do not activate by clicking. If you want your script to know where it was called from, simply attach a unique text parameter to the button calling the script.
Recommended Posts
This topic is 2131 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now