1. Home
  2. TrueDialog Integrations
  3. Microsoft Dynamics
  4. MS Dynamics – Adding Other SMS Messengers

MS Dynamics – Adding Other SMS Messengers

Microsoft Dynamics Logo

Microsoft Dynamics

TrueDialog Integration

This article contains instructions for setting up the SMS Chat Messenger and Communication Dashboard to send one-to-one messages. See the MS Dynamics – Sending a Single MMS Message article for instructions on using the SMS Form Messenger. See the MS Dynamics – Using the SMS Messengers article for details about using the features of the messengers.

You can add these components to your Model-driven app. If you need to make changes to one of the apps, make a copy of the existing app because making changes in the apps that are part of the TrueDialog solution could cause upgrade issues.

SMS Chat Embedded on Contact/Account/Lead Form

This implementation embeds the Canvas App created by TrueDialog into the record form. Your administrator will find instructions on how to add the app to the form below.

It might require an additional app license from Microsoft if you are using their “per app” licensing approach. To avoid this, see the other options in this article, which don’t consume additional app licenses.

  1. Complete the following steps:
    1. Go to the Power Apps portal.
    2. Make sure that the correct Environment is selected.
    3. Open the Solutions list.
    4. Open the TrueDialog solution.
  2. Complete the following steps:
    1. Go to Apps.
    2. Select the app for the appropriate entity.
    3. Select Details.
  3. In the Details window, copy the App ID value.

    This value is different in each environment, even within the same tenant.

  4. Open the form to edit where you plan to add this functionality. This example uses the Lead form. On the form, define an existing section or create a new section where you plan to host the embedded chat. In that section, add the field Base Phone Number (it can be any other dummy field).
    1. Select the field to use.
    2. Go to Properties.
    3. Enter Base Phone Number in the Label textbox.
    4. Click + Component.
    5. On the Canvas App window, enter the App ID value you got in the previous step into the Static value textbox.
    6. Click Done.
    7. Click Save.
    8. Click Publish.
  5. Open the form to ensure your changes are applied correctly.

Currently, Microsoft doesn’t allow you to control the width and height of the inserted canvas apps, so the only way to make them bigger or smaller is to put them in a tighter/wider section on the form.

SMS Chat on Right of Contact/Account/Lead Form

To activate this feature:

  1. Go to the TrueDialog integration app.
  2. TD Configuration section and make sure that the following toggles are turned on for the required entity:
    • Show_OpenChat_Ribbon_Account
    • Show_OpenChat_Ribbon_Contact
    • Show_OpenChat_Ribbon_Lead

Once enabled, users will see a new button, SMS Chat, on the ribbon.

When the user clicks on the SMS Chat button, a side panel appears with the conversation history for this record and the ability to send a new message.

If multiple users send messages to the same record, you can filter only messages sent by the current user by checking the Only my SMS checkbox under the message textbox.

SMS Chat in Model-driven Apps

To make this button work in your Model-driven app, the system administrator must first add the Custom Page to the App. The example below shows how to add this feature to the “Customer Service Hub” app.

  1. If the app is already added to a solution, you can skip this step. Otherwise, create a new solution and add the app you need to update to it.
  2. Open the app in Edit mode.
  3. Once loaded, complete the following steps:
    1. Click the Add Page button.
    2. Select the Custom Page option.
    3. Click Next.
  4. Complete the following steps:
    1. Select the Use an existing custom page option.
    2. Select all the pages with the TD prefix.
    3. Uncheck the Show in navigation checkbox.
    4. Click the Add button.
  5. Click Save and Publish after saving.
  6. Return to your app, open the Account, Contact, or Lead record, refresh the page several times, and click on the SMS Chat button on the ribbon. Functionality should start working, and the window for sending messages should appear.

SMS Communication Dashboard

The Communication Dashboard is a page that can be embedded in the site map (navigation menu) and displays messages from different types of records (accounts/contacts/leads) in one place.

  • The user Image is taken from the record’s image; a standard entity icon is displayed if nothing is present.
  • The icon below the date/time of the last message is clickable. Once clicked, the user is redirected to the associated record main form.
  • The Only my records checkbox, filters contacts/accounts/leads, and displays only the records where the current user is assigned as an owner. When a user checks/unchecks the field, the value is stored in the field trd_userconfig in the table system user. If users don’t have permission to update the record, administrators can copy the JSON from a record where it was filled in and set the value in communicationDashboard_DefaultOwnedByUser to true.
  • The AI Assistant can be turned on and off. For details, please see the MS Dynamics – Using the SMS Messengers – AI Assistant article.

Max MMS image size is 300 kb. Files supported are .jpg, .jpeg, .png, .gif, .vcf, .mpeg, .mpg, .mpeg, .m1v,.m2v, .mp4, .pdf, .doc, .docx, .txt, .text, .wav, and .mp3

Updated on January 18, 2025
Was this article helpful?
Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
CONTACT SUPPORT

Leave a Comment