-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change value of lookup field enters linked old entity #49
Comments
Ok, we'll test this scenerio and provide an update. Which version are you working with? |
We use Microsoft Dynamics 365 Version 1612 (8.2.2.136) on-premises |
@WinniB Can you please provide exact steps or elaborate on the issue? Is this consistent or intermittent behavior? Unable to repro this issue. |
This always happens when I try to change the value of a lookup field which is already filled with data. Example steps could be:
|
@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)" }); |
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." |
When try to change the value of a lookup the field is clicked a second time to check if the focus is already on field. If the field already has a focus this leads in entering the linked entity and therfore leaving the current page.
The text was updated successfully, but these errors were encountered: