Sunday, 17 April 2016

Using "older than" clauses for date and time values in FetchXML Query

The following example shows a FetchXML that finds incidents that are older than 30 minutes.
  1. <fetch>
  2. <entity name="incident">
  3. <attribute name="title" />
  4. <attribute name="ticketnumber" />
  5. <attribute name="createdon" />
  6. <attribute name="incidentid" />
  7. <filter type="and">
  8. <condition attribute="createdon" operator="olderthan-x-minutes" value="30" />
  9. </filter>
  10. </entity>
  11. </fetch>
- See more at: http://msxrmtools.com/fetchxml/reference

1 comment:

  1. It hasn't been too long since I fall in love with coding! So I've been looking at buy cheap essays to help me learn more! Thank you Suresh for keep sharing your trips and tricks!

    ReplyDelete