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

Announcements

No record found.

News and Announcements icon
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 (2)
  • 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,833 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,833 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,833 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 470

#3
Adis Profile Picture

Adis 270 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans