Skip to main content
Good afternoon, Community!

 

I'm hoping someone can help me out with what I assume is a quick problem.

 

I've created a simple visualforce page intended to display a warning in cases where our Sales team may have selected the wrong pricebook. I've added the visualforce page to the Opportunity page layout, and ensured the Security permissions grant users access to view.

 

The problem we're experiencing is that the popup window displays correctly for myself and our Sales team, but immediately closes itself. (We're exclusively using Chrome for what that's worth.)

 

Any help would be greatly appreciated!

 

VF Page attached below:

 

Visualforce Popup Immediately Closing
7 件の回答
  1. 2020年3月9日 19:47
     Check if-Opportunity.Display_Pricebook_Warning__c-if this is getting set to false

     

     Thanks,

     

     Sakshi