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 :
Microsoft Dynamics CRM (Archived)

How to get value of an attribute that is not in form

(1) ShareShare
ReportReport
Posted on by 62

Hi,

I am wondering if we can get the value of an attribute in javascript if the field is not in form. The field is in the entity. It is not added to the form. How to get the value of the field in javascript in dynamics 365 version 9.0

*This post is locked for comments

I have the same question (0)
  • Mick_4711 Profile Picture
    552 on at

    what you can do is

    add the field to the form.

    + make it invisible.

  • Mick_4711 Profile Picture
    552 on at

    8780.55.PNG

  • Verified answer
    Pawar Pravin  Profile Picture
    5,237 on at

    Hi ,

    If you are using Xrm library to retrieve data in javascript then you can only retrieve data of that fields which is on form.

    If you want to retrieve data of that fields which is not on form then you need to use javascript services such as odata, soaplogger or webapi.

    Please refer following URL to retrieve service:

    community.dynamics.com/.../ms-crm-2016-web-api-operations-retrieve-single-or-multiple-records

    msdn.microsoft.com/.../gg334279.aspx

    For Dynamic 365 latest version:

    docs.microsoft.com/.../retrieverecord

    Regards,

    Pravin

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    You can create a section in the form where you add all the fields  which you don't need to show but need the value using scripts and make the section visible off  , this is one workaround you can say.

  • CRMQueries Profile Picture
    62 on at

    Thanks so much for your responses. It helps.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans