Skip to main content
1-Visitor
January 24, 2020
Solved

log the action performed in a mashup

  • January 24, 2020
  • 2 replies
  • 1023 views

Hi,

We wanted to log each and every action performed by a user in a runtime mashup in a log table that we have. 

For eg: If there is a button named 'Add' and if the user clicks that, a entry with 'the user clicked the button Add' should be logged in our table. If the user navigates to another screen from one screen using navigation button, that should be logged that he navigated from so and so screen to that screen. 

How can we make it generalised so that we can use the same snippet or service for all the mashups?

Please help us achieve this use case.

 

Thanks in advance,

Shalini V.

Best answer by PaiChung

Create a service that takes certain parameters like mashup name / action, retrieve user by using GetCurrentUser that logs that into a Stream

then for any click event, in the service that you run, call that service with appropriate input parameters

2 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
January 24, 2020

Create a service that takes certain parameters like mashup name / action, retrieve user by using GetCurrentUser that logs that into a Stream

then for any click event, in the service that you run, call that service with appropriate input parameters

Support
January 31, 2020

Hi @svisveswaraiya_285988.

 

If the response provided by @PaiChung answered your question, please mark the response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon