User Action History

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cris00
    Member
    • Dec 2015
    • 72

    User Action History

    Hello,

    How can we see an user/s action history for the whole year? It seams that in the admin menu actions are not available for more than 30 days.

    Thank you!
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    look config.php and a job with name Clean-up
    there are in config php :
    PHP Code:
    'cleanupJobPeriod' => '1 month',
    'cleanupActionHistoryPeriod' => '15 days',
    'cleanupAuthTokenPeriod' => '1 month', 
    
    and if job "Clean-up" is active ...
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • Nishan Perera
      Active Community Member
      • Jan 2019
      • 348

      #3
      Originally posted by item
      Hello,
      look config.php and a job with name Clean-up
      there are in config php :
      PHP Code:
      'cleanupJobPeriod' => '1 month',
      'cleanupActionHistoryPeriod' => '15 days',
      'cleanupAuthTokenPeriod' => '1 month', 
      
      and if job "Clean-up" is active ...
      item , Can we generate a report for user action history ? is there any possibility ?
      Cheers!
      Nishan.

      Comment

      • item
        Active Community Member
        • Mar 2017
        • 1476

        #4
        Hello Nishan,

        for me yes, you can.. certainly by adding somewhere (metadata/entityDefs) .. a json for say to espocrm : there are another table with name (?) ..
        where add ..in custom folder .. but maybe in reposotory...scope, ... just like another custom entity

        Regards
        If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

        Comment


        • Nishan Perera
          Nishan Perera commented
          Editing a comment
          Will give a try Thanks for the information!
      • item
        Active Community Member
        • Mar 2017
        • 1476

        #5
        Hello,
        i think just create this in custom/Espo/Custom/Ressources/metadata/scopes/ActionHistoryRecord.json

        PHP Code:
        {
        "entity": true,
        "layouts": true,
        "tab": true,
        "acl": true,
        "aclPortal": true,
        "aclPortalLevelList": [
        "all",
        "account",
        "contact",
        "own",
        "no"
        ],
        "customizable": true,
        "importable": true,
        "notifications": true,
        "stream": false,
        "disabled": false,
        "type": "Base",
        "module": "Custom",
        "object": true,
        "isCustom": true
        } 
        
        If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

        Comment

        • Cris00
          Member
          • Dec 2015
          • 72

          #6
          Hi,

          Thanks for the reply. This code will show the data from all time?

          Thanks!

          Originally posted by item
          Hello,
          i think just create this in custom/Espo/Custom/Ressources/metadata/scopes/ActionHistoryRecord.json

          PHP Code:
          {
          "entity": true,
          "layouts": true,
          "tab": true,
          "acl": true,
          "aclPortal": true,
          "aclPortalLevelList": [
          "all",
          "account",
          "contact",
          "own",
          "no"
          ],
          "customizable": true,
          "importable": true,
          "notifications": true,
          "stream": false,
          "disabled": false,
          "type": "Base",
          "module": "Custom",
          "object": true,
          "isCustom": true
          } 
          

          Comment

          • esforim
            Active Community Member
            • Jan 2020
            • 2204

            #7
            Originally posted by Cris00
            Hi,

            Thanks for the reply. This code will show the data from all time?

            Thanks!


            No, that code is to enable Report for AuthHistory. You want to look at the cleanup code to increase it to a significant high date or remove the clean up code altogether.

            Comment

            • item
              Active Community Member
              • Mar 2017
              • 1476

              #8
              Hello,
              as espcrm say.. you need to adapt config.php and job clean-up
              other i respond to nishan..

              Regards
              If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

              Comment

              Working...