I need to open this page in a new window (salesforce tab.) Have tried to modify the URL but can't seem to get the syntax.
Button or Link URL /apex/PROD_V2_Audit_Auto_PolicySample?AccId={!Audit__c.Id}
I need to open this page in a new window (salesforce tab.) Have tried to modify the URL but can't seem to get the syntax.
Button or Link URL /apex/PROD_V2_Audit_Auto_PolicySample?AccId={!Audit__c.Id}
Try:
{!URLFOR("../apex/PROD_V2_Audit_Auto_PolicySample", "")}?AccId={!Audit__c.Id}
Not sure if it's the most elegant way but this format works for us
got it working with the execute javascript option and tweaking the syntax
var newWin = window.open("/apex/PROD_V2_Audit_Auto_PolicySample?AccId={!Audit__c.Id}", "_blank");