Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Remove Billing Address from multiple edit form of order

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Remove Billing Address from multiple edit form of order

    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
    Alagunellaikumar 6,210 on at
    RE: Remove Billing Address from multiple edit form of order

    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
    Community Member Microsoft Employee on at
    RE: Remove Billing Address from multiple edit form of order

    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
    Alagunellaikumar 6,210 on at
    RE: Remove Billing Address from multiple edit form of order

    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

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans