Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
Let's have a scenario -I select multiple records in a view, click edit and change a A field in Order (Entity) by the bulk edit tool. This A field needs to change two fields : Item X(calculated field) and Item Y (Text type). Item X is successfully changed for all selected records at time but for Item Y is not changed because it needs to calculate from other fields info like ( Item Y = A field * total ; Total = Item 1+ item 2 + item 3 in Order entity.)
As of now , for Each record , I'm able to write a plugin(Update) to do calculations based on change of A field.
How to do for Multiple selected records using same plugin?
I'm getting error when I'm selecting multiple records in Bulk edit tool?
An error has occurred. The selected action was not completed for one or more records.
On selection of single record --> no error and full selected record is open in new tab!
We use CRM 2016 OnPremise.
Can anyone help me in solving this problem ? I prefer to solve this problem by plugin but open to check the solution using Workflow also?
there is no reason why the plugin would not be working just because of the bulk edit. Does the error happen every time you use bulk edit? Can you bulk edit two records? If not, can you update both of those two individually without getting an error from the plugin?
Try the below link,
Hope this will help.
the cause/solution might lie in the fact that bulk edit never allows any client-side operations (JS, business rules?) to execute, which may be a pre-requisite to complete calculated fields. so if we can find a way around the need for client-side calculations, maybe that's the solution.
So perhaps if, on bulk-edit only, you replicate the client-side calculations as part of the plug-in?
Can you please provide message of this error?
I think you can take all the code in your plugin in try/catch and create note for the current entity with your error in catch. After that select entities which were not updated and take a look for the error and try to resolve it.
Hope this helps
Disclaimer: Any post on this page provided "as is" without warranty of any kind and is for educational and information purposes only. We disclaim any liability arising from any reliance placed on any post
I'm having the similar issue. My plugin is not calculated the correct result.
Are you able to resolve the issue. Please help the solution.
There are two approaches you can try
1. Use On - Demand Workflow which will trigger on click of bulk edit .. Write Custom Workflow logic in new step and achieve your functionlity
2. Second Approach - Open Records page of specified entity - Click on Export to Excel - Open Excel Online option --> Write Rules to Perform required operations in Excel Online and then click on Save Changes to Dynamics button which will be helpful for you in manual editing
Business Applications communities