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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

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

(0) ShareShare
ReportReport
Posted on by 1,030

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

I have the same question (0)
  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    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)

  • Martin Donnelly Profile Picture
    1,030 on at

    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.)

  • Martin Donnelly Profile Picture
    1,030 on at

    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);
        };

  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    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. 

  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    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

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

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans