Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics CRM 2016 (Online) WebAPI Query

Posted on by 55
I want to make string desc as int desc while using web api query.

ex) string desc -> 2, 10, 1
int desc -> 10, 2, 1



Query : new_projects?$select=new_dt_start,new_txt_project_no&$orderby=new_txt_project_no desc

Is there any way?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics CRM 2016 (Online) WebAPI Query

    Hi Filbert

    What I'm sure would work is a third party CTI that I've been using for quite some time now which is called Tenfold. They have click to dial and features like screen pop up on incoming and outgoing calls, easy note and task creation, handling multiple matches and creating new leads when no contact match from CRM. They also suppport MS Dynamics integration. Here is a complete list of www.tenfold.com/.../dynamics

  • Verified answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Dynamics CRM 2016 (Online) WebAPI Query

    Hi Filbert,

    If the field new_txt_project_no  is a whole number field, then you can achieve this by the query you have given above. Otherwise, you need to create a new whole number field and copy the string to the whole number field.

    See: community.dynamics.com/.../154056

    Hope this helps.

  • Suggested answer
    jlattimer Profile Picture
    jlattimer 24,558 on at
    RE: Dynamics CRM 2016 (Online) WebAPI Query

    You can't do this in the query itself - you'd need to store a numeric version of the string on the record and sort by that field.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans