Loading

'JavaScript proxies were not generated for controller' error after adding Account Engagement package component to layout

Udgivelsesdato: Sep 30, 2025
Beskrivelse

After adding a component from the Account Engagement-managed package to a Salesforce page layout, users may see an error message when attempting to view an individual Lead or Contact in Salesforce.  

Example of the full error message displayed when attempting to view an individual record:

"JavaScript proxies were not generated for controller pi.MicroCampaignStd.Ctrl: may not use public remote methods inside an iframe."

Løsning

This error displays when mobile Visualforce elements were added to the standard page layout in Salesforce instead of the mobile page layout. 

To identify these pages: 

1. Edit your Lead and/or Contact Page Layout. 
2. Select "Visualforce Pages".
3. Hover over a Visualforce Page component. 

If the "Available for Salesforce mobile apps" field for that component displays "Yes", then the component should be removed from the standard layout or moved to the mobile layout. 

Repeat these steps for all remaining Visualforce Page components until all mobile components have been removed from the standard page layout.

Vidensartikelnummer

000382465

 
Indlæser
Salesforce Help | Article