Model Driven Apps: Enhancing User Notifications
In a recent exploration, the potential to leverage In-App notifications within Model Driven Apps using an Instant plug-in, specifically the Dataverse Accelerator App, has been showcased. The core mechanism for triggering these notifications is through a ribbon button that activates JavaScript code, highlighting a workaround as the current Power Fx method is ineffective in calling the plugin.
Initial Setup and Scenario: Preparing for Implementation
The setup involves incorporating a new "Assigned To" property on the Feedback form, linked to the User entity and adding a ribbon button titled "Send Reminder." Additionally, enabling In-App notifications from the app settings and ensuring the Dataverse Accelerator App's installation are critical preliminary steps.
Instant Plug-in Creation and Execution: A Low-code Approach
An Instant plug-in can be created to facilitate notification sending with minimal coding required, utilizing the XSendAppNotification function. This enables actions such as opening URLs or entities, creating side panes for dashboards, and even incorporating Teams Chat Actions, enhancing user interaction and efficiency.
JavaScript Integration and Functionality: Crafting the User Experience
JavaScript plays a pivotal role in aligning form data with the plug-in, using a global context variable to bridge the CRM context with ribbon parameters. This integration allows for dynamic notification content based on form inputs, significantly enriching the Model Driven App's user engagement capabilities.
Conclusion and Demonstration: Seeing the Results
After implementing the above customizations and publishing the changes, the enhanced notification feature can be demonstrated. Such advancements underscore the evolving interaction paradigms within Model Driven Apps, promising more engaging and efficient user experiences in CRM environments.
In this blog post, Temmy Wahyu Raharjo demonstrates how to send notifications within Model-Driven Apps using an Instant plug-in called Dataverse Accelerator App. The process is triggered by a Ribbon button which executes JavaScript code. Currently, Power Fx cannot invoke the plug-in, posing a unique challenge.
The implementation scenario involves using a Feedback form with a new "Assigned To" property. This property links to a User, and a "Send Reminder" Ribbon button is added to trigger the necessary function. The In-App notifications feature must be enabled in the App settings, and the Dataverse Accelerator App installed.
To send notifications, the XSendAppNotification function is used. This function can perform several actions, such as opening URLs and creating side panes. The demonstration focuses on opening an MDA Entity form. The URL's structure is vital for correctly opening the selected entity.
In a recent blog post by Temmy Wahyu Raharjo, the focus is on sending in-app notifications within Model-Driven Apps using an Instant plug-in, namely the Dataverse Accelerator App. The key to triggering these notifications is through a Ribbon button that activates JavaScript code. This comes as a workaround since, as of the blog's writing, the Power Fx method does not support calling the plug-in directly.
The setup for implementing this functionality involves a scenario where an 'Assigned To' property is added to a Feedback form, linking to a user. Additionally, a 'Send Reminder' Ribbon button is introduced to trigger the necessary function. An essential step also includes enabling In-App notifications from the app settings and ensuring the Dataverse Accelerator App is installed.
Model Driven App, In-App Notification, Instant Plug-in, Ribbon Button, Dynamics 365, Power Apps, Custom Notifications, Plugin Development, Send Notification, CRM Customization