web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Remove Billing Address from multiple edit form of order

(0) ShareShare
ReportReport
Posted on by

Hi

When I want to edit multiple order, using the edit form in multiple, it shows billing address as below image.

buld_2D00_edit_2D00_order_2D00_distr.PNG

In normal edit form, it is not being shown, and works correct. I have set the visibility of whole billing address control to hidden using form editor. 

So how Can I remove Billing Address from the multiple edit form ? (I have already used business rule to hide fields but it did not help me)

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Alagu

    Thanks for your reply.

    I could hide it using jquery!

    As form shows, it is loaded cause it appears in the form but it does Xrm.Page.ui.controls does not have anything related to that!

  • Suggested answer
    Alagunellaikumar Profile Picture
    6,212 on at

    Hi Babak,

    Xrm.Page.ui.controls.get("billto_line1") is null. Can you please put debugger test in console whether control is loaded or not?

  • Community Member Profile Picture
    on at

    HI Alagu

    I could hide custom filed in the form, but for example, for the billto_city field, it throws a js error and says it is not defined in Xrm.Page.ui.controls:

    Uncaught TypeError: Cannot read property 'setVisible' of null

    And here is my code: 

    Xrm.Page.ui.controls.get("new_customfield").setVisible(false); // works
    Xrm.Page.ui.controls.get("billto_line1").setVisible(false); //does not work


  • Verified answer
    Alagunellaikumar Profile Picture
    6,212 on at

    Hi

    You have use Javascript to enable/disabled form.

    But we have to enable the javascript work in bulk edit form

    Create a new solution

    Add your entity

    export the solution and open the customization.xml

    Add < event name="onload" application="false" active="false" BehaviorInBulkEditForm="Enabled" >

    Please refer the below link

    www.inogic.com/.../enable-scripts-on-bulk-edit-form-in-crm-2011

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

#2
Abdullah13 Profile Picture

Abdullah13 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans