Hello,
I see there is an event that triggers when I add / remove a note on an entity form on the D365 portal. For example:
$("#entity-notes").on("refresh", function() {
do something...
});
Is there a similar event that would trigger off the loading of the notes section? I can do this for regular subgrids using a "loaded" event, but it doesn't seem to work for notes (which I assumed would fall under the same triggers as subgrids).
What I need is to be able to count the number of attachments associated with a record on the portal form - because these are fetched via AJAX, I need to ensure that they have all been fetched before I write my code based on the number of attachments.
Best,