Enable send text button

This forum is for programmers who have questions about the source code.
Post Reply
awadh
Posts: 23
Joined: Tue Apr 21, 2020 6:09 pm

Enable send text button

Post by awadh » Mon May 11, 2020 3:42 am

Dear All,
I am from Australia. I have a code interfacing with SMS gateway and want to hook it to Open Dental. But I can not enable "Send Text Message". They are greyed everywhere. How do I enable them?
Awadh

joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: Enable send text button

Post by joes » Mon May 11, 2020 8:59 am

Hello, awadh. Buttons and menu items that send text messages are enabled or disabled based on the result of the SmsPhones.IsIntegratedTextingEnabled() method. This method has a hook named "SmsPhones.IsIntegratedTextingEnabled_start" that returns a bool. Implementing a plugin for that hook that can return "true" will allow you to enable buttons and menu items for texting.
Joe Sullivan
Open Dental Software
http://www.opendental.com

Post Reply