Model Driven Apps
Learn how to add KeyNamics to your model driven app entity forms.
Last updated
Was this helpful?
Learn how to add KeyNamics to your model driven app entity forms.
Last updated
Was this helpful?
As part of the initial installation and set-up of KeyNamics, Omfax technicians will assist as required to add Keyfax to your default Repair or Enquiry Form. Beyond that, you can add further Keyfax launch buttons to any form within Dynamics as needed.
Go to .
Login and from the left hand menu, choose Solutions.
Pick the Solution you wish to modify, e.g. Customer Service.
Locate the entity where you wish to add a Keyfax button.
Open the entity form and click on Switch to classic (as at April 2020, Power Apps does not support the insertion of Web Resources onto a Form):
Find somewhere convenient to drop a button and then switch to the INSERT tab (we are actually creating an iFrame).
Click Web Resource and either enter 'keyfax_common' or search for keyfax_common.html web resource and supply other required settings (note that if you type 'keyfax_common' it can take a few seconds to respond before the resource name is displayed correctly). Ensure that the Name of the Web resource is 'WebResource_Keyfax' (case sensitive so please ensure the case is correct):
On the Formatting tab, adjust the following options. You may wish to experiment with these settings in order to achieve the optimum use of real estate available on your form. Click OK when done:
Now we need to add & set-up the LaunchKeyfax.js web resource as a Form Library on the form used to present KeyNamics within Dynamics 365. In this example this would be our Repair Main form. Again within the Dynamics 365 classic view expand Entities > Repair on the left and click "Forms". Click the "main form" link to edit the main form as shown below:
This will launch the form Designer:
Click the Form Properties button:
Add the LaunchKeyfax.js web resource as a form library to the form as shown below:
Add an OnLoad event handler with the function name Sdk.formOnLoad and ensure the "Pass execution context as first parameter" check box is ticked:
Click OK then the Form Properties window should look like this:
Click OK again then Save then Publish. Now you can create entries to suit your form!