Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

How to leverage existing plugin validations in Canvas App?

Posted on by 863

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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans