Hi,
How to generate "rdl" file into "pdf" from a custom ribbon button click event ,I know we can export a report to pdf format but the requirement is to directly attach pdf file in email to reduce the clicks.
*This post is locked for comments
Hi,
How to generate "rdl" file into "pdf" from a custom ribbon button click event ,I know we can export a report to pdf format but the requirement is to directly attach pdf file in email to reduce the clicks.
*This post is locked for comments
Hi,
i am not tested in version 9. but it works fine in version 1612(8.2.1.411).
Trying to accomplish this with the OOB Quote Report that CRM has created. I receive this error when stepping over the code below. Please help!
CODE:
retrieveEntityReq.send("id=%7B" + reportGuid + "%7D&uniquename=" + Xrm.Page.context.getOrgUniqueName() + "&iscustomreport=false&reportnameonsrs=&reportName=" + reportName + "&isScheduledReport=false");
ERROR:
"<!DOCTYPE html><html><head><script type='text/javascript'>window.location.href = '/_common/error/errorhandler.aspx?BackUri=https%3a%2f%2fcrmca1.crm.dynamics.com%2fform%2fClientApiWrapper.aspx%3fver%3d789416022&ErrorCode=0x8004832C&Parm0=%0d%0a%0d%0a&Parm1=%28rsItemNotFound%29&RequestUri=%2fCRMReports%2frsviewer%2freportviewer.aspx&user_lcid=1033';</script></head><body></body></html>"
So, just to clarify, you are saying this does not work in version 9?
Hi,
i am Implement this in Dynamics 365 online Version 1612(8.2.1.411). as bharat said it is not work in latest version.
Hello Iswarya, Are you guys implying this does not work in D365? I have a trial version 1612(9.0.0.2072)
Is there are work around? Thanks in advanced.
Hi Bharat,
i will check with latest trial organisation.
Thanks for confirming.
Looks like it might need looking at again when you get upgraded to Version 9
Hi Bharat,
Currently i am working on the dynamics 365 online Version 1612(8.2.1.411).
Hi Iswarya,
What version of Dynamics 365 are you working on?
The above code works in version 1612 (8.2.1.411) but doesn't seem to work in version 1612 (9.0.0.1103)
The line its failing on in version 9.0.0.1103 is:
retrieveEntityReq.send("id=%7B" + reportGuid + "%7D&uniquename=" + Xrm.Page.context.getOrgUniqueName() + "&iscustomreport=true&reportnameonsrs=&reportName=" + reportName + "&isScheduledReport=false&p:CRM_quote=" + strParameterXML);
I get a 404 error.
Regards
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156