function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pedro Garcia 26Pedro Garcia 26 

LightningUriEventStream & LightningUriEvent object

Hi...

Based on the documentation at https://help.salesforce.com/articleView?id=real_time_event_monitoring_overview.htm&type=5 (https://help.salesforce.com/articleView?id=real_time_event_monitoring_overview.htm&type=5) I could access to the real-time event.

But it's not working... I want to know when any user access to specific URI in salesforce, for example, the permission setting page.

Thanks,
Pedro
Pedro Garcia 26Pedro Garcia 26
Hi... any idea why the LightningUriEvent is still empty... thanks
Nikunj JainNikunj Jain
Hi Pedro,

In order to get events records in LightningUriEvent object, you need to enable Storage for Event monitoring logs.

Steps:
Sertup -> In Quick Find search 'Event Monitoring Settings' -> Click on Event Manager under Enable Login Forensics-> and Enable Streaming or Enable Storage as per need for event type you need, in your case it will be Lightning URI Event

Regards,
Nikunj