locked
Fetch XML dategrouping RRS feed

  • Question

  • Is it possible in Fetch XML to group by date and time rather than just by date?
    Monday, March 7, 2011 1:21 PM

Answers

  • Hi Oscar

    It is not possible to group based on time but I would like to understand more about the scenario you are trying to build. Note however, that you should be able to achieve what you want by grouping on a custom field which gets populated by a plugin.

    Thanks


    Abhishek Agarwal MSFT
    Wednesday, March 9, 2011 6:20 AM

All replies

  • Hi Oscar

    It is not possible to group based on time but I would like to understand more about the scenario you are trying to build. Note however, that you should be able to achieve what you want by grouping on a custom field which gets populated by a plugin.

    Thanks


    Abhishek Agarwal MSFT
    Wednesday, March 9, 2011 6:20 AM
  • In this particular scenario we have a custom entity A with several custom attributes and multiple records of custom entity B related to it. In our Fetch XML query we want to get the number of related records of entity B and all custom attributes of entity A. But entity A also has two date/time attributes that we want to include in our result without losing the time part.
    Thursday, March 10, 2011 9:13 AM
  • Is it possible in Fetch XML to group by date and time rather than just by date?
    is it possible to group by date?!
    Wednesday, April 24, 2013 10:40 PM