Observable loading state
Observable of recent access items, sorted by most recent first
Current value of recent items
StaticInstanceUse ClearCache.
Clears the cached recent items (useful for logout)
Use LoadRecentItems.
Loads recent access items for the current user from MJ: User Record Logs.
Maximum number of items to return (default 15)
Force refresh even if already loaded
Use LogAccess.
Logs access to a record. Creates or updates the User Record Log entry. This is a fire-and-forget operation - errors are logged but don't interrupt the user.
The name of the entity being accessed
The record ID (single value or CompositeKey string)
The type of resource being accessed
Use RefreshRecentItems.
Refresh recent items in background
Multi-provider note: callers under a non-default provider should set
service.Provider = component.ProviderToUsebefore invoking any methods.