Skip to content

[BUG] Optionset field '***' does not exists #1428

@Zannpo

Description

@Zannpo

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

  • Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
  • Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
  • Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
  • [ x] Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online

UCI or Classic Web

  • [ x] UCI (XrmApp)
  • Classic Web (XrmBrowser)

Online or On Premise

  • [x ] Online
  • On Premise

Browser

  • [ x] Chrome
  • Firefox
  • IE
  • [ x] Edge

xrmApp.Entity.SetValue(new OptionSet() { Name = "nameofthefield", Value = "valuewhichisthere" });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions