Skip to content

Unable to set Date field in UCI  #820

Description

Facing issue with Date field in UCI. I see multiple bugs been raised for this issue but none of the solutions worked for me. Below is the line of code I'm using

xrmApp.Entity.SetValue("new_dateonly", DateTime.Now, "dd/MM/yyyy");

Sometimes hard coding of date field value works fine but not always.

xrmApp.Entity.SetValue("new_dateonly", "06/04/2020")

Can someone help me out here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions