Page 1 of 1

Hook request -> FormTxtMsgEdit -> SendText

Posted: Fri Apr 17, 2015 6:59 am
by jaynahar
if(Plugins.HookMethod(this,"FormTxtMsgEdit.SendText_Start2",patNum,wirelessPhone,message,txtMsgOk)) {
return true;
}
Please help add above hookmethod for FormTxtMsgEdit.cs in SendText method.
If possible, please backport to 14.2

Please do let me know if any other information is needed on this front.
Thank you!

Re: Hook request -> FormTxtMsgEdit -> SendText

Posted: Wed Apr 22, 2015 11:35 am
by jaynahar
Please help add this hook.

Re: Hook request -> FormTxtMsgEdit -> SendText

Posted: Wed Apr 22, 2015 2:45 pm
by allends
I have added this hook to the next beta update v15.1.22. Sadly, I can't backport the hook to a non-beta version. Hooks would require another release of a stable version and that is against our current policy.

From http://opendental.com/manual/plugins.html
In addition to the obvious buttons from Program Links, any number of hooks are allowed. We add them quickly and we backport them to the beta version so you can get going right away. Once we define a hook and what information it will pass, a plug-in can start to make use of it. We expect there to eventually be hooks in thousands of locations throughout the program. Almost anything can be done with hooks and plug-ins that can be done by directly altering the main program. Hooks are requested in the developer's forum. We do not add plug-ins to the OpenDentBusiness project.

Re: Hook request -> FormTxtMsgEdit -> SendText

Posted: Thu Apr 23, 2015 9:30 am
by jaynahar
THANK YOU!