+ Start a Discussion
dumnydumny 

Too many SOQL queries exception

We have a Visual Force page which contains three tabs and each tab has 3-4 tabPanels. Here in each tabPanel we have invoked one component which has some custom functionality. We have used actionRegion, switchType, re-render (Ajax) attributes also and tried to debug our code, there I found that when I am doing some action on one component queries of other components are also getting fired. And getting a exception Too many SOQL queries.

 

Any pointer or suggestion for get rid of this problem.

wesnoltewesnolte

Hey

 

I've had similar issues. Sometimes a single component gets called twice even thought there's only one on a page. I've had this in many different areas. I've logged a case and am waiting feedback(2 months and counting)

 

Wes 

AndrzejWAndrzejW

Hi Wes,

 

Did you have any feedback on this from the Salesforce support?

 

Cheers,

 

Andrzej