locked
JavaScript - Check for new Note RRS feed

  • Question

  • Is there a simple way to query the Note field via JavaScript and find out if a new Note has been added during the current session?  I'm not familiar with referencing the Notes field from JS so I wasn't sure how ones references it and what kind of structure it is.

    Thank you

    Monday, November 3, 2014 9:39 PM

All replies

  • Hi Cipher,

    You can use Odata to get Notes data for any entity.

    Below is Odata url that will fetch the Notes Data.

    http://Servername/orgname/xrmservices/2011/OrganizationData.svc/AnnotationSet?$select=AnnotationId,NoteText,Subject&$filter=ObjectId/Id eq guid'54994212-F683-E311-BB31-000C29E9425D'


    Regards, Saad

    Tuesday, November 4, 2014 6:15 AM