function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Suma GangaSuma Ganga 

How can i pass open record ID to REPORTS?

Hi,

i have a custom object deal__c.
and in edit page layout i have a <Generate History Report> Custom button.
i enbled Track History and Enable Reports on object level.
i have to Track history for 8 fields in my custom object.

By clicking on the custom button i need to pass RecordID to Reports.
Any one pls suggest me how can i fulfill this requirement.
Thanks in advance!!

-- suma.

 
Best Answer chosen by Suma Ganga
PratikPratik (Salesforce Developers) 
Hi Suma,

You can refer this:
http://www.interactiveties.com/b_dynamic_report_part1.php#.VKptPyuUe7k

https://success.salesforce.com/answers?id=90630000000h0CrAAI

Thanks,
Pratik

All Answers

PratikPratik (Salesforce Developers) 
Hi Suma,

You can refer this:
http://www.interactiveties.com/b_dynamic_report_part1.php#.VKptPyuUe7k

https://success.salesforce.com/answers?id=90630000000h0CrAAI

Thanks,
Pratik
This was selected as the best answer
Suma GangaSuma Ganga
Thank you Pratik.
This blog solved my problem. :)
 
PratikPratik (Salesforce Developers) 
Great! Glad it helped! Thanks, Pratik
Suma GangaSuma Ganga
Pratik,
one more doubt :(

as of now, we are hard coding the Report ID in URL..
is there any chance to get it from custom settings or some where else...

Thanks in advance!!

-- suma.
 
PratikPratik (Salesforce Developers) 
Hi Suma,

I am not sure if we can do it without hardcoding through custom setting. If i come across anything related to it, I willl add the comment here.

Thanks,
Pratik
Suma GangaSuma Ganga
Thank you Pratik.