Notifications
Announcements
No record found.
Hi All,
How can i get MS CRM picklist value or text in angularjs using odata query.
Thanks
*This post is locked for comments
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
I think webapi support to crm2016 and i am using crm2013 onpremise.
cant i use odata query with angular?
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
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.
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.
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.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2