How get history of the user who edited before

0
I want to get history of user who have previously editted the data once clicked on the button I want a page where history of the previous edited data will be visible . how to do it 
asked
3 answers
2

Hi Pragathi,

    For that You need to create a History entity with Name, User Attributes and associate with the entity which you want the history and create the History object and associate with the Main Object and add the name of main object and user in the History object and commit. By using this you can find the history of user and Changes of Entity.

    Else you can use Audit trail to track the changes in Entity:

     http://https://docs.mendix.com/appstore/modules/audit-trail/

answered
0

Hi pragathi,

                  Enable the changed by in system member or store the attribute Like Changed by(Store the  value $currentuser/Name) in the edit flow

answered
0

I would suggest using the Audit Trail module. It has been created by Mendix specifically for this purpose. It has platform support if you have any issues with it.

 

https://docs.mendix.com/appstore/modules/audit-trail/

 

If this is not suitable, there is also the Advanced Audit Trail module. This is a paid for product, but it is created by Mendix and also has platform support.

 

https://docs.mendix.com/appstore/modules/advanced-audit-trail/

 

I hope this helps. Good luck!

answered