Microsoft Dynamics 365 Integration for the PBX Widget.
- Run the command
npm install
to install all the dependencies, then runnpm run build
to build the project. - After building, copy the contents of the
dist
folder to a salesforce directory in your PBX webapps directory. EGC:\Program Files\Brekeke\pbx\webapps\pbx\etc\widget\dynamics
- Set your Dynamics 365 Channel Provider's Channel URL in the format
[PBX_URL]/pbx/etc/widget/dynamics/index.html?crm=[YOUR_DYNAMICS_URL]
Example if your PBX Domain is at https://brekeke.com, and dynamics instance is https://orgxyz.crm.dynamics.com The channel URL will behttps://brekeke.com/pbx/etc/widget/dynamics/index.html?crm=https://orgxyz.crm.dynamics.com
- Install and configure Channel Integration Framework
- Login into Dynamic365 using admin account.
- Go to Settings => Customizations => Microsoft AppSource.
- Find Channel integration in the search bar, double-click on the item and then install it by clicking GET IT NOW
- Accept the term and condition and remember to choose the targeted environment:
- After the installation, open the Channel Integration Framework app and create new channel providers:
- Fill the information like image below, and Channel URL as mentioned in the usage section.
- Configure Call Log Activity
- Go to Settings => Customizations => Customizations => Customize the Systems
- Go to Components => Entities and find Phone Call => Fields:
- Add 2 new fields:
- Go to Forms of Phone call:
- Click on the form you want to change the display, which is Phone Call for Interactive experience form.
- Do the same thing with Result field if you want to display it in phone call activity page.
- In the Phone Call for interactive experience Form, Click on Form Properties and follow the steps in the images below.
- In form libraries section, click on add
- Click on new
- Fill in the values and upload the script file
- Then save and publish it
- Select the newly installed script and click on add.
- Then under Event handlers, make sure the control is Form, select onLoad event and click on add.
- Select the newly installed library, input recordingFileAudioTag as the Function, enable it and also ensure you tick the "Pass execution context as first parameter" option.
- In the dependencies tab, add Recording File field to the dependent fields section. Then click OK
- Click OK
- Then save and publish changes.
- The Recording File field should now appear as an audio element.