Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Is it at all possible to change a table's form when it is in Bulk Edit mode?

Posted on by 105

I have 2 main forms for a table

-General Info

-Bulk Edit

What I would like is:

When user opens table in the site map it displays 'General Info' form.

When user select multiple records in a subgrid and selects 'edit' it automatically opens the 'Bulk Edit' form.

Seems like a simple request but I'm starting to question if it is even possible. My findings when trying to troubleshoot this:

1) There is no way designating specific forms to the bulk edit. 

2) Changing the form order will mean that the first form will display in both sitemap and bulk edit mode.

3) Microsoft have disabled javascript on bulk edit forms. There was once an unsupported workaround that now seems to be patched by microsoft so it is no longer possible.

4) I tried adding 'Bulk Edit' form to the top of the form order. And then added JS so when it loads in the sitemap it switches to the General Form. But it would still show the General Form in Bulk edit mode afterwards so I guess it must also be cached somehow?

I'm at my wits end with this. I'm aware the user can just select the dropdown to change the form but it seems like something that should be fairly common and easy to implemenet.

  • Suggested answer
    XM-22040801-0 Profile Picture
    XM-22040801-0 11 on at
    RE: Is it at all possible to change a table's form when it is in Bulk Edit mode?

    Hi,

    I may have an idea that could work on all entities. However, there is some unsupported code (undocumented code).

    - Customize the Update button of Application Ribbon. This changes the behavior of the Update button on all entities from a HomeGrid.
    - Call Xrm.Navigation.navigateTo with the minimal settings if only one record is selected to get the normal behavior.
    - If there are multiple records selected:
       - Get the id of the form from its name (Bulk Edit) by WebApi. The form name should always be the same on all entities.
       - If the Bulk Edit form is found:
          - Call Xrm.Navigation.navigateTo with undocumented parameters and the Bulk Edit form id. See butenko.pro/.../
       - Otherwise:
          - Call Xrm.Navigation.navigateTo with undocumented parameters without form id.

    This is clearly not an ideal solution but I can do a Proof Of Concept if you are interested.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans