Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

MS CRM picklist with angularjs.

Posted on by 1,075

Hi All,

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

Thanks

*This post is locked for comments

  • Suggested answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 on at
    RE: MS CRM picklist with angularjs.

    HI

    It is possible to get data using angular service

  • Suresh Sorde Profile Picture
    Suresh Sorde 1,075 on at
    RE: MS CRM picklist with angularjs.

    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
    M.T. Eikelenboom Profile Picture
    M.T. Eikelenboom 5,241 on at
    RE: MS CRM picklist with angularjs.

    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
    Suresh Sorde 1,075 on at
    RE: MS CRM picklist with angularjs.

    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
    M.T. Eikelenboom Profile Picture
    M.T. Eikelenboom 5,241 on at
    RE: MS CRM picklist with angularjs.

    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
    Suresh Sorde 1,075 on at
    RE: MS CRM picklist with angularjs.

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

    cant i use odata query with angular?

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: MS CRM picklist with angularjs.

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans