Giter Club home page Giter Club logo

Comments (6)

dtu11 avatar dtu11 commented on July 20, 2024

Ok, we'll test this scenerio and provide an update. Which version are you working with?

from easyrepro.

WinniB avatar WinniB commented on July 20, 2024

We use Microsoft Dynamics 365 Version 1612 (8.2.2.136) on-premises

from easyrepro.

j621z avatar j621z commented on July 20, 2024

@WinniB Can you please provide exact steps or elaborate on the issue? Is this consistent or intermittent behavior? Unable to repro this issue.

from easyrepro.

WinniB avatar WinniB commented on July 20, 2024

This always happens when I try to change the value of a lookup field which is already filled with data.

Example steps could be:

xrmBrowser.Entity.SetValue("my_lookup", "TextA"); //Fill for first time
xrmBrowser.Entity.SetValue("my_lookup", "TextB"); //Fill for second time / change value

from easyrepro.

j621z avatar j621z commented on July 20, 2024

@WinniB Please try using this when changing the value of a lookup field. The code you referenced above is used to change a text field. Let me know if this works for you.

xrmBrowser.Entity.SetValue(new Lookup { Name = "primarycontactid", Value = "Rene Valdes (sample)" });

from easyrepro.

WinniB avatar WinniB commented on July 20, 2024

I tried this before, but if the value I want to set does not equal one in the dialog items (but is an valid value for the lookup) I get an invalid operation exception : "List does not have XYZ."

from easyrepro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.