Loading...

CS1061 'IPluginExContext' could be found (are you missing a using directive or an assembly reference?ecutionContext' does not contain a definition for 'OrganizationService' and no accessible extension method 'OrganizationService' accepting a first argument of type 'IPluginExecution

CS1061 'IPluginExContext' could be found (are you missing a using directive or an assembly reference?ecutionContext' does not contain a definition for 'OrganizationService' and no accessible extension method 'OrganizationService' accepting a first argument of type 'IPluginExecution

If you're encountering issues related to accessing the 'OrganizationService' property in the 'IPluginExecutionContext' interface while using D365 CE and Model Driven App, this post is for you. You may be missing a using directive or an assembly reference, or you may be using an incorrect type.

To resolve this issue, ensure that you are using the correct type for the 'IPluginExecutionContext' interface and ensure that the necessary assemblies are referenced in your project. Make sure that the plugin class implements the 'IPlugin' interface correctly. The post provides a corrected version of the method that includes obtaining the organization service using the 'IOrganizationServiceFactory' and 'CreateOrganizationService' methods from the 'IPluginExecutionContext' interface, then executing the query to retrieve the Evaluation Requirement records associated with the Meeting.

If you face similar issues, consider checking out this post to obtain a solution that resolves your problem effectively.

The original post can be found at https://powerappbuilder.blogspot.com/2024/05/cs1061-ipluginexcontext-could-be-found.html

Published on:

Learn more
Power Platform , D365 CE & Cloud
Power Platform , D365 CE & Cloud

Dynamics 365 CE, Power Apps, Powerapps, Azure, Dataverse, D365,Power Platforms (Power Apps, Power Automate, Virtual Agent and AI Builder), Book Review

Share post:

Related posts

Copilot assistance for form fill in Model-Driven Apps

In this post, the writer talks about an interesting concept of copilot assistance for form fill in Model-Driven Apps. While it is not possible...

8 months ago

Streamline & optimize assembly development in Power Apps

Here we will understand to streamline and optimize assembly development in Power Apps / Microsoft Dynamics 365. Before we start, make sure to ...

11 months ago

Plugin Development Best Practices in Dynamics 365/ Dataverse/ Power Apps

Developing plugins in Dynamics 365/Dataverse requires adherence to Best Practices as prescribed by Microsoft. To ensure efficient and effectiv...

1 year ago

Set Field Error Notification using JavaScript by checking related parent entity record info in Dataverse Model driven app power apps

If you're using Dataverse Model driven app power apps and need to validate form fields based on parent record information, this article may be...

1 year ago

Check Parent Entity Name From Child entity form D365 CE

If you are working with Dynamics 365 Customer Engagement and need to validate a child entity form based on the parent entity, this tutorial ca...

1 year ago

Enable Offline Capability for Dynamics 365 Sales and Model Driven App

In today's day and age, staying connected at all times can be a challenge. However, this tutorial has got you covered when it comes to enablin...

1 year ago

Dynamics 365 Plugin Assemblies. Single or Multiple? You decide!

Organizing and managing plugin assemblies for your Dynamics 365 projects can pose a challenge. While there may be an obvious need for multiple...

2 years ago

Usability enhancements to grids in Model-Driven Apps

Microsoft Dynamics 365 2022 release wave 2 introduces a new feature called "Prevent slow keyword filter or quick find terms on view pages." Th...

2 years ago

Announcing public preview of ESLint rules for Power Apps and Dynamics 365

If you're a developer working on Power Apps model-driven apps and Dynamics 365 CE, this public preview announcement is for you. You can now ta...

2 years ago

Error Logging using D365 CE Plugin

If you are looking for a solution to perform error logging using D365 CE Plugin, you have come to the right place. In this article, we will ex...

2 years ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy