Hi there,
I have a method called new_record() which is called through a button on a form and also through the “New record” servoy function ( here I am overriding the servoy’s default method)
The application.getMethodTriggerElementName() is returning the last method trigger element name properly when I click the “new record” button in the form. But when I press Ctrl + N to activate the “new record” method it returns the last method trigger element name instead of returning empty.
I think the application.getMethodTriggerElementName() should only return the name of the element inside the method (& also the method’s sub methods) that element is attached to.
Thanks
Hameed