33
Views
3
Comments
How to generate the logs automatically based on the user's navigation

Hi, 

I am new to Outsystems. I am exploring the logs in Outsystems. I want to know, how to generate the logs automatically based on the user's navigation. I am able to achieve this using logMessage manually, but is there any way to do automatically. Whenever the user clicks on any button and navigation happens, this needs to be recorded in logs automatically. Is it possible ? How to achieve this ? Thanks

2018-10-29 08-31-03
João Marques
 
MVP

Hi Raghavi,


This can be done through multiple ways, like LogMessage, although it is more common to use Google Analytics for this purpose (with this forge component, for instance),


To avoid doing it on every screen, the good practice is to do it on the layout block which is used on every screen.

This way you do it only once and it applies to every screen.


Kind Regards,
João

UserImage.jpg
Raghavi Ravichandran

@João Marques  Any sample OML or example steps will be helpful for this. Thanks!

UserImage.jpg
Raghavi Ravichandran

@João Marques Hi, I have gone through the documentation and tried to implement the same. But the problem is, application usage data will be available in the Google Analytics console. In my case, logs should be available in outsystems service center logs. Any other alternative approach is there to achieve the same without using the external components for displaying the logs? 

Thanks in advance!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.