
Hi all, me and my team are moving our app from PowerApps to a model-driven app in Dynamics 365 and thus have to translate our custom logic in PowerApps to Dynamics 365 and have been told that plug-ins in C# are the way to do this. I am finding this difficult as one algorithm heavily depends on CRUD operations for connected data, which is very easy in PowerApps as you can just type the entity name and perform operations on it (such as Patch(EntityName, Record)), but this not appear to be the case for dynamics plug-ins.
From afar this algorithm reads data from a form, and then from 3 tables in Common Data Services, generates data based on that, and then uploads it to a different table. I am very new to plug-ins and dynamics, so any advice on how to achieve this would be greatly appreciated!
*This post is locked for comments
I have the same question (0)Hello,
First I will suggest you to get CRM SDK if you have not downloaded yet, which will help you with some sample code for plugins and working with CURD methods.
Plugin is used when you want to add your custom logic on specific event for example let's say when account record is created, you want to capture account data and want to create another entity record, you can register a post create plugin to read account entity data and use create method to create another entity record. similarly you can write other plugins, SDK have file where you can see all the possible events based on the entity. if you have any specific question please share it here.
you can look this for better understanding about plugins www.youtube.com/watch