Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

How to leverage existing plugin validations in Canvas App?

(0) ShareShare
ReportReport
Posted on by 873

Hello,

I have a table in model-driven that has different complex plugins for data validation across different tables.

We are requested to extend this table inside a Canvas Application.

The main goals that we want to achieve:

Instead of building the same validations/functionality that we developed in the plugins, would it be possible in the canvas to identify that in case one of the plugins has failed to throw an error with the appropriate error message related to the desired plugin?

Example: I have one of the plugins that checks for time overlaps when creating leave requests between employees and another plugin that fetches my leave balances. If the plugin that fetches my leave balances fails OnVisible of the screen, I want to throw the error dynamically that it comes from that particular plugin.

What is the best practice to avoid doing development again on everything on the canvas since the logic already exists in model-driven?

Any help is highly appreciated.

  • RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    How to leverage existing plugin validations in Canvas App?
    Hi,
     
    Based on the information you have provided, we determine that your issue may be related to custom features such as plug-in development, and we recommend that you contact your organization's IT staff or contact a Microsoft partner to assist with plug-in development.
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans