Stream Entries > Modified

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mikeuk
    Junior Member
    • Aug 2021
    • 3

    #1

    Stream Entries > Modified

    Greetings,

    I would like a stream entry to affect the modified at entry. At the moment placing a comment in the stream of a contact does not change when the modified value.

    Would anyone be able to point me in the right direction, please?

    Mike
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    So if I understand you correctly you want to auto-update the modifiedAt field value of the Contact record after a stream message has been posted. If so you need:
    1. To make the Note entity (entity that manages the Stream posts) entity customizable create the file /custom/Espo/Custom/Resources/metadata/scopes/Note.json with content as follows:
    Code:
    {"customizable":true}
    2. Administration -> Clear Cache -> Refresh a web page
    3. Open Administration -> Entity Manager -> Note -> Formula -> add formuls as follows:
    Code:
    ifThen(
        entity\isNew(),
        record\update('Contact', parentId, modifiedAt, datetime\now())
    );

    Comment

    • eymen-elkum
      Active Community Member
      • Nov 2014
      • 479

      #3
      We have made a free extension regarding this request, you can check it from here:

      CEO of Eblasoft
      EspoCRM Expert since 2014
      Full Stack Web Developer since 2008
      Creator of Numerous Successful Extensions & Projects​

      Comment

      • chris.savage@sorsix.com
        Junior Member
        • Aug 2025
        • 4

        #4
        Hello - we'd like to make this enhancement too, but it looks like something has changed more recently - are there any updated instructions? We made the json change and followed the process, but it didn't work. We requested the eblasoft extension, but it never arrived.

        Comment

        Working...