You need to sign in to do that
Don't have an account?
Sabrent
Measure the frequency of the Http Call out from a lightning component
Based on the awesome tutorial here (https://sfdcmonkey.com/2017/01/02/http-callout-lightning-component/)
I created a lightning component to make a Http Callout
Now I would like to measure the usage of this Http Callout, similar to the 7 day API usage metrics report. However, i want to know which user clicked the button and how many times in a day/week.
Can some please point me in the right direction or to a documentation/blog to be able to build a lightning component usage metrics.
Greetings!
You can calculate the number of clicks of the button if it is on Visualforce and please use the below code:
https://developer.salesforce.com/forums/?id=9060G0000005q88QAA
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Shirisha,
As mentioned in my post, it is a lightning component.