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)

MS CRM picklist with angularjs.

(0) ShareShare
ReportReport
Posted on by 1,077

Hi All,

How can i get MS CRM picklist value or text in angularjs using odata query.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I'm not sure what's your final goal but you can start from usage of WebApi to fetch metadata - msdn.microsoft.com/.../mt607833.aspx

  • Suresh Sorde Profile Picture
    1,077 on at

    I think webapi support to crm2016 and i am using crm2013 onpremise.

    cant i use odata query with angular?

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    I think you should be able to use Odata with Angular. The only difference might be that you won't use $http to get your data.

    These blogs might be helpful:

    Getting optionset label: guruprasadcrm.blogspot.nl/.../retrieving-optionset-lable-data-using.html

    Retreiving entity metadata: sliong.wordpress.com/.../crm-2011-retrieve-entity-metadata-using-javascript

  • Suresh Sorde Profile Picture
    1,077 on at

    Hi Martijn,

    I am trying with angular service(factory) or $http. Is it possible to fetch crm data or value(picklist, lookup) using theses services.

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    Looking at the documentation you should be able to do this:

    msdn.microsoft.com/.../gg309461(v=crm.6).aspx

    Here's an example using angular and the odata endpoint: blog.sonomapartners.com/.../dynamics-crm-and-angularjs-odata-endpoint-and-resource.html

    The only thing I don't know for sure if you can query metadata using this endpoint.

  • Suresh Sorde Profile Picture
    1,077 on at

    Thanks Martijn,

    I checked and tried the sonomapartners blog and its working on my end to search record. But when i tried to get picklist value it is giving all records metadata, but not a values. So i want to make confirm is it possible or not.

  • Suggested answer
    Alagunellaikumar Profile Picture
    6,212 on at

    HI

    It is possible to get data using angular service

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