Created
March 12, 2015 17:30
-
-
Save charltonAthletic/8d2ae3f2f8bd45498c13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This Javascript snippet can be used on a custom button to pass a parameter to a report allowing dynamic reports. | |
// window.open("salesforce_instance.com/reportId?firstparamater) | |
// More info on using Javascript behind custom buttons to create dynamic reports can be found here: http://www.tgerm.com/2011/04/passing-params-to-reports-salesforce.html | |
window.open("https://eu0.salesforce.com/00O11000000P42z?pv0={!Account.Id}", "Key_Contacts", "toolbar=0, scrollbars=1"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment