BenediktBergmann / PCF-Controls

Controls using the PowerApps Component Framework
GNU General Public License v3.0
24 stars 21 forks source link

Teams Dialer is not working while Phone Number Control is enabled. #104

Open RobinMulder1991 opened 11 months ago

RobinMulder1991 commented 11 months ago

Teams Dialer (to call through teams towards a landline) is working with the default Phone fields on the tables Account, Contact and Lead. Yet users are able to insert non numeric characters into the field, which is not preffered. hence we are using the Phone Number Validator, which is working like a charm.

Yet, The Teams Dialer does not work while the Validator is enabled on the Phone field.

Steps taken:

RobinMulder1991 commented 11 months ago

Phone Number Control Phone Number Control (2)

====

Phone Number Control (3)

====

Phone Number Control (4)

====

Phone Number Control (5)

BenediktBergmann commented 11 months ago

@RobinMulder1991: Are you sure it has to be "teams:"? The standard phone field is using "tel:" if I remember correctly. I would try to configure tel in the PCF as well.

In Windows, every user can specify which application to associate with those different protocols. As described here: https://www.bvoip.com/integrations/default-click-to-dial-on-windows-with-tel-protocol

RobinMulder1991 commented 11 months ago

@BenediktBergmann Thank you fr your comment. Unfortuntely, the error is the same.

RobinMulder1991 commented 11 months ago

Hi @BenediktBergmann , Do you happen to find a solution? Glad to hear from you! Regards, Robin

BenediktBergmann commented 10 months ago

Hej @RobinMulder1991, sorry for the very late response. I looked a bit further into this. I assumed you would like to open Teams when the number is called. But you are talking about the teams call function which shows within D365. Correct?

What I found is that I could generate a Teams deeplink to open teams and call the number. As described here: https://github.com/microsoft/Federal-Business-Applications/blob/main/demos/d365-click-to-dial-teams/README.md Is that what you would need?

RobinMulder1991 commented 9 months ago

Hej @BenediktBergmann ,

Thanks for your follow-up! Your solution is not exactly what I need. I would like to start a teams call whenever the enduser pushes the Phone Icon next to the phone field(s) on Lead, Contact or Account.

Right now we disciplined the end-users to enter phonenumer in the correct format, in order to initiate a call wihin the default, altough that is not the ideal situation.

BenediktBergmann commented 9 months ago

@RobinMulder1991 as I understand it from what I found is that when the integration between Teams and D365 is activated the Teams call should start within teams (and not open the users teams app on the machine). This will be hard to achieve. The one I can do is the Teams deeplink which in the end also will call the number through teams when the user is clicking the button. It just won't be directly in D365, which I don't know whether you'd like to have.

If you want to we can plan a short Teams meeting where you show me how it is working today with the OOB component. Then we can try to find a solution so that my PCF works for you as well. Would that be okay?

RobinMulder1991 commented 9 months ago

I would greatly appreciate if we can have a temas meeting on Feb 7 or 8, so I can show you the OOB functionality. On which email adress I can invite you?