Posts

Showing posts from June, 2019

Manage emails in Outlook quick tip (Send To One Note Feature)

Image
Introduction:  This blog is a quick outlook tip on how to manage your emails. Every project has a number of meetings, keeping track of all of them becomes difficult at the end if you need some details.  I recently have started storing my project related minutes of meeting in One Note just with a few clicks lets see how its done. Implementation: Step 1: In outlook click the "Send To One Note" in the top ribbon Here i have clicked this option from an email thread with multiple conversations. Step 2: Sign in and provide grant permission to One Note in the pop up shown Step 3: Click on the One Note notebook where you would like to save the email and click Save On clicking on save, the email thread will be saved in One Note as shown below, also if there is an attachment on the clicked mail, it will get saved as well. This is super useful as you can store all the minutes related to the project in One Note and you don't have to worry about searc...

[SOLVED] Report PDF Generation Issue in Dynamic 365 V9.0 using JavaScript

Image
Introduction: One of my clients had a requirement in Dynamics CRM v8.2 to simplify the report generation process. I added a button on the Quote entity which on click runs a report, captures its contents using JavaScript, converts it to PDF and attaches the PDF to an Email Record.  Recently after the upgrade to Dynamics 365 v9.0 the pdf generated was corrupted. To tackle this i had to make some changes to the code. Lets quickly walk through it.  Implementation: Step 1:  Below shown is the code used in Dynamics 365 v8.2 Step 2: After the upgrade to Dynamics 35 v9.0 the below error message shown while debugging  On further research we found the URL that the url has been changed. To fix it, just change the URL in the code to the following var pth = Xrm.Page.context.getClientUrl() + "/CRMReports/rsviewer/ReportViewer.aspx"; Hope this helped!