0

How can you, in code, make a post to the record's comments when a button is pressed?

I have a button that sends an email.  We had a situation where we weren't sure whether or note an email was sent for a particular record or when.  I've been asked to either add an entry to the record's history, or to have it post a comment, in the records comments, indicating that the button was pressed, by whom it was pressed and on what date and time it was pressed.  

Can this be done, and what code would I add to the button?

 

Thank you!

1 reply

null
    • Mconneen
    • 3 yrs ago
    • Reported - view

    @Jeremy 

    As far as I recall.. there is not API or interface to the "comments" portion of Ninox. For such use cases, I have used a composite "comment" table under the record .... this provides search capabilities, etc..
    I believe there are numerous requests to open up the comment to more code features. .

    That said.. email in general is a "fire and forget" type of action... Meaning.. provided there is no error with the initiating SMTP server (mail server).. There is no guarantee that the email will be delivered.

Content aside

  • 3 yrs agoLast active
  • 1Replies
  • 598Views