Visualforce Interactions

Each record in your package usage log that has a custom_entity_type of VisualforcePage describes an interaction with your packaged Visualforce pages.

Required Editions
Available in: both Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions

Visualforce Requests

When a user performs an action that results in a request associated with your VisualForce page, log_record_type equals VisualforceRequest. One standard field is always populated with data: url.

Visualforce page requests also have supplemental fields that are often populated. For example, a Visualforce page request sometimes also has request_status and referrer_uri data.

Use these fields to explore the details of the Visualforce request.

Standard Data Supplemental Data
url <ul><li>request_status</li><li>referrer_uri</li><li>request_status</li><li>response_size</li></ul>

Example

Let’s look at an example package usage log record and analyze the Visualforce request.

{
     "timestamp_derived": "2022-11-22T06:23:23.836Z",
     "log_record_type": "VisualforceRequest",
     "request_id": "4mbi9e1ZVef83tlq2Z5aAk",
     "organization_id": "00Dxx0000006H2l",
     "organization_name": "MyCustomer Inc.",
     "organization_status": "Demo",
     "organization_edition": "Enterprise Edition",
     "organization_country_code": "IN",
     "organization_language_locale": "en_US",
     "organization_time_zone": "Australia/Sydney",
     "organization_instance": "GS0",
     "organization_type": "Production",
     "user_id_token": "005-9BwnBWYO5FMn4cZ1sLw7F3LmTpoe8M77GrZOZHL6xQk=",
     "user_type": "Standard",
     "url": "/apex/Acme__Agent_List",
     "package_id": "033xx0000004FqD",
     "package_version_id": "04txx0000004Idi",
     "managed_package_namespace": "Acme",
     "custom_entity": "/apex/Acme__Agent_List",
     "custom_entity_type": "VisualforcePage",
     "request_status": "S",
     "session_key": "2l4YtFB/RmsRKVsS",
     "login_key": "fGV6RgVOH3ZCgl2v",
     "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/IP_ADDRESS_REMOVED Safari/537.36",
     "user_country_code": "US",
     "user_time_zone": "America/Los_Angeles",
     "request_size": "826",
     "response_size": "1830"
}

The Acme_Agent_List packaged component of type VisualforcePage was interacted with as a result of a user action from subscriber org MyCustomer Inc on 2022-11-22 at 6:23 am.

The key data in this analysis are:

Question Field Value
What <ul><li>custom_entity</li><li>custom_entity_type</li><li>package_version_id</li><li>managed_package_namespace</li></ul> <ul><li>Acme__Agent_List</li><li>VisualforcePage</li><li>04txx0000004Idi</li><li>Acme</li></ul>
Who <ul><li>organization_id</li><li>user_id_token</li></ul> <ul><li>00Dxx0000006H2l</li><li>005-9BwnBWYO5FMn4cZ1sLw7F3LmTpoe8M77GrZOZHL6xQk=</li></ul>
How log_record_type VisualforceRequest
When timestamp_derived 2022-11-22T06:23:23.836Z

See Also