<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Shraddha Dhingra</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/shraddha_dhingra/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:24:45 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Dynamic Form Navigation</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/dynamic-form-navigation</link>
      <pubDate>Wed, 13 May 2015 02:27:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2015/05/13/dynamic-form-navigation/</guid>
      <description><![CDATA[We can create multiple forms for an entity and assign form to users based on their role. By default...]]></description>
      <content:encoded><![CDATA[<p>We can create multiple forms for an entity and assign form to users based on their role. By default it opens the form which was used last time by the logged in user.</p>
<p>Following is the code to dynamically load a particular form:</p>
<p>1. First get the form Id from Form name</p>
<p>&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/3157.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/3157.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/3157.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/3157.1.png" alt="" border="0" /></a></p>
<p>2.&nbsp; Navigate to the retrieved form Id by first comparing&nbsp;the current form with the form you want to navigate to.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4426.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4426.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4426.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4426.1.png" alt="" border="0" /></a></p>
<p>Call this function on the OnLoad event of the form.</p>
<p>&nbsp;</p>
<p>Cheers!!</p>
<p>Shraddha Dhingra</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Case Stage Specific SLA in CRM 2015</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/case-stage-specific-sla-in-crm-2015</link>
      <pubDate>Wed, 13 May 2015 01:35:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2015/05/13/case-stage-specific-sla-in-crm-2015/</guid>
      <description><![CDATA[This blog assumes that you have basic knowledge of SLA and BPF(Business Process Flow)&nbsp;and have...]]></description>
      <content:encoded><![CDATA[<p>This blog assumes that you have basic knowledge of SLA and BPF(Business Process Flow)&nbsp;and have worked on it before.</p>
<p>In our project we created "Case Stage Specific SLA".&nbsp;</p>
<p>By this I mean that we created a Business Process Flow having 5 stages - Registration, Inspection, Work Order, Complain Resolution and Customer Survey.&nbsp;We wanted&nbsp;one SLA to be triggered when the case is in Inspection BPF&nbsp;stage. As soon as the case comes to Work Order BPF stage then another SLA should be triggered. Following are the steps to do the same:</p>
<p>1. Create a new SLA with the following details:</p>
<p>&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/5582.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/5582.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/5582.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/5582.1.png" alt="" border="0" /></a></p>
<p>2.&nbsp; We will be creating two SLA items now - one for Inspection stage and another for Work Order stage.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For the case to move from one BPF stage to another the user needs to enter the mandatory information required to move to the next stage.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; In our case we took "Inspector" for "Inspection" BPF stage and "Estimation" for "Work Order" BPF stage.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0574.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0574.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0574.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0574.1.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/8524.2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/8524.2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/8524.2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/8524.2.png" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp; Go to SLA details and create a new SLA item "Inspection Stage Specific SLA"</p>
<p>&nbsp;&nbsp; Set "Applicable when" Inspector Contains data and Estimation does not contains data which means that case has come to Inspection BPF&nbsp;stage.</p>
<p>&nbsp;&nbsp; Set "Success Criteria" as when Inspector contains data and Estimation contains data which means that case has&nbsp;moved from&nbsp;Inspection stage.</p>
<p>&nbsp;&nbsp; We had set Warning time as 1 minute and Failure time as 2 minutes for demo. It can changed as required.</p>
<p>&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7823.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7823.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7823.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7823.1.png" alt="" border="0" /></a></p>
<p>&nbsp;3. Now create another SLA item in the SLA for Work Order BPF stage</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Go to SLA details and create a new SLA item "Work Order Stage Specific SLA"</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Set "Applicable when" Estimation Contains data and Issue Fixed does not contains data which means that case has come to&nbsp;Work Order&nbsp;BPF&nbsp;stage. Issue Fixed is the mandatory information required to move from Work Order Stage to the next stage.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set "Success Criteria" as when Estimation contains data and Issue Fixed contains data which means that case has&nbsp;moved from&nbsp;Work Order stage.</p>
<p>&nbsp; &nbsp;&nbsp; We had set Warning time as 1 minute and Failure time as 2 minutes for demo. It can changed as required.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0410.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0410.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0410.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0410.1.png" alt="" border="0" /></a></p>
<p>4. Activate the SLA and Set it as Default</p>
<p>&nbsp;</p>
<p>Cheers!!</p>
<p>Shraddha Dhingra</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Send Mail To Team using Custom Workflow Activities in CRM 2013/2015</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/send-mail-to-team-using-custom-workflow-activities-in-crm-20132015</link>
      <pubDate>Mon, 11 May 2015 10:56:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2015/05/11/send-mail-to-team-using-custom-workflow-activities-in-crm-20132015/</guid>
      <description><![CDATA[If the users like to send mail to all the team members when&nbsp;a&nbsp;case&nbsp;is assigned to a...]]></description>
      <content:encoded><![CDATA[<p>If the users like to send mail to all the team members when&nbsp;a&nbsp;case&nbsp;is assigned to a team. This cannot be done OOB so&nbsp;to achieve this we can write a custom workflow activity and use it in a workflow to send mail to all the members of the team.</p>
<p>1. Create a custom workflow activity from visual studio that accepts &ldquo;From User&rdquo; which is the user from which the mail will be sent and "Template Name" which is the Email template name&nbsp;as an input parameter</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; From ID input parameter</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0572.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0572.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0572.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0572.1.png" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Template Name input parameter</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/8154.2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/8154.2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/8154.2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/8154.2.png" alt="" border="0" /></a></p>
<p>&nbsp;2.&nbsp;&nbsp; <span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Write the following code in Execute</span></p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0753.3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0753.3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/0753.3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/0753.3.png" alt="" border="0" /></a></span></p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">3. </span>GetTemplateByTitle method</p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7848.4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7848.4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7848.4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7848.4.png" alt="" border="0" /></a></span></p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">4. SendEmail&nbsp; method</span></p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7610.3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7610.3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7610.3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7610.3.png" alt="" border="0" /></a>&nbsp;&nbsp; </span></p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/8422.4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/8422.4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/8422.4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/8422.4.png" alt="" border="0" /></a></span></p>
<p>5. CheckOwnerIsUserOrTeam method</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4645.4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4645.4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4645.4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4645.4.png" alt="" border="0" /></a></p>
<p><br />6.&nbsp;GetMembersOfTeam method</p>
<p>&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/1526.4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/1526.4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/1526.4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/1526.4.png" alt="" border="0" /></a></p>
<p>7. Create a workflow with the following details (i.e. add a step to call our custom workflow activity)</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4527.4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4527.4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4527.4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4527.4.png" alt="" border="0" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4073.5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4073.5.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4073.5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4073.5.png" alt="" border="0" /></a></p>
<p><br />Cheers!!</p>
<p>Shraddha Dhingra</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Set Business Process Flow Stage using Custom Workflow Activities in CRM 2013/2015</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/set-business-process-flow-stage-using-custom-workflow-activities-in-crm-20132015</link>
      <pubDate>Mon, 02 Mar 2015 04:29:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2015/03/02/set-business-process-flow-stage-using-custom-workflow-activities-in-crm-20132015/</guid>
      <description><![CDATA[Business Process Flow ensures that every time the user works with a customer they follow the same...]]></description>
      <content:encoded><![CDATA[<ol>
<li>Business Process Flow ensures that every time the user works with a customer they follow the same steps and enter data consistently. To move from one stage to another, user has to enter the information/fields required per stage and then click on &ldquo;Next Stage&rdquo;.</li>
</ol>
<p>If the users like to change the Business Process Flow stage dynamically then this can be done by creating a custom workflow activity and use it in a workflow.</p>
<ol>
<li>Create a custom workflow activity from visual studio that accepts &ldquo;Stage Name&rdquo; as an input parameter</li>
</ol>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4087.1.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4087.1.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4087.1.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4087.1.bmp" alt="" border="0" /></a>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.&nbsp;&nbsp; <span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Write the following code in Execute</span></p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7563.2.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7563.2.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7563.2.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7563.2.bmp" alt="" border="0" /></a></span></p>
<p><span style="line-height: 106%; font-family: 'Calibri',sans-serif; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.&nbsp;&nbsp;&nbsp;</span>Create a workflow with the following details (i.e. add a step to call our custom workflow activity)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/1016.3.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/1016.3.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/1016.3.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/1016.3.bmp" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7245.4.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7245.4.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/7245.4.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/7245.4.bmp" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/6201.5.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/6201.5.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/6201.5.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/6201.5.bmp" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Task not getting created in SLA in CRM 2015</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/task-not-getting-created-in-sla-in-crm-2015</link>
      <pubDate>Tue, 24 Feb 2015 09:21:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2015/02/24/task-not-getting-created-in-sla-in-crm-2015/</guid>
      <description><![CDATA[We had created&nbsp;a new enhanced SLA which had an SLA item having an email in Success Actions and...]]></description>
      <content:encoded><![CDATA[<p>We had created&nbsp;a new enhanced SLA which had an SLA item having an email in Success Actions and a task in Failure Actions.</p>
<p>&nbsp;</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/1462.1.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/1462.1.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/1462.1.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/1462.1.bmp" alt="" border="0" /></a></p>
<p><span style="text-decoration: underline;"><strong>&nbsp;SLA Item:</strong></span></p>
<p><span style="text-decoration: underline;"><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/2664.2.bmp" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/2664.2.bmp"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/2664.2.bmp" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/2664.2.bmp" alt="" border="0" /></a></strong></span></p>
<p>&nbsp;</p>
<p>Neither the email was sent nor the task was getting created.</p>
<p><span style="text-decoration: underline;"><strong>Solution:</strong></span></p>
<p>Select <strong>Resolve By KPI</strong> in <strong>SLA KPI</strong></p>
<p>Default value selected in <strong>SLA KPI</strong> is <strong>First Response by KPI</strong></p>
<p>Changing SLA KPI from<strong> First Response by KPI</strong> to <strong>Resolve By KPI&nbsp;</strong>solved the issue</p>
<p>Cheers!!</p>
<p>Shraddha Dhingra</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Tasks 365 SharePoint 2013 Hosted App – Integrating CRM 2013 and SharePoint 2013 online.</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/tasks-365-sharepoint-2013-hosted-app-integrating-crm-2013-and-sharepoint-2013-online</link>
      <pubDate>Sat, 06 Sep 2014 06:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2014/09/06/tasks-365-sharepoint-2013-hosted-app-integrating-crm-2013-and-sharepoint-2013-online/</guid>
      <description><![CDATA[Tasks 365 is a SharePoint Hosted App that let the users manages all their active tasks both in...]]></description>
      <content:encoded><![CDATA[<p>Tasks 365 is a SharePoint Hosted App that let the users manages all their active tasks both in SharePoint Portal and CRM 2013 online at a single place through Calendar Interface.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4186.Task.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4186.Task.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/4186.Task.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57/4186.Task.jpg" alt="" border="0" /></a></p>
<p>It demonstrates one possible way we can integrate CRM and SharePoint.</p>
<p>More Details on the feature</p>
<p><a href="https://download-codeplex.sec.s-msft.com/Download?ProjectName=tasks365app&amp;DownloadId=770652">https://download-codeplex.sec.s-msft.com/Download?ProjectName=tasks365app&amp;DownloadId=770652</a></p>
<p>Earlier it was created as an Auto Hosted App, however Microsoft later discontinued SharePoint it so converted it to SharePoint Hosted</p>
<p><a href="https://www.andrewconnell.com/blog/sharepoint-autohosted-apps-are-no-more-deprecated-discontinued-dead">https://www.andrewconnell.com/blog/sharepoint-autohosted-apps-are-no-more-deprecated-discontinued-dead</a></p>
<p><a href="https://msdn.microsoft.com/en-us/library/office/dn722449(v=office.15).aspx">https://msdn.microsoft.com/en-us/library/office/dn722449(v=office.15).aspx</a></p>
<p>The app can be downloaded here</p>
<p><a href="https://tasks365app.codeplex.com/">https://tasks365app.codeplex.com/</a></p>
<p>Click below to see the working demo</p>
<p><a href="https://favs.sharepoint.com/sites/contoso/_layouts/15/appredirect.aspx?instance_id=%7b3B94492B-E77E-4AF7-BD5A-D5BB1E8E5672%7d">https://favs.sharepoint.com/sites/contoso/_layouts/15/appredirect.aspx?instance_id={3B94492B-E77E-4AF7-BD5A-D5BB1E8E5672}</a></p>
<p>username - <a href="mailto:sally@favs.onmicrosoft.com">sally@favs.onmicrosoft.com</a></p>
<p>password &ndash; Secure!1</p>
<p>Cheers,</p>
<p>Shraddha Dhingra</p>]]></content:encoded>
    </item>
    <item>
      <title>Workflows in CRM 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/workflows-in-crm-2013</link>
      <pubDate>Tue, 07 Jan 2014 09:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2014/01/07/workflows-in-crm-2013/</guid>
      <description><![CDATA[In CRM 2013 we can create synchronous (real time) workflow.
Go to Processes &agrave; New Processs...]]></description>
      <content:encoded><![CDATA[<p>In CRM 2013 we can create synchronous (real time) workflow.</p>
<p>Go to Processes <span style="font-family: Wingdings;">&agrave;</span> New Processs <span style="font-family: Wingdings;">&agrave;</span> Select Category as Worfklow</p>
<p>Make sure that the "Run this workflow in the background (recommended) checkbox is unchecked else it would create an asynchronous workflow.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/5611.010714_1741_Workflowsin1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/5611.010714_5F00_1741_5F00_Workflowsin1.png" alt="" /></p>
<p>&nbsp;</p>
<p>Another new feature that we have in CRM 2013 is the <strong>Execute as</strong> option.</p>
<p>We can choose whether we want the workflow to run in the context of the Owner of the workflow or to the user who triggered it.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/1220.010714_1741_Workflowsin2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/1220.010714_5F00_1741_5F00_Workflowsin2.png" alt="" /></p>
<p>For understanding the workflow context in CRM 2011, check this post</p>
<p><a href="https://gonzaloruizcrm.blogspot.com.au/2011/05/processesworkflow-ownership-faqs.html">https://gonzaloruizcrm.blogspot.com.au/2011/05/processesworkflow-ownership-faqs.html</a></p>
<p>Similar to pre post event in plugin we now have Start When option, in which we can choose the workflow to run After or Before a particular event.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/0676.010714_1741_Workflowsin3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/0676.010714_5F00_1741_5F00_Workflowsin3.png" alt="" /></p>
<p>&nbsp;</p>
<p>Let us take a simple example</p>
<p>Here if the contact's role is Influencer and if the user tries to <strong>Deactivate</strong> the record, we will cancel the operation.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/4555.010714_1741_Workflowsin4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/4555.010714_5F00_1741_5F00_Workflowsin4.png" alt="" /></p>
<p>&nbsp;</p>
<p>After publishing the workflow if we want to deactivate the contact record where role is set to Influencer, we will get the following error</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/2450.010714_1741_Workflowsin5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/2450.010714_5F00_1741_5F00_Workflowsin5.png" alt="" /></p>
<p>&nbsp;</p>
<p>i.e. ISV code aborted the operation and the event will be cancelled.</p>
<p>Now if we want to convert this synchronous workflow to asynchronous, we can deactivate the workflow the active workflow and we will get the following option</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/7824.010714_1741_Workflowsin6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/7824.010714_5F00_1741_5F00_Workflowsin6.png" alt="" /></p>
<p>&nbsp;</p>
<p>Similarly if we have created an Asynchronous workflow, we can convert it to synchronous</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/6685.010714_1741_Workflowsin7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/6685.010714_5F00_1741_5F00_Workflowsin7.png" alt="" /></p>
<p>&nbsp;</p>
<p>Cheers,</p>
<p>Shraddha Dhingra</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Setting Default values for New Record Form using Form Query String Parameter Tool in CRM 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/setting-default-values-for-new-record-form-using-form-query-string-parameter-tool-in-crm-2013</link>
      <pubDate>Sat, 04 Jan 2014 21:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2014/01/04/setting-default-values-for-new-record-form-using-form-query-string-parameter-tool-in-crm-2013/</guid>
      <description><![CDATA[The Form Query String Parameter Tool in CRM 2013 (CRM 2011) can be used for quickly creating the URL...]]></description>
      <content:encoded><![CDATA[<p>The Form Query String Parameter Tool in CRM 2013 (CRM 2011) can be used for quickly creating the URL that can be used to set default values for the New Record Form</p>
<p>Download the managed solution</p>
<p><a href="https://download.microsoft.com/download/7/0/F/70F64BCE-35BC-43EB-8F64-68BD10512F73/FormQueryStringParameterTool_1_0_0_0_managed.zip">https://download.microsoft.com/download/7/0/F/70F64BCE-35BC-43EB-8F64-68BD10512F73/FormQueryStringParameterTool_1_0_0_0_managed.zip</a></p>
<p>Open the configuration page of the managed solution</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/1072.010514_0541_SettingDefa1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/1072.010514_5F00_0541_5F00_SettingDefa1.png" alt="" /></p>
<p>Click on Open the Form Query String Parameter Tool</p>
<p>Select the entity and the form for which the parameters has to be set</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/0511.010514_0541_SettingDefa2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/0511.010514_5F00_0541_5F00_SettingDefa2.png" alt="" /></p>
<p>Select the field and specify the values for it.</p>
<p>Based on the field selected and values specified the URL would be auto generated.</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/0451.010514_0541_SettingDefa3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/0451.010514_5F00_0541_5F00_SettingDefa3.png" alt="" /></p>
<p>&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/1537.010514_0541_SettingDefa4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/1537.010514_5F00_0541_5F00_SettingDefa4.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Test URL button opens the form with the default values set</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/0871.010514_0541_SettingDefa5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/0871.010514_5F00_0541_5F00_SettingDefa5.png" alt="" /></p>
<p>&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/2538.010514_0541_SettingDefa6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/2538.010514_5F00_0541_5F00_SettingDefa6.png" alt="" /></p>
<p>&nbsp;</p>
<p>Copy Function button allows us to copy the function that is auto generated by the tool</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/2477.010514_0541_SettingDefa7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/2477.010514_5F00_0541_5F00_SettingDefa7.png" alt="" /></p>
<p>More details</p>
<p><a href="https://msdn.microsoft.com/en-us/library/jj860466.aspx">https://msdn.microsoft.com/en-us/library/jj860466.aspx</a></p>
<p>Cheers,</p>
<p>Shraddha Dhingra.</p>]]></content:encoded>
    </item>
    <item>
      <title>Auto Save in CRM 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/auto-save-in-crm-2013</link>
      <pubDate>Sat, 04 Jan 2014 21:12:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2014/01/04/auto-save-in-crm-2013/</guid>
      <description><![CDATA[Auto Save is a new feature in CRM 2013 forms. After the record is created and the record is edited...]]></description>
      <content:encoded><![CDATA[<p>Auto Save is a new feature in CRM 2013 forms. After the record is created and the record is edited first time, the auto save occurs every 30 seconds.</p>
<p>Auto Save feature is not configurable i.e. its duration cannot be set.</p>
<p>It can be disabled at organization level for all the forms.</p>
<p>Settings &ndash;&gt; System Settings &ndash;&gt; General Tab (first tab) &ndash;&gt; Enable Auto Save on All forms &ndash;&gt;&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/5722.010514_0512_AutoSaveinC1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/5722.010514_5F00_0512_5F00_AutoSaveinC1.png" alt="" /></p>
<p>&nbsp;</p>
<p>There is no option of disabling it on any specific form. To do so we can make use of getSaveMode() method in Client SDK.</p>
<p>We can call the following method on the on save event of the form for which we want to prevent the auto save (passing execution context as the first parameter)</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/4670.010514_0512_AutoSaveinC2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/4670.010514_5F00_0512_5F00_AutoSaveinC2.png" alt="" /></p>
<p>The Auto Save features on saves the date that has been changed since the form was last saved.</p>
<p>It won't save the field that is currently being edited.</p>
<p>It displays the changes in the form after auto save but the entire form is not reloaded.</p>
<p>It impacts CRM auditing as well and also triggers any workflows and plugin associated with that event.</p>
<p><a href="https://dynamicscrmgirl.wordpress.com/2013/08/13/crm-2013-beta-the-dreaded-form-auto-save/">https://dynamicscrmgirl.wordpress.com/2013/08/13/crm-2013-beta-the-dreaded-form-auto-save/</a></p>
<p>Clicking on New, Close or Qualify actions on the Command bar also saves the record.</p>
<p>Closing the form also saves the record.</p>
<p>Cheers,</p>
<p>Shraddha Dhingra.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>alertDialog and confirmDialog in CRM 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/shraddha_dhingra/alertdialog-and-confirmdialog-in-crm-2013</link>
      <pubDate>Sun, 22 Dec 2013 06:57:00 GMT</pubDate>
      <dc:creator><![CDATA[Shraddha Dhingra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shraddha_dhingra/2013/12/22/alertdialog-and-confirmdialog-in-crm-2013/</guid>
      <description><![CDATA[CRM 2013 have added 2 new methods alertDialog and confirmDialog. These new methods have been added...]]></description>
      <content:encoded><![CDATA[<p>CRM 2013 have added 2 new methods alertDialog and confirmDialog. These new methods have been added by keeping Tablets in mind. Instead of using window.alert and window.confirm we need to use these two new methods to display message to the user.</p>
<ul>
<li><span style="color: #000066; font-family: Consolas; font-size: 12pt;">Xrm.Utility.alertDialog(<em>message</em>,<em>onCloseCallback</em>) </span></li>
<li><span style="color: #000066; font-family: Consolas; font-size: 12pt;">Xrm.Utility.confirmDialog(<em>message</em>,<em>yesCloseCallback</em>,<em>noCloseCallback</em>) </span></li>
</ul>
<p>&nbsp;</p>
<p>Usage:-</p>
<p>&nbsp;</p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> Xrm.Utility.alertDialog(<span style="color: #a31515;">"Message on alert dialog"<span style="color: black;">, <span style="color: blue;">function<span style="color: black;"> () { </span></span></span></span></span></p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> <span style="color: green;">// Change the subject after the alert dialog is closed</span></span></p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> Xrm.Page.getAttribute(<span style="color: #a31515;">"subject"<span style="color: black;">).setValue(<span style="color: #a31515;">"New Subject"<span style="color: black;">); </span></span></span></span></span></p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> }); </span></p>
<p>&nbsp;</p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> Xrm.Utility.confirmDialog(<span style="color: #a31515;">"Message on confirm dialog"<span style="color: black;">, <span style="color: blue;">function<span style="color: black;"> () { </span></span></span></span></span></p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> Xrm.Page.getAttribute(<span style="color: #a31515;">"description"<span style="color: black;">).setValue(<span style="color: #a31515;">"Yes call back selected"<span style="color: black;">); </span></span></span></span></span></p>
<p>&nbsp;</p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> }, <span style="color: blue;">function<span style="color: black;"> () { </span></span></span></p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> Xrm.Page.getAttribute(<span style="color: #a31515;">"description"<span style="color: black;">).setValue(<span style="color: #a31515;">"No call back selected"<span style="color: black;">); </span></span></span></span></span></p>
<p><span style="color: black; font-family: Consolas; font-size: 9pt; background-color: white;"> });</span></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>AlertDialog </strong></span></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/7043.122213_1457_alertDialog1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/7043.122213_5F00_1457_5F00_alertDialog1.png" alt="" /></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/1220.122213_1457_alertDialog2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/1220.122213_5F00_1457_5F00_alertDialog2.png" alt="" /></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>ConfirmDialog </strong></span></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/5367.122213_1457_alertDialog3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/5367.122213_5F00_1457_5F00_alertDialog3.png" alt="" /></p>
<p>On Selecting OK <span style="font-family: Wingdings;">&agrave;</span></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/5488.122213_1457_alertDialog4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/5488.122213_5F00_1457_5F00_alertDialog4.png" alt="" /></p>
<p>&nbsp;</p>
<p>On Selecting Cancel <span style="font-family: Wingdings;">&agrave;</span></p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/62/57/metablogapi/2047.122213_1457_alertDialog5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-62-57-metablogapi/2047.122213_5F00_1457_5F00_alertDialog5.png" alt="" /></p>
<p>&nbsp;</p>
<p>Cheers,</p>
<p>Shraddha Dhingra</p>]]></content:encoded>
    </item>
  </channel>
</rss>