Showing posts with label development. Show all posts
Showing posts with label development. Show all posts

Wednesday, March 30, 2016

Preview of Microsoft Dynamics CRM Developer Toolkit for 2016 in preview

Now it is in previewIt is almost back
And it is working in the preview function

The developer Toolkit has been in preview via the Connect program.
And it is working like a charm.
Sign in to connect and get the latest build - And start building fast again.

Feature list:

Windows Mobile Templates - Wauuww... Processes, debugging....
Yet to come is the new component and patch deployments.

Happy building....

Monday, August 24, 2015

Sending PDF reports from Microsoft Dynamics CRM

From time to time companies using Microsoft Dynamics CRM need to send out a PDF with the same layout as in a SRS Report or a document mail merge template.
A challange for the consult could be: What purpose does the PDF serve?
If it is a matter of reporting, why not use PowerBI, a dynamic spread sheet or simply let the potential recipients of the PDF gain access to CRM with a speck dashboard containing the relevant data?
It takes some guts to challenge the business users and system owners to think lateral. My opinion is, that looking at data directly from CRM in CRM involves the user the most, due to the human nature of being curious. Looking at data directly in CRM gives the user the ability to dive in to the data and discover patterns, trends and accuracy.

Well, if the company insists on having a report send in PDF format to a target group, there are different ways of doing this. Some of them are listed here:

  1. Develop a script for a button and a plugin, to wrap the SRS report up as a PDF file and send it to some recipients from a list of contacts or users. This approach requires developer skills.
  2. Use a third party tool like MSCRM Add-Ons (not as neat in charting, hence it is based on word mail merge and designed in MS Word) or one of these ISV solutions: https://pinpoint.microsoft.com/en-jo/Applications/12884949612 http://www.dynamicsobjects.com/Products/DynamicsPDF.aspx
  3. Have the report send as is from the RSR scheduling service. Is only working in an on-prem environment.
Again - In respect for you self and the company you are serving, you should ask the W questions before developing your rarely simple script and plugin.

Happy consulting!


Saturday, June 8, 2013

CRM 2011: shortcut from Dashboard in outlook client


I was recently on an assignment for a client where they use Outlook client for CRM 2011. First page any user hits when Outlook opens is the Dashboard is selected in outlook / Advanced Settings / open default.
It provides an overview of the activities assigned to the user, the team's overall task load and the opportunities being worked on.

It's messy if a user wants to create a new opportunity. You must first open the entity for opportunities, and then to create a new record.

A shortcut on dashboarded would do the trick.
Richard Knudson has created a blog post on the same subject.

http://www.dynamicscrmtrickbag.com/2011/11/20/crm2011-dialog-power-tips-run-a-dialog-from-a-dashboard/

This refers ClientGlobalContext.js.aspx. It is not necessary from a dashboard because top.window includes Xrm.
So here is my code for a resource file:


<html><head>
<script type="text/javascript">
        function safeNewWindow(url, title) {
        var x = window.top.Xrm;
        win = window.open(x.Page.context.getClientUrl() + url, "_blank", "height=600,width=800,model=yes");
        }
</script>

<meta charset="utf-8"></head>
<body><a onclick="safeNewWindow(&quot;/main.aspx?etc=3&amp;extraqs=%3fetc%3d3%26pagemode%3diframe%26preloadcache%3d1370596730722&amp;pagetype=entityrecord&quot;,&quot;&quot;)" href="#"><font face="Tahoma">Opret projektopgave</font> </a>
<p></p></body></html>


Enjoy!