Open Zannpo opened 3 months ago
Having the same issue with the new look enabled, if I disable the new look (revert to the old UCI interface) then it works as expected.
With the new look I've found the option set by using xpath for data-id='{controlName}.fieldControl-option-set-select'. So the new look clearly uses a different xpath than the old one. The framework needs an official fix for this type of field but my case is now solved
Bug Report
I keep getting an error that Option Set field doesnt exist. It exists on the form. I keep checking its Xpath but for some reason UCI cant find it and Im unable to set or get its value.
EasyRepro Version
UCI or Classic Web
Online or On Premise
Browser
xrmApp.Entity.SetValue(new OptionSet() { Name = "nameofthefield", Value = "valuewhichisthere" });