Announcement

Collapse
No announcement yet.

User Action History

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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 ...

    Comment


    • #3
      Originally posted by item View Post
      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


      • #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

        Comment


        • Nishan Perera
          Nishan Perera commented
          Editing a comment
          Will give a try Thanks for the information!

      • #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

        Comment


        • #6
          Hi,

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

          Thanks!

          Originally posted by item View Post
          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


          • #7
            Originally posted by Cris00 View Post
            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


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

              Regards

              Comment

              Working...
              X