web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

What Is the Difference between ValidateField() and ValidateFieldValue() method ?

(0) ShareShare
ReportReport
Posted on by 185

For this I search May things But at Any place i don't Get Perfect Answer.

Please Give me Example of field where i use validateField() And where i use ValidateFieldValue().

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi Shivang, Please check this old thread

    community.dynamics.com/.../functionality-of-validatefieldvalue

  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi Shivang,

    There is no difference between validateField and validateFieldValue method. Both will work same. You can use either one of them.

    ValidateField will have argument as field id. ValidateFieldValue will have argument as field name.

    Thanks,

    Girish S

  • Shivang Patel Profile Picture
    185 on at

    In that thread only writing about validateFieldVaue().

    I want difference between this two.

  • GirishS Profile Picture
    27,827 Moderator on at

    On the thread send by Mohit, refer to the reply given by Ivan (Vanya) Kashperuk.

    Thanks,

    Girish S

  • Shivang Patel Profile Picture
    185 on at

    Can you Tell me any particular Example field for this both.

  • GirishS Profile Picture
    27,827 Moderator on at

    As I already said there is no such difference between them.

    Below the answer from the thread posted by Mohit.

    Generally speaking, there is none. They are doing the same thing, one based on fieldIds, the other based on field names.

    This was introduced as part of the "Id-go-away" stream, with the purpose of reducing dependencies on IDs within the app. But later the decision changed to the "deployment-specific IDs", so the old methods were also kept.

    Thanks.

    Girish S

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans