Skip to main content

Notifications

Announcements

No record found.

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

2019 wave 2 bug(?) report: opportunityproduct.custom lookup.addCustomView doesn't work in Chrome

Posted on by 1,010

repeating from crm forum: https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/369074/2019-wave-2-bug-report-opportunityproduct-custom-lookup-addcustomview-doesn-t-work-in-chrome

Whereas, wave 2 allows us to customize opportunity (quote, order & invoice) detail entity for the first time (I believe)

whereas, I added a new product lookup to opportunityproduct and arranged to dynamically assign a custom view to it

whereas, the control operates properly in Edge & IE but, in Chrome I

  • get no list upon hitting 'enter'
  • get a javascript error, $7, if I change view to my custom view (it shows as the default view as expected)

I believe there is something in the wave 2 change that is incompatible with Chrome

I can't swear it's not a problem overall with formContext.getControl().addCustomView() in the unified/model experience but, I assume someone would have found it by now if it was a problem BEFORE wave 2.

I hope I'm not crazy and that you can get to the bottom of this.

thanks

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: 2019 wave 2 bug(?) report: opportunityproduct.custom lookup.addCustomView doesn't work in Chrome

    Also, the addCustomView method is supported and should work on all supported browsers, including Chrome.

    So I would open a Support Request to make sure this is properly addressed: admin.powerplatform.microsoft.com/support

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: 2019 wave 2 bug(?) report: opportunityproduct.custom lookup.addCustomView doesn't work in Chrome

    Could these issues be related to this Chrome compatibility issue?

    Description:

    We identified issues in which users may be unable to navigate to several settings, and experience intermittent form load issues when using Chrome browser versions 75.0.3770.80 and 75.0.3770.100.

    Action Needed:

    We have replicated this issue and verified that this can be resolved temporarily by:

    1. Using earlier versions of Chrome, e.g. Chrome version 74 and below.
    2. Download Chrome Beta version 76 via link below.
    3. Using a different internet browser.

    For further information please see Download Chrome Beta version 76.

    Please contact Dynamics Customer Support and reference ticket 126634044 if you need further assistance. 

  • Martin Donnelly Profile Picture
    Martin Donnelly 1,010 on at
    RE: 2019 wave 2 bug(?) report: opportunityproduct.custom lookup.addCustomView doesn't work in Chrome

    Here is the "code".  Pass in two condition expressions of two different pricelist that look like this:

    {00000000-0000-0000-0000-000000000000}

        this.addMQtoPriceListItemFilter = function (ExecutionContext, MQ, pxLst) {
            formContext = ExecutionContext.getFormContext();
            Products_in_Both_Price_Lists_savedqueryid = "990143DD-7576-E911-A96A-000D3A4E75C3"; //dummied
            fetchXML = ""
                  ""
                   ""
                    ""
                    ""
                    ""
                    ""
                    ""
                    ""
                    ""
                     ""
                      ""
                      ""
                     ""
                     ""
                      ""
                      ""
                     ""
                    ""
                    ""
                     ""
                      ""
                  pxLst
                  MQ
                      ""
                     ""
                    ""
                  "";
            layoutxml = ""
                  ""
                   ""
                    ""
                    ""
                    ""
                    ""
                   ""
                  "";
    
            formContext.getControl("new_enterproductid").addCustomView(Products_in_Both_Price_Lists_savedqueryid,
                "product", "Products in Both Price Lists", fetchXML, layoutxml, true);
            formContext.getControl("new_enterproductid").setDefaultView(Products_in_Both_Price_Lists_savedqueryid);
        };

  • Martin Donnelly Profile Picture
    Martin Donnelly 1,010 on at
    RE: 2019 wave 2 bug(?) report: opportunityproduct.custom lookup.addCustomView doesn't work in Chrome

    I'm not talking about the headers.  I'm talking about the details, e.g. opportunityproduct, though I may be mistaken about their "customizability" being new.

    Yes, the new wave 2 procedure is that the lookup doesn't automatically show first 10 and a search.  Now you hit enter and the available list paints.  I get no list.

    Again, it is working fine with IE and Edge but, not with Chrome.  So, it is assumedly proper "code" that just doesn't mesh with Chrome's gears.

    My fear is that when Microsoft finishes abandoning IE and Edge in favor of a Chrome platform browser, we will be screwed.  (As it was a few years back when Edge came out and one couldn't use the CRM app with it.)

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: 2019 wave 2 bug(?) report: opportunityproduct.custom lookup.addCustomView doesn't work in Chrome

    Hello,

    I believe Opportunity / Quote / Order / Invoice entities have been customizable for a while but had limitations (e.g. cannot customize the Inline Edit View).

    In the past, it was however not possible to create a Lookup pointing to "Opportunity Product" / "Quote Product" etc.

    When you say "get no list upon hitting enter", what do you mean? Nothing happens?

    In my tests with addCustomView, I had a list but with empty labels (not sure if it's the method or my code)

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans