Blog, Development, Howto

HowTo: Open bulk editing of records using Xrm.Navigation.navigateTo

According to the documentation Xrm.Navigation.navigateTo method doesn’t have any option to open bulk editing but investigating the code I found the way to do that.

Here is an example of the code that could be used to open Bulk Editing:

Key points here are passing “bulkedit” value to pageType, schema name of the entity you want to open for bulk editing to entityName and an array of ids of records to edit to entityIds parameter. Parameter formId is optional but if you want to use a specific form it’s the way to pre-set it.

And this is approach is not documented so unsupported so use it wisely.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.