New CRM SDK Feature - New Query Operators

19 April 2015
Daniel Cai

CRM query system has been further enhanced in CRM Online 2015 Update 1 release to support more datetime filtering operators.

Additional Older-than Operators

Older-than operators allow you to perform filtering against CRM date/time fields by returning the records that are older than the provided criteria. CRM Online 2015 Update 1 release added a few more older-than operators in addition to the olderthan-x-months operator which was available before this release.

Operator Allowed Values Supported Version
olderthan-x-minutes 1-1440 v7.1+
olderthan-x-hours 1-2000 v7.1+
olderthan-x-days 1-500 v7.1+
olderthan-x-weeks 1-100 v7.1+
olderthan-x-months 1-100 v3.0+
olderthan-x-weeks 1-100 v7.1+
olderthan-x-years 1-100 v7.1+

Note that olderthan-x-months may have been around even before v3.0.

Those new operators can be seen in CRM Advanced Find window.

2015-04 New Query Operators

For further details about how to use those operators, please refer to CRM SDK documentation page: Date and time query operators in FetchXML.

Hope this helps.

Cheers,
Daniel Cai | KingswaySoft

Read the full New SDK Capabilities Blog Series:

Archive

December 2024 1 November 2024 3 October 2024 1 September 2024 1 August 2024 2 July 2024 1 June 2024 1 May 2024 1 April 2024 2 March 2024 2 February 2024 2 January 2024 2 December 2023 1 November 2023 1 October 2023 2 August 2023 1 July 2023 2 June 2023 1 May 2023 2 April 2023 1 March 2023 1 February 2023 1 January 2023 2 December 2022 1 November 2022 2 October 2022 2 September 2022 2 August 2022 2 July 2022 3 June 2022 2 May 2022 2 April 2022 3 March 2022 2 February 2022 1 January 2022 2 December 2021 1 October 2021 1 September 2021 2 August 2021 2 July 2021 2 June 2021 1 May 2021 1 April 2021 2 March 2021 2 February 2021 2 January 2021 2 December 2020 2 November 2020 4 October 2020 1 September 2020 3 August 2020 2 July 2020 1 June 2020 2 May 2020 1 April 2020 1 March 2020 1 February 2020 1 January 2020 1 December 2019 1 November 2019 1 October 2019 1 May 2019 1 February 2019 1 December 2018 2 November 2018 1 October 2018 4 September 2018 1 August 2018 1 July 2018 1 June 2018 3 April 2018 3 March 2018 3 February 2018 3 January 2018 2 December 2017 1 April 2017 1 March 2017 7 December 2016 1 November 2016 2 October 2016 1 September 2016 4 August 2016 1 June 2016 1 May 2016 3 April 2016 1 August 2015 1 April 2015 10 August 2014 1 July 2014 1 June 2014 2 May 2014 2 February 2014 1 January 2014 2 October 2013 1 September 2013 2 August 2013 2 June 2013 5 May 2013 2 March 2013 1 February 2013 1 January 2013 1 December 2012 2 November 2012 2 September 2012 2 July 2012 1 May 2012 3 April 2012 2 March 2012 2 January 2012 1

Tags