Skip to main content
10 respostas
  1. 25 de out. de 2024, 05:52

    I recently encountered this error, when testing my visualforce page preview by passing in id parameter in the url.

     

    The error was caused by the URL

     

    The URL that generated the error:

    https://<yourDomain>/apex/<yourVisualforcePageName>&id=<yourRecordIdOfStandardController>

     

    This is the correct URL:

    https://<yourDomain>/apex/<yourVisualforcePageName>?core.apexpages.request.devconsole=1&id=<yourRecordIdOfStandardController>

     

    The difference between the 2 is that, after the <yourVisualforcePageName>, we must add the 'core.apexpages.request.devconsole=1' before appending the id parameter at the back.

0/9000