tag:blogger.com,1999:blog-63744305796109473182024-03-27T13:22:55.639+05:30Microsoft Dynamic CRMLearning and Exploring Microsoft Dynamic 365 CRM together. Unknownnoreply@blogger.comBlogger166125tag:blogger.com,1999:blog-6374430579610947318.post-46698515069054657262022-03-25T17:03:00.000+05:302022-03-25T17:03:19.346+05:30The type or namespace name 'componentstate' could not be found (are you missing a using directive or an assembly reference?)<p> <span style="font-family: "Segoe UI", sans-serif; font-size: 12pt;">The type or namespace name 'componentstate' could not be
found (are you missing a using directive or an assembly reference?)</span><span style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"> </span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Recently, I was using <b>CrmSvcUtil.exe </b>to generate
early bound classes for the new trail Dynamic CRM instance created. When I used
the generated class in Dynamic CRM, Visual Studio started complaining about
various missing assembly references.</span><span style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"> </span></p>
<p class="MsoNormal"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">I was using the latest CRM SDK libraries (NuGet Packages) for the newly created CRM Trail instance with the latest CrmSvcUtil downloaded. Still out
of luck.</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiEuEix4bHAD84hlcutOLiPDzxd2HeuRRP-Sc4XoIpKygXkTQZwO5Baka8bJUVqv5adq7aenAWwCTVcDvpMoVGYo8X82Onfmd9hokUo0Qm6kj5mStQ5z20fGGxuz3lTHObpa62QnKsLo7AifFdolTVYHY-fJ7C5xjDOITn30n0ueMTrWbZ6Vx7KnrC8" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="638" data-original-width="890" src="https://blogger.googleusercontent.com/img/a/AVvXsEiEuEix4bHAD84hlcutOLiPDzxd2HeuRRP-Sc4XoIpKygXkTQZwO5Baka8bJUVqv5adq7aenAWwCTVcDvpMoVGYo8X82Onfmd9hokUo0Qm6kj5mStQ5z20fGGxuz3lTHObpa62QnKsLo7AifFdolTVYHY-fJ7C5xjDOITn30n0ueMTrWbZ6Vx7KnrC8=s16000" /></a></div><br /><br /><p></p><p><b><span style="font-family: "Segoe UI",sans-serif; font-size: 16.0pt; line-height: 107%;">Solution:</span></b></p><p>
</p><p class="MsoNormal" style="margin-bottom: 0in; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">I tried the XrmToolbox plugin – Early Bound Generator to generate files. <o:p></o:p></span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEim7l7lYskGZPfhf9OtR0-OL--dZEtzBxBBBO9NXkt_6INzl_wuacZi-xROrsW_OZtXHUvX3zP0OMlzIZTa1LuDck-nRQlw_BztIu8UjCJHTX72EM9pGOfAL6hnOkwCMYh5s0_0zpd33DO4K4zlIww-WLyIRWKZXp-zNctudeoGSU_706kSmD6sQq5i" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="138" data-original-width="873" src="https://blogger.googleusercontent.com/img/a/AVvXsEim7l7lYskGZPfhf9OtR0-OL--dZEtzBxBBBO9NXkt_6INzl_wuacZi-xROrsW_OZtXHUvX3zP0OMlzIZTa1LuDck-nRQlw_BztIu8UjCJHTX72EM9pGOfAL6hnOkwCMYh5s0_0zpd33DO4K4zlIww-WLyIRWKZXp-zNctudeoGSU_706kSmD6sQq5i=s16000" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiXa-wqrprB-X0UKxacXtp6v04ZYJ1XmNpbsLaNfcVDfipgp9ntikyjOdEa-PBil_gOFXzS9IBZzmqbByqIwTex6J2gEiPr-ktX_TH_BnDl7Qn1tjklQePZ9qTObCQbItRkRRTdLRX2EZn9_Mf3X48RDMR3L9_shJLHrhqqUmLr0LPydua0Gd1GrMal" style="margin-left: 1em; margin-right: 1em;"><br /><img data-original-height="298" data-original-width="1041" src="https://blogger.googleusercontent.com/img/a/AVvXsEiXa-wqrprB-X0UKxacXtp6v04ZYJ1XmNpbsLaNfcVDfipgp9ntikyjOdEa-PBil_gOFXzS9IBZzmqbByqIwTex6J2gEiPr-ktX_TH_BnDl7Qn1tjklQePZ9qTObCQbItRkRRTdLRX2EZn9_Mf3X48RDMR3L9_shJLHrhqqUmLr0LPydua0Gd1GrMal=s16000" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Files would be generated as in the below path and when used
in the project, it all worked.<o:p></o:p></span></p></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">C:\Users\<span style="background-color: #fcff01;"><span style="color: red;">Vipin</span></span>\AppData\Roaming\MscrmTools\XrmToolBox\Settings\EBG<o:p></o:p></span></p></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgd3IR2DyhjnzBj1CY82xgK1SbM09YLqtNBffA-7209Et0qrNW9yfWnlNA89X6slG2uyHP0dRU4792UE-NcNc6AJkFowm2UDDRJioOhI33PDhwzRZt9Wy4UQaI6e799eH1adD-GpsLuRdySPgC4W3I3JMRLzaIKsgSiEknEExXtB9WiUz2j_dfMHe0N" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="208" data-original-width="882" src="https://blogger.googleusercontent.com/img/a/AVvXsEgd3IR2DyhjnzBj1CY82xgK1SbM09YLqtNBffA-7209Et0qrNW9yfWnlNA89X6slG2uyHP0dRU4792UE-NcNc6AJkFowm2UDDRJioOhI33PDhwzRZt9Wy4UQaI6e799eH1adD-GpsLuRdySPgC4W3I3JMRLzaIKsgSiEknEExXtB9WiUz2j_dfMHe0N=s16000" /></a></div><br /><br /></div><br /><br /><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-50786388154673797842022-01-16T11:12:00.003+05:302022-01-16T11:36:17.232+05:30Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #2b2b2b; font-size: 12pt; line-height: 107%;">While trying to connect
to Dynamics CRM Online via an MVC application, I was having below error</span><i><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><o:p></o:p></span></i></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #2b2b2b; font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><i style="text-align: justify;"><span face=""Segoe UI",sans-serif">ERROR
REQUESTING Token FROM THE Authentication contextException has been thrown by
the target of an invocation. => Could not load file or assembly
'System.Net.Http, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified.Unable to connect to CRM: Could not load file or
assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified.</span></i></p><p class="MsoNormal" style="text-align: justify;"><i><span face=""Segoe UI",sans-serif">Unable to
Login to Dynamics CRMOrganizationWebProxyClient is null<o:p></o:p></span></i></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #2b2b2b; font-size: 12pt; line-height: 107%;">
</span></p><p class="MsoNormal" style="text-align: justify;"><i><span face=""Segoe UI",sans-serif">OrganizationWebProxyClient
is null<o:p></o:p></span></i></p><p class="MsoNormal" style="text-align: justify;"><i><span face=""Segoe UI",sans-serif"><br /></span></i></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Root Cause:<o:p></o:p></span></b></p><p style="background: white; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 12pt;"><span face=""Segoe UI",sans-serif" style="color: #3a4145;">You normally get this issue when you take the reference of
certain third party library in your application.<o:p></o:p></span></p><p class="MsoNormal" style="text-align: justify;">
</p><p style="background: white; box-sizing: border-box; margin: 0in 0in 12pt; word-spacing: 1px;"><em style="box-sizing: border-box;"><span face=""Segoe UI",sans-serif" style="color: #3a4145;">For example, you took the reference of </span></em><strong style="box-sizing: border-box;"><i><span face=""Segoe UI",sans-serif" style="color: #3a4145;">RestSharp</span></i></strong><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> (A third-party library) from NuGet. That RestSharp
internally may have used the reference of </span></em><code style="border-radius: 2px; box-sizing: border-box; word-break: break-word;"><i><span face=""Segoe UI",sans-serif" style="background: rgb(247, 250, 251); border: 1pt solid rgb(227, 237, 243); color: #e83e8c; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; mso-border-alt: solid #E3EDF3 .75pt; padding: 1pt;">System.Net.Http</span></i></code><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> </span></em><code style="border-radius: 2px; box-sizing: border-box; word-break: break-word;"><i><span face=""Segoe UI",sans-serif" style="background: rgb(247, 250, 251); border: 1pt solid rgb(227, 237, 243); color: #e83e8c; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; mso-border-alt: solid #E3EDF3 .75pt; padding: 1pt;">4.2.0.0</span></i></code><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> version. And your
project is also using the reference to </span></em><code style="border-radius: 2px; box-sizing: border-box; word-break: break-word;"><i><span face=""Segoe UI",sans-serif" style="background: rgb(247, 250, 251); border: 1pt solid rgb(227, 237, 243); color: #e83e8c; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; mso-border-alt: solid #E3EDF3 .75pt; padding: 1pt;">System.Net.Http</span></i></code><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> </span></em><code style="border-radius: 2px; box-sizing: border-box; word-break: break-word;"><i><span face=""Segoe UI",sans-serif" style="background: rgb(247, 250, 251); border: 1pt solid rgb(227, 237, 243); color: #e83e8c; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; mso-border-alt: solid #E3EDF3 .75pt; padding: 1pt;">4.0.0.0</span></i></code><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> (From GAC). Now
when you run the application & try to call any method which is using </span></em><strong style="box-sizing: border-box;"><i><span face=""Segoe UI",sans-serif" style="color: #3a4145;">RestSharp</span></i></strong><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;">, at the same time Runtime (CLR) tries to locate the </span></em><code style="border-radius: 2px; box-sizing: border-box; word-break: break-word;"><i><span face=""Segoe UI",sans-serif" style="background: rgb(247, 250, 251); border: 1pt solid rgb(227, 237, 243); color: #e83e8c; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; mso-border-alt: solid #E3EDF3 .75pt; padding: 1pt;">System.Net.Http</span></i></code><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> assembly with
version </span></em><code style="border-radius: 2px; box-sizing: border-box; word-break: break-word;"><i><span face=""Segoe UI",sans-serif" style="background: rgb(247, 250, 251); border: 1pt solid rgb(227, 237, 243); color: #e83e8c; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; mso-border-alt: solid #E3EDF3 .75pt; padding: 1pt;">4.2.0.0</span></i></code><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> & when it
fails to locate the desired version, it throws </span></em><code style="border-radius: 2px; box-sizing: border-box; word-break: break-word;"><i><span face=""Segoe UI",sans-serif" style="background: rgb(247, 250, 251); border: 1pt solid rgb(227, 237, 243); color: #e83e8c; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; mso-border-alt: solid #E3EDF3 .75pt; padding: 1pt;">System.IO.FileNotFoundException</span></i></code><em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"> exception with
below error message.</span></em><span face=""Segoe UI",sans-serif" style="color: #3a4145;"><o:p></o:p></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Solution:<o:p></o:p></span></b></p><p class="MsoNormal"><span face="Lato, sans-serif" style="background-color: white; color: #3a4145; font-size: 16px; word-spacing: 1px;">Just add the below configuration in the </span><code style="background: rgb(247, 250, 251); border-radius: 2px; border: 1px solid rgb(227, 237, 243); box-sizing: border-box; color: #e83e8c; font-family: Inconsolata, monospace, sans-serif; font-size: 0.85em; padding: 1px 3px; white-space: pre; word-break: break-word; word-spacing: 1px;">web.config</code><span face="Lato, sans-serif" style="background-color: white; color: #3a4145; font-size: 16px; word-spacing: 1px;"> or </span><code style="background: rgb(247, 250, 251); border-radius: 2px; border: 1px solid rgb(227, 237, 243); box-sizing: border-box; color: #e83e8c; font-family: Inconsolata, monospace, sans-serif; font-size: 0.85em; padding: 1px 3px; white-space: pre; word-break: break-word; word-spacing: 1px;">app.config</code><span face="Lato, sans-serif" style="background-color: white; color: #3a4145; font-size: 16px; word-spacing: 1px;"> of your startup project.</span><span face=""Segoe UI", sans-serif" style="background-color: white; color: #3a4145; font-size: 12pt;"> </span></p><p class="MsoNormal">
</p><div style="background: rgb(39, 40, 34); border: 1pt solid rgb(227, 237, 243); mso-border-alt: solid #E3EDF3 .75pt; mso-element: para-border-div; padding: 12pt;">
<p class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: normal; margin-bottom: 0in; margin-top: 0in; padding: 0in;"><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"><</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">dependentAssembly</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">><o:p></o:p></span></p>
<p class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: normal; margin-bottom: 0in; margin-top: 0in; padding: 0in;"><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"> <</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">assemblyIdentity </span><span style="border: 1pt none windowtext; color: #a6e22e; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">name</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">="</span><span style="border: 1pt none windowtext; color: #e6db74; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">System.Net.Http</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">"</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"> </span><span style="border: 1pt none windowtext; color: #a6e22e; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">publicKeyToken</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">="</span><span style="border: 1pt none windowtext; color: #e6db74; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">b03f5f7f11d50a3a</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">"</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"> </span><span style="border: 1pt none windowtext; color: #a6e22e; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">culture</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">="</span><span style="border: 1pt none windowtext; color: #e6db74; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">neutral</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">"</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"> </span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">/><o:p></o:p></span></p>
<p class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: normal; margin-bottom: 0in; margin-top: 0in; padding: 0in;"><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"> <</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">bindingRedirect </span><span style="border: 1pt none windowtext; color: #a6e22e; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">oldVersion</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">="</span><span style="border: 1pt none windowtext; color: #e6db74; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">0.0.0.0-4.2.0.0</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">"</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"> </span><span style="border: 1pt none windowtext; color: #a6e22e; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">newVersion</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">="</span><span style="border: 1pt none windowtext; color: #e6db74; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">4.0.0.0</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">"</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"> </span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">/><o:p></o:p></span></p>
<p class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; line-height: normal; margin-bottom: 0in; margin-top: 0in; padding: 0in;"><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;"></</span><span style="border: 1pt none windowtext; color: #f92672; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">dependentAssembly</span><span style="border: 1pt none windowtext; color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Courier New"; mso-border-alt: none windowtext 0in; mso-fareast-font-family: "Times New Roman"; padding: 0in;">></span><span style="color: #f8f8f2; font-family: Consolas; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></p>
</div><p class="MsoNormal"><br /></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #3a4145;">Hopefully, this should fix the issue.</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #3a4145;"><br /></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;">Here are some other links for Troubleshooting and learning:<o:p></o:p></span></p><p class="MsoListParagraph" style="background: white; line-height: normal; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html">Plugin in Dynamic 365 CRM</a><o:p></o:p></span></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html">Connect to Dynamic 365 CRM from Console App using Azure Authentication</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2022/01/could-not-load-file-or-assembly.html">Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/10/unable-to-login-to-dynamics.html">Unable to Login to Dynamics CRMOrganizationWebProxyClient is null</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/assembly-microsoftcrmsdkproxy-with.html">Assembly 'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.</a><o:p></o:p></span></h3><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2016/09/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies</a><o:p></o:p></span></h3><div><br /></div><div><br /></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #3a4145;"></span></p><div><br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-55180330699668471512022-01-12T15:45:00.003+05:302022-01-12T15:45:31.324+05:30Dynamic CRM Sandbox Service<p><span style="font-family: "Segoe UI", sans-serif; font-size: 12pt;">The Sandbox Processing
Service is part of the CRM deployment and is responsible for executing plugins
that are registered in isolation mode. </span></p><p><span style="font-family: "Segoe UI", sans-serif; font-size: 12pt;">Here are some of the limitations of a plugin
running under Sandbox.</span></p>
<p class="MsoNormal" style="margin-bottom: 0in;"></p><ul style="text-align: left;"><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Access to the file system
(C Drive)</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">system event log</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">certain network protocols</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">registry</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">You cannot access any other
DLL’s</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">IP addresses cannot be used</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Only HTTP and HTTPS
protocols are allowed.</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">In isolated mode, you cannot
call any external DLL’s\DLL’s in the GAC</span></li><li><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">It has a timeout for 2mins of the operations.</span></li></ul><p></p><p class="MsoNormal" style="margin-bottom: 0in;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Other Key Notes:<o:p></o:p></span></p><div>
<p class="MsoNormal" style="margin-bottom: 0in;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Debugging a Sandbox plugin
is the same as we do when referring a plugin on a database for an online CRM instance, but for On-Premise you need to attach your
debugger to the Sandbox service.<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Refer here for knowing about - <a href="https://vjcity.blogspot.com/2022/01/dynamic-crm-asynchronous-service.html" target="_blank">Dynamic CRM Asynchronous Service</a></span></p></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-61327948654402875612022-01-12T15:33:00.003+05:302022-01-12T15:46:27.007+05:30Dynamic CRM Asynchronous Service<p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">The Microsoft Dynamics 365
Asynchronous Processing Service (called the async service) executes
long-running operations independent of the main Microsoft Dynamics 365 (online
& on-premises) core operation.</span><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"> </span><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">This
results in improved overall system performance and improved scalability.</span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">How does it work?<o:p></o:p></span></b></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">The
asynchronous service features a managed queue for the execution of asynchronous
plug-ins, workflows, and long-running operations such as bulk mail, bulk
import, and campaign activity propagation.
These operations are registered with the asynchronous service and are
executed periodically when the service processes its queue. Since these
operations are queued up and must be executed in time globally, there are some
well-defined resource quotas that enable resources to be distributed amongst
all online customers equally.<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"> </span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Where
I can see these Jobs running?</span></b></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">A System Job also known as
an asynchronous operation, is used to define and track the execution of
asynchronous operations for example an asynchronous registered plug-in,
workflow, or other background system operation. <o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCMInQP4MBABqsRH1aJkKyPTCI0xlU72HavrKrtr4LvObl0BEMQu5FizN01t8p4Dka1m2OsIke3KYpmh1KYamdrHPRiQc_puIofuHIwkRuOWfSEt-m0ShlvIFcQwsiIZT3tYCQ4AQS-nI/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="534" data-original-width="975" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCMInQP4MBABqsRH1aJkKyPTCI0xlU72HavrKrtr4LvObl0BEMQu5FizN01t8p4Dka1m2OsIke3KYpmh1KYamdrHPRiQc_puIofuHIwkRuOWfSEt-m0ShlvIFcQwsiIZT3tYCQ4AQS-nI/w640-h350/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal" style="margin-bottom: 0in;"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;">The following table lists the states, and the statuses for each state,
of an </span><strong style="box-sizing: inherit; outline-color: inherit;"><span face=""Segoe UI",sans-serif">AsyncOperation</span></strong>.<o:p></o:p></p><p class="MsoNormal" style="margin-bottom: 0in;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQbKAMnzEkVF5YTyLhPdwN-Wab0_zvXgSnB8MlTZr3lTIVfnktbhFrKyHrmfV41BMqS5C8QziKRTpdR1wJcJOuYlSTBtadwv5HAqTeLOxg8D4T8rxWyDKOz3P-ikIZm30z3FfSDp0z_Ko/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="553" data-original-width="975" height="363" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQbKAMnzEkVF5YTyLhPdwN-Wab0_zvXgSnB8MlTZr3lTIVfnktbhFrKyHrmfV41BMqS5C8QziKRTpdR1wJcJOuYlSTBtadwv5HAqTeLOxg8D4T8rxWyDKOz3P-ikIZm30z3FfSDp0z_Ko/w640-h363/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWVT_YOM55fuLzsUFfe7YlKZYwA5jAsC_Wt0SysPvJ0rZJI4Mp3CQIvC1-h_Zt0VTwyE7OClCHHIi6gQfM6z8EzshmZcYfN1uJSgnE_RylGdG4p38kLzc0VGF0W0iv7VTcJUT3jVvJbkY/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="839" data-original-width="797" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWVT_YOM55fuLzsUFfe7YlKZYwA5jAsC_Wt0SysPvJ0rZJI4Mp3CQIvC1-h_Zt0VTwyE7OClCHHIi6gQfM6z8EzshmZcYfN1uJSgnE_RylGdG4p38kLzc0VGF0W0iv7VTcJUT3jVvJbkY/w608-h640/image.png" width="608" /></a></div><br /><br /></div><br /><p></p><p class="MsoNormal" style="margin-bottom: 0in;"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;">An asynchronous operation can be made dependent on another
asynchronous operation. A dependent asynchronous operation does not execute
until the operation that it is dependent on has finished executing.</span><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in;"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in;"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;">Refer here to know about - <a href="https://vjcity.blogspot.com/2022/01/dynamic-crm-sandbox-service.html" target="_blank">Dynamic CRM Sandbox Service</a></span></p><p class="MsoNormal" style="margin-bottom: 0in;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><o:p></o:p></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-88596933176375030012022-01-11T16:51:00.011+05:302022-01-11T16:59:31.534+05:30How to send email to all users who are following a case.<p><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt;"></span></p><h3 style="background: white; margin-top: 9pt; text-align: center;"><br /></h3><h3 style="background: white; margin-top: 9pt; text-align: left;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 14pt; line-height: 107%;"><a href="https://vjcity.blogspot.com/2022/01/follow-functionality-in-dynamics-365-crm.html" target="_blank"><span style="color: #2b00fe;">Refer here: To know about Follow Functionality in Dynamics 365 CRM</span></a><span style="color: #222222;"><o:p></o:p></span></span></h3><p><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt;"> </span></p><p><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt;">This blog describes
the functionality where all users will receive an email notification for case bring followed by them is updated. To demonstrate this we are considering the case origin field on the Case entity.</span></p><p><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt;">Through this, the user will know about any actions being
performed on the case instead of manually looking into it. </span></p>
<p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt; line-height: 107%;">Users can also unfollow the case from receiving email notifications whenever they wish to. </span></p>
<p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZXTlB4MibxvUGxECYg5u58gwrfu8JqnpDYkLp4lsi0_oXs6JBo1-AMWQiQS6heSIiOFH2sRUbVSCTb4pczfALJUBmhWUiXNLzLUXFczTsD0G-1XwrcGI2sxikt2bqoRBLqEhTthuBu1c/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="469" data-original-width="813" height="370" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZXTlB4MibxvUGxECYg5u58gwrfu8JqnpDYkLp4lsi0_oXs6JBo1-AMWQiQS6heSIiOFH2sRUbVSCTb4pczfALJUBmhWUiXNLzLUXFczTsD0G-1XwrcGI2sxikt2bqoRBLqEhTthuBu1c/w640-h370/image.png" width="640" /></a></div><br /><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Plugin Code:</span></b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">namespace</span><span style="font-family: Consolas; font-size: 9.5pt;"> Crm.Plugins<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">public</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">class</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EmailToUsersForCaseFollowed</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IPlugin</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">public</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">void</span><span style="font-family: Consolas; font-size: 9.5pt;"> Execute(</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IServiceProvider</span><span style="font-family: Consolas; font-size: 9.5pt;">
serviceProvider)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;"> IPluginExecutionContext</span><span style="font-family: Consolas; font-size: 9.5pt;"> context = (</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IPluginExecutionContext</span><span style="font-family: Consolas; font-size: 9.5pt;">)serviceProvider.GetService(</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">typeof</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IPluginExecutionContext</span><span style="font-family: Consolas; font-size: 9.5pt;">));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;"> IOrganizationServiceFactory</span><span style="font-family: Consolas; font-size: 9.5pt;"> serviceFactory =(</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IOrganizationServiceFactory</span><span style="font-family: Consolas; font-size: 9.5pt;">)serviceProvider.GetService(</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">typeof</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IOrganizationServiceFactory</span><span style="font-family: Consolas; font-size: 9.5pt;">));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IOrganizationService</span><span style="font-family: Consolas; font-size: 9.5pt;"> service =
serviceFactory.CreateOrganizationService(context.UserId);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">ITracingService</span><span style="font-family: Consolas; font-size: 9.5pt;"> tracingService = (</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">ITracingService</span><span style="font-family: Consolas; font-size: 9.5pt;">)serviceProvider.GetService(</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">typeof</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">ITracingService</span><span style="font-family: Consolas; font-size: 9.5pt;">));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;"> targetentity = (</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;">)context.InputParameters[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"Target"</span><span style="font-family: Consolas; font-size: 9.5pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;"> users = GetUsersWhoFollowCase(service,
targetentity.Id);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">if</span><span style="font-family: Consolas; font-size: 9.5pt;"> (users.Entities.Count > 0)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;"> toPartyCollection = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;">();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">foreach</span><span style="font-family: Consolas; font-size: 9.5pt;"> (</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;"> user </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">in</span><span style="font-family: Consolas; font-size: 9.5pt;"> users.Entities)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Guid</span><span style="font-family: Consolas; font-size: 9.5pt;"> userId = user.GetAttributeValue<</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityReference</span><span style="font-family: Consolas; font-size: 9.5pt;">>(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"ownerid"</span><span style="font-family: Consolas; font-size: 9.5pt;">).Id;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;"> toParty = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"activityparty"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
toParty[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"partyid"</span><span style="font-family: Consolas; font-size: 9.5pt;">] = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityReference</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"systemuser"</span><span style="font-family: Consolas; font-size: 9.5pt;">, userId);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
toPartyCollection.Entities.Add(toParty);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">if</span><span style="font-family: Consolas; font-size: 9.5pt;"> (toPartyCollection.Entities.Count > 0)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityReference</span><span style="font-family: Consolas; font-size: 9.5pt;"> caseref = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityReference</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"incident"</span><span style="font-family: Consolas; font-size: 9.5pt;">, targetentity.Id);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> <b>
</b></span><span style="color: green; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;"><b>//Please change GUID for
SystemUserID to send an email</b></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityReference</span><span style="font-family: Consolas; font-size: 9.5pt;"> from = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityReference</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"systemuser"</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> Guid(</span><span style="background-color: #fcff01; color: #a31515; font-family: Consolas; font-size: 9.5pt;">"319c52a2-fc46-ec11-8c60-000d3af29037"</span><span style="font-family: Consolas; font-size: 9.5pt;">));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;"> fromParty = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> Entity(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"activityparty"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
fromParty.Attributes.Add(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"partyid"</span><span style="font-family: Consolas; font-size: 9.5pt;">, from);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;"> fromPartyCollection = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;">();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
fromPartyCollection.EntityName = </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"systemuser"</span><span style="font-family: Consolas; font-size: 9.5pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
fromPartyCollection.Entities.Add(fromParty);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;"> email = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Entity</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"email"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
email.Attributes.Add(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"regardingobjectid"</span><span style="font-family: Consolas; font-size: 9.5pt;">, caseref);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
email.Attributes.Add(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"subject"</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"Case Origin is being Updated"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> email.Attributes.Add(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">"description"</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">"your detail description about case updated goes here"</span><span style="font-family: Consolas; font-size: 9.5pt;">);</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
email.Attributes.Add(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"from"</span><span style="font-family: Consolas; font-size: 9.5pt;">, fromPartyCollection);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
email.Attributes.Add(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"to"</span><span style="font-family: Consolas; font-size: 9.5pt;">, toPartyCollection);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Guid</span><span style="font-family: Consolas; font-size: 9.5pt;"> emailID = service.Create(email);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">SendEmailRequest</span><span style="font-family: Consolas; font-size: 9.5pt;"> reqSendEmail = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">SendEmailRequest</span><span style="font-family: Consolas; font-size: 9.5pt;">();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
reqSendEmail.EmailId = emailID;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
reqSendEmail.TrackingToken = </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">""</span><span style="font-family: Consolas; font-size: 9.5pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
reqSendEmail.IssueSend = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">true</span><span style="font-family: Consolas; font-size: 9.5pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">SendEmailResponse</span><span style="font-family: Consolas; font-size: 9.5pt;"> res = (</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">SendEmailResponse</span><span style="font-family: Consolas; font-size: 9.5pt;">)service.Execute(reqSendEmail);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">public</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;"> GetUsersWhoFollowCase(</span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">IOrganizationService</span><span style="font-family: Consolas; font-size: 9.5pt;"> orgService, </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">Guid</span><span style="font-family: Consolas; font-size: 9.5pt;"> caseId)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;"> userEntityCollection = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">EntityCollection</span><span style="font-family: Consolas; font-size: 9.5pt;">();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">QueryExpression</span><span style="font-family: Consolas; font-size: 9.5pt;"> caseQuery = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">QueryExpression</span><span style="font-family: Consolas; font-size: 9.5pt;">(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"postfollow"</span><span style="font-family: Consolas; font-size: 9.5pt;">)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
NoLock = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">true</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
ColumnSet = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> ColumnSet(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"regardingobjectid"</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"ownerid"</span><span style="font-family: Consolas; font-size: 9.5pt;">)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
};<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
caseQuery.Criteria.AddCondition(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">"regardingobjectid"</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">ConditionOperator</span><span style="font-family: Consolas; font-size: 9.5pt;">.Equal, caseId);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
userEntityCollection = orgService.RetrieveMultiple(caseQuery);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US; mso-bidi-font-family: Consolas;">return</span><span style="font-family: Consolas; font-size: 9.5pt;"> userEntityCollection;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">}</span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"><br /></span></b></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="background-color: transparent; font-size: 12pt;">Register the Plugin on </span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"></p><ul style="text-align: left;"><li><span face=""Segoe UI", sans-serif" style="background-color: transparent; font-size: 12pt;"><b>Update </b>of <b>Case </b>Entity </span></li><li><span face=""Segoe UI", sans-serif" style="background-color: transparent; font-size: 12pt;">with Filtering Attributes <b>caseorigincode</b>.</span><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"> <o:p></o:p></span></b></li></ul><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"></span></b></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq2N9rTHBn1iXMwXbP0ALvX3yEmpqFnLK23E5DSnkYaC0L5F48c1jvtbTiOW7_zm8WGlyuaUGdgUBZ-727TsgxbbKbD0xa1HmOf9yXDCS8Q84qr-iVIvUzOOcIRFMqf_Yvet4EzBBgbNM/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="558" data-original-width="519" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq2N9rTHBn1iXMwXbP0ALvX3yEmpqFnLK23E5DSnkYaC0L5F48c1jvtbTiOW7_zm8WGlyuaUGdgUBZ-727TsgxbbKbD0xa1HmOf9yXDCS8Q84qr-iVIvUzOOcIRFMqf_Yvet4EzBBgbNM/s16000/image.png" /></a></div></div><b><br /><br /></b></div><p></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">You can Check the Timeline for the email
received by the user whenever the records are updated. <o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"></div><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"></span></b></p><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ76hjDx8e7VIiETZaKWdIj1LCf_wjkfhzBiLinxPcLY184l0CqWMB1vlveO05TnRF2BqhXIKfDqedVo45iMB90ZoPhiBxjzqFsHxdfm-lgS6UmGTg_cXP10z39apumkJRyZBEl-_r2LE/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="467" data-original-width="940" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ76hjDx8e7VIiETZaKWdIj1LCf_wjkfhzBiLinxPcLY184l0CqWMB1vlveO05TnRF2BqhXIKfDqedVo45iMB90ZoPhiBxjzqFsHxdfm-lgS6UmGTg_cXP10z39apumkJRyZBEl-_r2LE/w640-h318/image.png" width="640" /></a></b></div><b><br /><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><div class="separator" style="clear: both; text-align: center;"><b><br /></b></div><b><br /><br /></b><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-10948353797007914272022-01-11T15:39:00.001+05:302022-01-11T16:53:45.860+05:30Follow Functionality in Dynamics 365 CRM<p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">In
this blog, we will learn about the <b>"Follow"</b> functionality in Dynamics CRM.</span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">The
Follow functionality helps to track various activities performed for a record
or multiple records. </span></li><li><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">We
can follow records for out-of-box entities like leads, accounts, and contacts
and get to see views like </span><i><span face="Arial, sans-serif" style="font-size: 12pt; line-height: 107%;">“</span></i><i><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">Leads I follow</span></i><i><span face="Arial, sans-serif" style="font-size: 12pt; line-height: 107%;">”</span></i><i><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">, </span></i><i><span face="Arial, sans-serif" style="font-size: 12pt; line-height: 107%;">“</span></i><i><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">Accounts I follow</span></i><i><span face="Arial, sans-serif" style="font-size: 12pt; line-height: 107%;">”</span></i><i><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;"> or </span></i><i><span face="Arial, sans-serif" style="font-size: 12pt; line-height: 107%;">“</span></i><i><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">Contacts I follow</span></i><i><span face="Arial, sans-serif" style="font-size: 12pt; line-height: 107%;">”</span></i></li><li><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">For
custom entities, we need to manually activate (configure) Follow functionality.</span></li></ul><div><br /></div><div><h3 style="background: white; margin-top: 9.0pt;"><span lang="EN-IN" style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 14.0pt; line-height: 107%;"><a href="https://vjcity.blogspot.com/2022/01/how-to-send-email-to-all-users-who-are.html" target="_blank">Click here to know - How to send emails to all users who are following a case.</a><o:p></o:p></span></h3></div><div><span lang="EN-IN" style="color: #222222; font-family: "Calibri",sans-serif; font-size: 25.5pt; line-height: 107%;"><br /></span></div><div></div><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Let’s
begin. We have a custom entity named “Student”<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Navigate
to Advance settings > Security > Activity Feeds Configuration.<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVumzUaz7Lgb7Kd-VQ9RiWAB_6_3OSg1MgwMMkGxTk-VIGVWYCsQJ26F6Xr2-yYQlXreo3DEBMQPzAgQ9rVD7mZvLkLV1klM4OLKGG2vT8FuIyn4pheD8b0LaqkkGLtcb-Bgq8qKk3ZAM/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="407" data-original-width="940" height="278" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVumzUaz7Lgb7Kd-VQ9RiWAB_6_3OSg1MgwMMkGxTk-VIGVWYCsQJ26F6Xr2-yYQlXreo3DEBMQPzAgQ9rVD7mZvLkLV1klM4OLKGG2vT8FuIyn4pheD8b0LaqkkGLtcb-Bgq8qKk3ZAM/w640-h278/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Search
the custom entity from the <b>Post Configuration</b> view. The status for the
custom entity must be <b><span style="color: red;">Inactive</span></b>, you need to <b><span style="color: #38761d;">activate </span></b>it.<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ6nKeS5lx4i8Bt2-4tsrdGELKSEWuMM3FUK7qLqTZiAhUFM3-uJfPkQusaZ2Rt-dJVrYoQ18i1shrcI7pR4zRNbpG8rqE0HpeoQ1W2fWRS0tiQgetKfczwUjg2_ysux8oEmWxacgPxXU/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="497" data-original-width="774" height="411" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ6nKeS5lx4i8Bt2-4tsrdGELKSEWuMM3FUK7qLqTZiAhUFM3-uJfPkQusaZ2Rt-dJVrYoQ18i1shrcI7pR4zRNbpG8rqE0HpeoQ1W2fWRS0tiQgetKfczwUjg2_ysux8oEmWxacgPxXU/w640-h411/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">To
Activate the entity for Follow functionality, select the entity. Click on
Activate Button as shown in the below screenshot.<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeSzwIskIbh0N84Oi4YmwZ7YQfEisYVv2ChpivyUW0ublZkf6r6d6RsmihOryZZea55jKQdvJmzlA2vF2jBcF3re28JAMkvM7bnOSKJBvdGqonvXrpn9TklXewaJfRhPxHtNl8MckYduM/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="457" data-original-width="940" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeSzwIskIbh0N84Oi4YmwZ7YQfEisYVv2ChpivyUW0ublZkf6r6d6RsmihOryZZea55jKQdvJmzlA2vF2jBcF3re28JAMkvM7bnOSKJBvdGqonvXrpn9TklXewaJfRhPxHtNl8MckYduM/w640-h312/image.png" width="640" /></a></div><br /><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;">You will get a confirmation
box for activation. Click on Activate.</span><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic6RYYtYgDtPMj2ciZeTSV7c1gtv4ZUsREc18TjnwZ-I_c_eSDvFjvAI58IO1Mqrg0UE7s4Cvv5_8CMN1kPSRh6cPoKMm0YKqnobQsiEviy9y_45ucWILKY9dX_U1rzm35KN4tJ2s51Jo/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="431" data-original-width="940" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic6RYYtYgDtPMj2ciZeTSV7c1gtv4ZUsREc18TjnwZ-I_c_eSDvFjvAI58IO1Mqrg0UE7s4Cvv5_8CMN1kPSRh6cPoKMm0YKqnobQsiEviy9y_45ucWILKY9dX_U1rzm35KN4tJ2s51Jo/w640-h294/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">In order to replicate the same in the form, we need to
Publish the Customization.</span><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-no-proof: yes;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgew38RpZZVFyMLo4NcKq5q5tj9GJE1SXEp6d2CTxIuKrZtnE_u7E9-LtOu1b25ia9yiv6uGcEoN25pxVE51_mu0Wjcb8Xt41O1LM5iw8mRHql1BRaYh0HbaEoaoh2qsvNPZ6j_yOgnykg/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="418" data-original-width="940" height="284" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgew38RpZZVFyMLo4NcKq5q5tj9GJE1SXEp6d2CTxIuKrZtnE_u7E9-LtOu1b25ia9yiv6uGcEoN25pxVE51_mu0Wjcb8Xt41O1LM5iw8mRHql1BRaYh0HbaEoaoh2qsvNPZ6j_yOgnykg/w640-h284/image.png" width="640" /></a></div><br /><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Now navigate to the custom entity (Student in my scenario)
and notice two new views added</span><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-no-proof: yes;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0C7eW6OAHfBM6ND7F7AV3T_NyY6a22ia06FtokGZvURfEtuSUcTxVf9JesvZeznITbwlhh-xYiL73lblpRiEU9BxN4DicvGz48lv3SIpdpth5z60IOF2CTeowTh9fmic2pRRflBY07-o/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="491" data-original-width="812" height="386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0C7eW6OAHfBM6ND7F7AV3T_NyY6a22ia06FtokGZvURfEtuSUcTxVf9JesvZeznITbwlhh-xYiL73lblpRiEU9BxN4DicvGz48lv3SIpdpth5z60IOF2CTeowTh9fmic2pRRflBY07-o/w640-h386/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Open any existing record. Click on 3 dots you will find a <b>follow</b>
option now. </span><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-no-proof: yes;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE3j9zbJjSMu4XlOgsNpz-X3l-Wq0Af7Yc35r2xz6O6JEZcEO1PtJC8dKROaV2k_gdNABwfZxeRePPo7wFsexMdztNMlsV6cIxKb1_f67TqpV0BCed6oNGISpdF2eImW_KAtN6bVI1Dc4/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="372" data-original-width="940" height="254" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE3j9zbJjSMu4XlOgsNpz-X3l-Wq0Af7Yc35r2xz6O6JEZcEO1PtJC8dKROaV2k_gdNABwfZxeRePPo7wFsexMdztNMlsV6cIxKb1_f67TqpV0BCed6oNGISpdF2eImW_KAtN6bVI1Dc4/w640-h254/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">You can now check</span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"></p><ul style="text-align: left;"><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">list of Students you follow from view <b>Student I Follow</b></span></li><li><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">list of Students Followed by other
users as well, from the option </span><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;">Students being Followed</b><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">.</span></li></ul><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-no-proof: yes;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuV4RVZOeLG-z3FtRGYOPiUA2wcgdqTkTaCRGhU_qdKvak9Y-ZBJEHFksReYLFkSC65YN1JtuYLXAb6G1MWBByEhgBUdCW2FTWvP5jjTO1cwbel0AcdMFNrNN4Nz9_2ocb8BL-T3odOw4/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="638" data-original-width="940" height="434" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuV4RVZOeLG-z3FtRGYOPiUA2wcgdqTkTaCRGhU_qdKvak9Y-ZBJEHFksReYLFkSC65YN1JtuYLXAb6G1MWBByEhgBUdCW2FTWvP5jjTO1cwbel0AcdMFNrNN4Nz9_2ocb8BL-T3odOw4/w640-h434/image.png" width="640" /></a></div><br /><br /><p></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-outline-level: 1; vertical-align: baseline;"><b><span face=""Segoe UI", sans-serif" style="font-size: 16pt;">Troubleshooting the ‘I
Follow’ functionality<o:p></o:p></span></b></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">If you do not get the Follow option try the following:</span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"></p><ul style="text-align: left;"><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Make sure you publish the entity customization</span></li><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Make
sure that the user has sufficient privilege under his security role.</span></li></ul><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaBcrFku4C3UecNqjcmHYgBvKJTHteufRphVBgMZSlkziEfGqG556DvRlC4BfJRg9HxtU3kQ-rd00ivoapkUR1V4MWzzq-eOoTaKfxevYxPs6dIT8LxWW3ZBEo_9RkWLxe_Qd0iIQ7LAs/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="491" data-original-width="770" height="408" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaBcrFku4C3UecNqjcmHYgBvKJTHteufRphVBgMZSlkziEfGqG556DvRlC4BfJRg9HxtU3kQ-rd00ivoapkUR1V4MWzzq-eOoTaKfxevYxPs6dIT8LxWW3ZBEo_9RkWLxe_Qd0iIQ7LAs/w640-h408/image.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXXyQJPMvZE2QRPaLdC76-XIpas9d88_F-t57oF5YORZCH3HOKDltnZIFG8ZDLHA_4yzB8KkVddJLW-bwS3syeXp1397lX3XpugH_wCvD2weL7E9J6fYTs8JOztou6fAQ6ybDAyfQLpM/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="562" data-original-width="940" height="382" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXXyQJPMvZE2QRPaLdC76-XIpas9d88_F-t57oF5YORZCH3HOKDltnZIFG8ZDLHA_4yzB8KkVddJLW-bwS3syeXp1397lX3XpugH_wCvD2weL7E9J6fYTs8JOztou6fAQ6ybDAyfQLpM/w640-h382/image.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbNZRHd9vbxQ76TVdrD1A8ad9EiIv-pZ4iJknQm5Id_-h3mStM2CTT_L7ndXml6SxKYwZxZljDlzNTlieGbpjy80SjCpPslU-TiIBKFr226SaA3j1uQ7xboKnXikG4C7WSsSe_VW0hTU4/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="555" data-original-width="940" height="378" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbNZRHd9vbxQ76TVdrD1A8ad9EiIv-pZ4iJknQm5Id_-h3mStM2CTT_L7ndXml6SxKYwZxZljDlzNTlieGbpjy80SjCpPslU-TiIBKFr226SaA3j1uQ7xboKnXikG4C7WSsSe_VW0hTU4/w640-h378/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Hope this will resolve your issue.</span></p>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-29278433206338503092021-12-27T13:07:00.007+05:302022-01-16T11:34:05.221+05:30Plugin in Dynamic 365 CRM<p class="MsoNormal"><strong><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; font-weight: normal; line-height: 107%;"><br /></span></strong></p><p class="MsoNormal"><strong><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; font-weight: normal; line-height: 107%;">In this blog, we will get an overview of a plugin with a detailed step-by-step creation of a plugin with an example. </span></strong></p><p class="MsoNormal"><strong><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; font-weight: normal; line-height: 107%;">Here, we will create
a plugin that will trigger when the Lead is created and will create a
follow-up task.</span></strong></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: medium; line-height: 107%;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html" target="_blank"><b>Connect to Dynamic 365 CRM from Console App using Azure Authentication</b></a></span></p><p class="MsoNormal"><strong><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; line-height: 107%;">Why
Plugin?<o:p></o:p></span></strong></p><p class="MsoNormal">
</p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; line-height: 107%;">Plugins
are custom code that attaches to CRM’s built-in event pipeline. This allows
developers to extend the default </span><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; line-height: 107%;">behavior</span><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; line-height: 107%;"> of CRM so we could design/develop it exactly
as per the organizational needs.</span><strong><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; font-weight: normal; line-height: 107%;"><o:p></o:p></span></strong></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Create a .NET project:<o:p></o:p></span></b></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; line-height: 107%;">
</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">From Visual Studio, create a new
Project. Add Class Library (.net Framework). Click on Next.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYJWZo8Z2qpa8EWTTPLwPYwTLMy0Ajh411iQNt36CDk_skCV1dq-IzAv5vnOF8ZoNAbU8CfEMi5mpEMAplQDWTaNCzypxNgUbVWQI2IJ1vmSHS1OPorh1HJFjylf7uFwvxHMqkJVIe1v0/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="424" data-original-width="899" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYJWZo8Z2qpa8EWTTPLwPYwTLMy0Ajh411iQNt36CDk_skCV1dq-IzAv5vnOF8ZoNAbU8CfEMi5mpEMAplQDWTaNCzypxNgUbVWQI2IJ1vmSHS1OPorh1HJFjylf7uFwvxHMqkJVIe1v0/w640-h302/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Now, give a relevant name for
the project. Click on Create. This will create a new project with a class.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_eusRJn8L8iwO1rZsvpBCaUzdUfNpaGXGkQBbT4WwRRw7JEW_kiDIWhKyFd0Z25mnept7nQK8nwJ6nUNo58buVRf7Sg5DNAbVW-UlcluOluNgCA2ZQ0RgFfK21-vGgIEFqPqRdajBxPI/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="546" data-original-width="940" height="372" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_eusRJn8L8iwO1rZsvpBCaUzdUfNpaGXGkQBbT4WwRRw7JEW_kiDIWhKyFd0Z25mnept7nQK8nwJ6nUNo58buVRf7Sg5DNAbVW-UlcluOluNgCA2ZQ0RgFfK21-vGgIEFqPqRdajBxPI/w640-h372/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Right-click on the Project. Then
click on Manage NuGet Package. Add the Microsoft.CrmSdk package. Click on
Install.<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg56FrX2Yh9nsUbYsnfzWbgYXlKBr5l8avo25wpfR8UYrJZ_SdtVqqbEu079NxLvPexsggHxC4ktI3QKe9_KwzWo3PHymW6yKcWQGG0JuZLCtKc_lkXXlS79NBayHGiHn6r_PUI8tQ75DQ/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="216" data-original-width="940" height="147" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg56FrX2Yh9nsUbYsnfzWbgYXlKBr5l8avo25wpfR8UYrJZ_SdtVqqbEu079NxLvPexsggHxC4ktI3QKe9_KwzWo3PHymW6yKcWQGG0JuZLCtKc_lkXXlS79NBayHGiHn6r_PUI8tQ75DQ/w640-h147/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Add the below <b>Plugin Code:</b><o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">using</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> System;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">using</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
Microsoft.Xrm.Sdk;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">namespace</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
FollowupTaskPlugin<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">public</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">class</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">Class1</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> : IPlugin<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">public</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">void</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
Execute(IServiceProvider serviceProvider)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: green; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">// Obtain the execution context from the service provider.</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
IPluginExecutionContext context = (IPluginExecutionContext)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
serviceProvider.GetService(</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">typeof</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">(IPluginExecutionContext));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> <o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">if</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
(context.InputParameters.Contains(</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"Target"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">) && context.InputParameters[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"Target"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">]</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">is</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> Entity) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
</span><span lang="EN-IN" style="color: green; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">// Obtain the target entity from the
input parameters.</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
Entity entity = (Entity)context.InputParameters[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"Target"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">try</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: green; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">// Create a task activity to follow up with the account customer
in 7 days</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
Entity followup = </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">new</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> Entity(</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"task"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
followup[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"subject"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">] = </span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"Send
e-mail to the new User"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
followup[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"description"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">] =</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"Follow
up with the User"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
followup[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"scheduledstart"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">] = DateTime.Now;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
followup[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"scheduledend"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">] = DateTime.Now.AddDays(2);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
followup[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"category"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">] = context.PrimaryEntityName;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">if</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> (context.OutputParameters.Contains(</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"id"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">))<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> Guid
regardingobjectid = </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">new</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> Guid(context.OutputParameters[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"id"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">].ToString());<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">string</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> regardingobjectidType
= </span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"lead"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> followup[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"regardingobjectid"</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">] =<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">new</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
EntityReference(regardingobjectidType, regardingobjectid);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
IOrganizationServiceFactory serviceFactory =<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
(IOrganizationServiceFactory)serviceProvider.GetService<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
(</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">typeof</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">(IOrganizationServiceFactory));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
IOrganizationService service =<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
serviceFactory.CreateOrganizationService(context.UserId);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
service.Create(followup);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">catch</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> (Exception ex)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">throw</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">new</span><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> InvalidPluginExecutionException(ex.Message);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;">
}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="font-family: Consolas; font-size: 10pt; line-height: 107%;">
}</span><span style="font-family: Consolas; font-size: 10pt; line-height: 107%; mso-ansi-language: EN-US; mso-bidi-font-family: "Segoe UI";"><o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">
<br /></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Step 2: Signing the
assembly:<o:p></o:p></span></b></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Before Registering for the
assembly, we need to sign in.<o:p></o:p></span></p><p class="trt0xe" style="background: white; margin-bottom: 3.0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin: 0in 0in 3pt;"></p><ul style="text-align: left;"><li><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124;">Right-click on the project, choose Properties.</span></li><li><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124;">Choose the Signing option.</span></li><li><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124;">Select the Sign the assembly box.</span></li><li><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124;">In the Choose a strong name key file box, choose Browse/new, and
then navigate to the key file.</span></li><li><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124;">You may uncheck the Key to avoid password Authentication.</span></li></ul><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">
</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkBLGkQnUK9z5PDGj49_vhPf1ySPF9rykwbIV8u_HkcGvAMtPN1Y2YUKAbEb2rOGTdsA7BAUx5pnXbt3-TbMRBMJmLGigPARKlNZXUeMyG4eNT3IyBFXCOAfe_cjQHvbdxCBNa4nY6DlA/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="453" data-original-width="940" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkBLGkQnUK9z5PDGj49_vhPf1ySPF9rykwbIV8u_HkcGvAMtPN1Y2YUKAbEb2rOGTdsA7BAUx5pnXbt3-TbMRBMJmLGigPARKlNZXUeMyG4eNT3IyBFXCOAfe_cjQHvbdxCBNa4nY6DlA/w640-h308/image.png" width="640" /></a></div><br /><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Signing an assembly ensures that the consumer knows its origin and
uniquely identifies the component. It makes the physical DLL file tamper-proof.<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A very important reason to sign an
assembly is so you can be sure it is your assembly. <o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #202124; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">If we put the private key, others cannot
sign an assembly with that same key. <o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
</p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #202124; font-size: 12pt; line-height: 107%;">Signing your dll makes the most sense
when you verify those signatures<b> </b>before loading them. This ensures
the integrity of all dll at runtime. It is a recommended security practice to
sign all binaries that you ship and validate their signatures at runtime.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #202124; font-size: 12pt; line-height: 107%;">If we do not sign
in to the assembly, we will get the below error:<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #202124; font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFwrtyZL-iiPQNqB2JeriakoEGaF1hy0DTxFnVUNeLKS7zSyq_nWJbT0JeWZdsfW5QLNvWG7G9BTAPfB_GwggSDUgGy6WHusDDXOJNrswNEgCT-p4z5GMfG2aD-3PFsQ63PThmI_rB_ig/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="269" data-original-width="669" height="161" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFwrtyZL-iiPQNqB2JeriakoEGaF1hy0DTxFnVUNeLKS7zSyq_nWJbT0JeWZdsfW5QLNvWG7G9BTAPfB_GwggSDUgGy6WHusDDXOJNrswNEgCT-p4z5GMfG2aD-3PFsQ63PThmI_rB_ig/w400-h161/image.png" width="400" /></a></div><br /><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Right Click on the Solution and
build the Solution.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><b>Step 3: Register the Plugin.</b> Go
to the Plugin registration tool.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">
</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Click on Create connection and
then check the Display list of available Organizations. Click on login.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6PtdJhFUOHpMb9_MObzVvavspwQaxD7SHIU0mebjWiC7BoH5NVDEHXbP7cBB2qbZDrffL_wxlU4_gP6YFekh8O-kiy-yZkVlGCjuFA8TQzaNVDp3rFfI5sDtCL7oBBRAPM2RSDRc7IPw/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="676" data-original-width="940" height="460" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6PtdJhFUOHpMb9_MObzVvavspwQaxD7SHIU0mebjWiC7BoH5NVDEHXbP7cBB2qbZDrffL_wxlU4_gP6YFekh8O-kiy-yZkVlGCjuFA8TQzaNVDp3rFfI5sDtCL7oBBRAPM2RSDRc7IPw/w640-h460/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">It will now retrieve the Organization
you have logged in to. Enter the Organization credentials.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAVskyxdvetqt3TI26GRiOghz1Wt9Pm7xij6Oa_Qk1GTN75A15qaOtPpDJh6JvgKbNIhEdP3S8UA9gj6wJmPt0zSi2neBjQ2t2tsKilPOSbMP8FUJpHbyth-0beonoibgcvtJnqOjN1qQ/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="522" data-original-width="735" height="454" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAVskyxdvetqt3TI26GRiOghz1Wt9Pm7xij6Oa_Qk1GTN75A15qaOtPpDJh6JvgKbNIhEdP3S8UA9gj6wJmPt0zSi2neBjQ2t2tsKilPOSbMP8FUJpHbyth-0beonoibgcvtJnqOjN1qQ/w640-h454/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Click on Register >Register
New Assembly.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSvh3CtlCTkJ6vtWzLVWXe6lQm1C9vGqW9lgcpX9fjU66ha3tUg6UfF31ZYElr05OXk9z077fOBbX5SAG_2EVzKgLqtcECUCNK74mIy_SQMQSqUyPmUp9VGCrNH5nBNKssa7N905Cz_Zo/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="617" data-original-width="954" height="414" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSvh3CtlCTkJ6vtWzLVWXe6lQm1C9vGqW9lgcpX9fjU66ha3tUg6UfF31ZYElr05OXk9z077fOBbX5SAG_2EVzKgLqtcECUCNK74mIy_SQMQSqUyPmUp9VGCrNH5nBNKssa7N905Cz_Zo/w640-h414/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Select the DLL file from the
folder and add the register.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWhS3jVjOeP46R_HP3sqDpfMb3iak8XA1nBvPDknmYDfvmwGbYPGRIqG9hoBRInpMpU5tkEmsDOal8feIhBCTxN5HEdaSOLKXV04zxo_iTHf4EveWvdJXFwpoGEKF53ATbaYTx5Wzyi7Q/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="445" data-original-width="830" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWhS3jVjOeP46R_HP3sqDpfMb3iak8XA1nBvPDknmYDfvmwGbYPGRIqG9hoBRInpMpU5tkEmsDOal8feIhBCTxN5HEdaSOLKXV04zxo_iTHf4EveWvdJXFwpoGEKF53ATbaYTx5Wzyi7Q/w640-h344/image.png" width="640" /></a></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Load the assembly and now, click
on Register and then Select Register new Step.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPL-Ga_cLc3dq56geDTgGCater9zr5jkpXJ1oHAU37f1y6wC0bzb7LaQkjxqhoT6aUDmjiLrujJnxS4y66TZoGJp_FWiy-YnQ1AHLnA-JQdc3q7ROAcDUcBon-8TIyffsYNd0exqKGGSc/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="483" data-original-width="929" height="332" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPL-Ga_cLc3dq56geDTgGCater9zr5jkpXJ1oHAU37f1y6wC0bzb7LaQkjxqhoT6aUDmjiLrujJnxS4y66TZoGJp_FWiy-YnQ1AHLnA-JQdc3q7ROAcDUcBon-8TIyffsYNd0exqKGGSc/w640-h332/image.png" width="640" /></a></div><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Since we are creating a follow-up
task on the creation of lead, hence we will select the following: <o:p></o:p></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Message</span></b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">: Create<o:p></o:p></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Primary Entity</span></b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">: Lead<o:p></o:p></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Event Pipeline</span></b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">: Post Operation <o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">
</span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Execution Mode</span></b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">: Synchronous.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZuTvwK9xBtOEwiGw5iM5JNLy79oK-w6uFBOcPibp-tqSNrr_3pMjj8TU69axsIgEybvXcOoEJWGrGi2BYOdQsCX4ZpU4b92NodBbsPQHsC380SLANKV04HAavdtBOzxSpK0MW4yTGe9Y/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="555" data-original-width="940" height="378" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZuTvwK9xBtOEwiGw5iM5JNLy79oK-w6uFBOcPibp-tqSNrr_3pMjj8TU69axsIgEybvXcOoEJWGrGi2BYOdQsCX4ZpU4b92NodBbsPQHsC380SLANKV04HAavdtBOzxSpK0MW4yTGe9Y/w640-h378/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Click on Register new Step.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Now, check the operation from
Dynamics CRM. A follow-up task should be created on the creation of a lead
record.<o:p></o:p></span></p></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjAtEuXpD5xWS0YwaPk5l0KLjLx0sgogTYkjXxjTnGXOCbWDjoJEO38gYjnvWC4qPBz0qHhjMIP9kn58MdUSu167mVgOwUfEkYWxSq0JTmNgwn51IfVdYPDjs9PwIHZbO2fd5_-gwV3U/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="328" data-original-width="940" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrjAtEuXpD5xWS0YwaPk5l0KLjLx0sgogTYkjXxjTnGXOCbWDjoJEO38gYjnvWC4qPBz0qHhjMIP9kn58MdUSu167mVgOwUfEkYWxSq0JTmNgwn51IfVdYPDjs9PwIHZbO2fd5_-gwV3U/w640-h224/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Synchronous and
Asynchronous:<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Synchronous plugins are
triggered straight away. So, if your plugin is triggered on the Create
message, it will run directly either on post-operation or pre-operation. The
CRM form will wait until the Synchronous plugin has finished processing before
the form reloads. Can run on both post-operation and pre-operation. This will
run only for 2 minutes and blocks users until completed.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #333a42; font-size: 12pt; line-height: 107%;">Asynchronous plugins will be triggered sometime
later when the CRM service has enough resources. We cannot assume when this
will be triggered. Async plugins do not slow the form reloading because
it doesn’t have to wait.</span><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"> This will run only for 2 minutes and does not block
users from seeing the operation result. Modifications happen after operations,
so an update call is required.<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Event Pipeline in Plugin:<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">When we run our Plugin, it
is executed based on the Even pipeline : <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom: 8pt; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><!--[if !supportLists]--><span lang="EN-IN" style="font-family: Symbol; font-size: 12pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">Pre-Validation:- </span></b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">Security checks being performed to verify the
calling or logged-on user has the correct permissions to perform the intended operation.<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">The Stage Value is 10.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="background: white; line-height: normal; margin-bottom: 0in; mso-add-space: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">For Example – In
the “delete” plugin. If you need any information about the child records, the
deleted plugin must be pre-validation.</span><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #2b2b2b; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><!--[if !supportLists]--><span lang="EN-IN" style="font-family: Symbol; font-size: 12pt;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">Pre-Operation:- </span></b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">Execute before the main system operation. Plug-ins
registered in this stage are
executed within the database transaction.<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">The Stage Value is
20.<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">For Create message,
this operation does not allow you access to the GUID generated after the
creation of the record.<o:p></o:p></span></p>
<p class="MsoNoSpacing"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"> </span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><!--[if !supportLists]--><span lang="EN-IN" style="font-family: Symbol; font-size: 12pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">Core
Operation:- </span></b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">The main
operation of the system, such as create, update, delete, and so on. No custom
plug-ins can be registered at this stage.<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;">The Stage Value is 30.<o:p></o:p></span></p>
<p class="MsoNoSpacing"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="font-size: 12pt; mso-fareast-language: EN-IN;"> </span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><!--[if !supportLists]--><span lang="EN-IN" style="color: #2b2b2b; font-family: Symbol; font-size: 12pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol; mso-fareast-language: EN-IN;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #2b2b2b; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Post-Operation:- </span></b><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #2b2b2b; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Plug-ins that are to execute after the main operation. Plug-ins
registered in this stage are executed within the database transaction.<o:p></o:p></span></p>
<p class="MsoNoSpacing" style="margin-left: 0.5in; mso-add-space: auto;"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #2b2b2b; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">The Stage Value is 40.</span><span face=""Segoe UI", sans-serif" style="color: #2b2b2b; font-size: 12pt;"> </span></p>
<p class="MsoNoSpacing"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="color: #2b2b2b; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> </span></p>
<p class="MsoNoSpacing"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Run in User’s Context:</span></b><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"> </span></b></p>
<p class="MsoNoSpacing"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">As we are creating a follow-up
task on the creation of the account entity, we need to select the Run in User’s
Context as a Calling user.<o:p></o:p></span></p>
<p class="MsoNoSpacing"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Suppose we select a user who
does not have the privilege to create an activity task, then the plugin will
not run-on execution.<o:p></o:p></span></p>
<p class="MsoNoSpacing"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #333333; font-size: 12pt;">Now, if we check the
System, Jobs. You will see the plugin failed to execute.</span><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"><o:p></o:p></span></p><p class="MsoNoSpacing"><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #333333; font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNIAsuBHXoayxLK1qnJAkSPBHLnU8YdtY3kGwAPWsDIqpuev4YruIN3v7huxoyFQZOwBDvFw0G0BI3WhJdA9UW0jBQhd2bRg88Tpv41UL3_qjqGGWhTlycrTYHBRngLIgQB6X4KMHzWzE/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="747" data-original-width="940" height="509" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNIAsuBHXoayxLK1qnJAkSPBHLnU8YdtY3kGwAPWsDIqpuev4YruIN3v7huxoyFQZOwBDvFw0G0BI3WhJdA9UW0jBQhd2bRg88Tpv41UL3_qjqGGWhTlycrTYHBRngLIgQB6X4KMHzWzE/w640-h509/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><br /><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 9.0pt; mso-outline-level: 3;"><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Here are some other links for Troubleshooting
and learning:<o:p></o:p></span></p><p class="MsoListParagraph" style="background: white; line-height: normal; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 9.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; mso-outline-level: 3; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #222222; font-family: Symbol; font-size: 12.0pt; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html">Plugin
in Dynamic 365 CRM</a><o:p></o:p></span></p><h3 style="background: white; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 9.0pt; mso-list: l0 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #222222; font-family: Symbol; font-size: 12.0pt; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html">Connect
to Dynamic 365 CRM from Console App using Azure Authentication</a><o:p></o:p></span></h3><h3 style="background: white; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 9.0pt; mso-list: l0 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #222222; font-family: Symbol; font-size: 12.0pt; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2022/01/could-not-load-file-or-assembly.html">Could
not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies</a><o:p></o:p></span></h3><h3 style="background: white; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 9.0pt; mso-list: l0 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #222222; font-family: Symbol; font-size: 12.0pt; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/10/unable-to-login-to-dynamics.html">Unable
to Login to Dynamics CRMOrganizationWebProxyClient is null</a><o:p></o:p></span></h3><h3 style="background: white; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 9.0pt; mso-list: l0 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #222222; font-family: Symbol; font-size: 12.0pt; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/assembly-microsoftcrmsdkproxy-with.html">Assembly
'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy,
Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses
'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced
assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35'</a><o:p></o:p></span></h3><h3 style="background: white; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 9.0pt; mso-list: l0 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #222222; font-family: Symbol; font-size: 12.0pt; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">Could
not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference.</a><o:p></o:p></span></h3><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 9.0pt; mso-outline-level: 3;">
</p><h3 style="background: white; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 9.0pt; mso-list: l0 level1 lfo1; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #222222; font-family: Symbol; font-size: 12.0pt; font-weight: normal; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2016/09/could-not-load-file-or-assembly.html">Could
not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies</a><o:p></o:p></span></h3><div><br /></div><div><br /></div><div><br /></div><div><br /></div><p></p></div><p class="MsoNormal"><strong><span face=""Segoe UI",sans-serif" lang="EN-IN" style="background: white; color: #363940; font-size: 12pt; font-weight: normal; line-height: 107%;"><o:p></o:p></span></strong></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-32798774993138818292021-12-22T21:42:00.008+05:302022-01-16T11:37:42.707+05:30Connect to Dynamic 365 CRM from Console App using Azure Authentication<p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">In this blog, I would try to demonstrate how
to connect to Dynamics 365 CRM from a console application using Azure
authentication. We will try to understand this in the following way:</span></p>
<p class="MsoHeader" style="margin-left: 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><!--[if !supportLists]--><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">1)<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Will start
with .NET Code and update it with the required information at the end.<o:p></o:p></span></p>
<p class="MsoHeader" style="margin-left: 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><!--[if !supportLists]--><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">2)<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Register an
application on Azure that will help us get connected to CRM.<o:p></o:p></span></p>
<p class="MsoHeader" style="margin-left: 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><!--[if !supportLists]--><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">3)<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;">
</span></span><!--[endif]--><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Create an Application
User in Dynamic CRM and assign a security role<o:p></o:p></span></p><p class="MsoHeader" style="margin-left: 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"><br /></span></p>
<p class="MsoHeader" style="text-align: center;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt;"><o:p><b><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html" target="_blank">Step by Step Plugin creation in Dynamic 365 CRM</a> </b></o:p></span></p><p class="MsoHeader"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt;"><o:p><b><br /></b></o:p></span></p>
<p class="MsoHeader"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 14pt;">Step 1) .NET Code</span></b><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 14pt;"> </span></b></p><p class="MsoHeader"><span style="background-color: white; font-size: 16px;"><b><span style="color: red;">Note:</span></b> Make sure your Target Framework is 4.6.2 or Above</span></p><p class="MsoHeader"><span style="background-color: white; font-size: 16px;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY2DD6KFK4m1MCbOfHXmw-VAoqHFPh4K4agWuN2iJu5XgcPf8ehVZX4etbbGj0B6VCi0OktKsQIJIZMortd4rnNeSrKAdqjXp5Dzf4h1ZlsMjBwaSdVsqlT1GH5Qqg71ftUIrKeoHrsMg/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="183" data-original-width="309" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY2DD6KFK4m1MCbOfHXmw-VAoqHFPh4K4agWuN2iJu5XgcPf8ehVZX4etbbGj0B6VCi0OktKsQIJIZMortd4rnNeSrKAdqjXp5Dzf4h1ZlsMjBwaSdVsqlT1GH5Qqg71ftUIrKeoHrsMg/s16000/image.png" /></a></div><br /><br /><p></p>
<p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Create a console application and add required Microsoft assemblies using
NuGet Package Manager.<o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJZy7zkYOPI-F76VD99ZrBTukjDcHcOuVGt60ZP12LZJaqjK8QBFUlxW8HheFj1PVS2SVfRdOdfr2vqPlHhfE55QHNL3tY407QL80TPo1i4PRlDatQqhgNqvelju9IG8KoaSvOTN5MVeY/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="478" data-original-width="605" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJZy7zkYOPI-F76VD99ZrBTukjDcHcOuVGt60ZP12LZJaqjK8QBFUlxW8HheFj1PVS2SVfRdOdfr2vqPlHhfE55QHNL3tY407QL80TPo1i4PRlDatQqhgNqvelju9IG8KoaSvOTN5MVeY/" width="304" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Add <b>Microsoft.CrmSdk.xrmTooling.CoreAssembly</b>. <o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;">
<p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTYSQ_dOrTyRCRcvqg6c5QRgvVDzKdZNQTT6k-jWrEVUhLcLTLDQIgagERVqU9_MT20I0jKzRoh7KID3DQM8X8s5HdFasKdN5B3I3VsVaAF4AgtKrRBNAcvlBMH0DACqVwJP5xCMyArmc/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="93" data-original-width="940" height="64" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTYSQ_dOrTyRCRcvqg6c5QRgvVDzKdZNQTT6k-jWrEVUhLcLTLDQIgagERVqU9_MT20I0jKzRoh7KID3DQM8X8s5HdFasKdN5B3I3VsVaAF4AgtKrRBNAcvlBMH0DACqVwJP5xCMyArmc/w640-h64/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><b><span style="color: red;">Note:</span></b> </span><span style="font-size: 16px;">Microsoft.CrmSdk.xrmTooling.CoreAssembly version should be 9.1.0.13 or higher in order to connect using ClientSceret</span></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXia9zPRKAYjV6rO60CciCOXLOitbOQtsQfXS6ezVEVqBaTb7TAZBK0I8nGUHHYTlQUzHAsgV9ecmnXzv_3pDO-ry9rLjb2SODKEgPpMU868_RcGYRG_FxNtUHi0NS20uIDXICSr8fWTI/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="679" data-original-width="1400" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXia9zPRKAYjV6rO60CciCOXLOitbOQtsQfXS6ezVEVqBaTb7TAZBK0I8nGUHHYTlQUzHAsgV9ecmnXzv_3pDO-ry9rLjb2SODKEgPpMU868_RcGYRG_FxNtUHi0NS20uIDXICSr8fWTI/w640-h310/image.png" width="640" /></a></div><br /><span style="background-color: white; font-size: 12pt;">Now, copy the below code and you need to replace highlighted values</span><p></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Org URL, </span></li><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Application Client ID</span></li><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Client Secret Value</span></li></ul><p></p>
</div></div><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">using</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> System;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">using</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> System.Collections.Generic;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">using</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> System.Text;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">using</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> Microsoft.Xrm.Sdk;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">using</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> Microsoft.Xrm.Tooling.Connector;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">namespace</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> ConsoleAzure</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">{</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">class</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">Program</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> {</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">static</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">void</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> Main(</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">string</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">[] args)</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> {</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">IOrganizationService</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> orgService;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> orgService
= </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">Connect</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">.GetOrganizationServiceClientSecret(</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="background: rgb(252, 255, 1); color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"3f9b1a74-f463-422d-a436-750a56ac169e"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">,// Application Client ID</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="background: rgb(252, 255, 1); color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"q7E7Q~RRJ1EEcYwDqX7Z9IP0h58ZoEhGk3lPt"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">,//Client Secret</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="background: rgb(252, 255, 1); color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"https://org1fe5ad12.crm8.dynamics.com/"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">);// Application URL</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> <span lang="EN-IN" style="color: #2b91af; font-size: 10pt; line-height: 107%;">Entity</span><span lang="EN-IN" style="font-size: 10pt; line-height: 107%;"> </span>acc = </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">new</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> Entity(</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"account"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">);</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> acc[</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"name"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">] = </span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"dddd"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">var</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> createacc = orgService.
Create(acc);</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> Console.WriteLine(</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"Account created!"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">);</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> }</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> }</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">class</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">Connect</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> {</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">public</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">static</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">IOrganizationService</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> GetOrganizationServiceClientSecret(</span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">string</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> clientId, </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">string</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> clientSecret, </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">string</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> organizationUri)</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> {</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">try</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> {<o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-indent: 0.5in;"><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">ServicePointManager</span><span style="font-family: Consolas; font-size: 9.5pt;">.SecurityProtocol = </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">SecurityProtocolType</span><span style="font-family: Consolas; font-size: 9.5pt;">.Tls12 | </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">SecurityProtocolType</span><span style="font-family: Consolas; font-size: 9.5pt;">.Tls11 | </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">SecurityProtocolType</span><span style="font-family: Consolas; font-size: 9.5pt;">.Tls;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">var</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> conn = </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">new</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">CrmServiceClient</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">(</span><span lang="EN-IN" style="color: maroon; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">$@"AuthType=ClientSecret;url=</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">{organizationUri}</span><span lang="EN-IN" style="color: maroon; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">;ClientId=</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">{clientId}</span><span lang="EN-IN" style="color: maroon; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">;ClientSecret=</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">{clientSecret}</span><span lang="EN-IN" style="color: maroon; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">);</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">return</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> conn.OrganizationWebProxyClient
!= </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">null</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> ?
conn.OrganizationWebProxyClient : (</span><span lang="EN-IN" style="color: #2b91af; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">IOrganizationService</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">)conn.OrganizationServiceProxy;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #222222; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">}</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">catch</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> (Exception ex)</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> {</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> Console.WriteLine(</span><span lang="EN-IN" style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">"Error while connecting to CRM "</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> +
ex.Message);</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> Console.ReadKey();</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">return</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> </span><span lang="EN-IN" style="color: blue; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">null</span><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">;</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> }</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> }</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span lang="EN-IN" style="color: #222222; font-family: Consolas; font-size: 10pt; mso-ansi-language: EN-IN; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";"> }</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;">
</p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span style="color: #222222; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman";">}</span><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;">
</p><p class="MsoHeader"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 14pt;">Step 2) Register an
application on Azure</span></b></p><p class="MsoHeader"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Visit <a href="https://portal.azure.com/#home">https://portal.azure.com/#home</a></span><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"> </span></p>
<p class="MsoHeader"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Search for App Registration</span></p><p class="MsoHeader"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZT2IRQuQ8rZIMwvdMy9LoegLlU0_EeU0OD4utI4IduOtrokIjO_sAllMwZuWNZ0VDDqZkQH7a5s5gCeGHigEquwI1-PfSEzAAkNzgq-Ew1wfTqmQhjEUEBh5yXMEJcWJGWWkpM1BUuR8/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="646" data-original-width="940" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZT2IRQuQ8rZIMwvdMy9LoegLlU0_EeU0OD4utI4IduOtrokIjO_sAllMwZuWNZ0VDDqZkQH7a5s5gCeGHigEquwI1-PfSEzAAkNzgq-Ew1wfTqmQhjEUEBh5yXMEJcWJGWWkpM1BUuR8/w400-h275/image.png" width="400" /></a></div><p></p><p class="MsoHeader"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;">Click on App Registration then click on New
registration.<o:p></o:p></span></p><p class="MsoHeader"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIfRHEGuUprpSqWdDZsAbu2pxqqu4Y1Vw9s-rG1pWGGuTj6ElXWZsHihLsEzpjx1o9Qi8HPE0Ttf0x4anJ6uHmbX1k2oc_6R2XfKcl_krEBVuttcKAPd2mqZnUSX5G8QHa6JJX63_F_aI/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="453" data-original-width="910" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIfRHEGuUprpSqWdDZsAbu2pxqqu4Y1Vw9s-rG1pWGGuTj6ElXWZsHihLsEzpjx1o9Qi8HPE0Ttf0x4anJ6uHmbX1k2oc_6R2XfKcl_krEBVuttcKAPd2mqZnUSX5G8QHa6JJX63_F_aI/w640-h318/image.png" width="640" /></a></div><br /><p></p><p style="background: white; margin: 0in; mso-add-space: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN">Click
on New Registration and provide the below values.<o:p></o:p></span></p><p style="background: white; margin: 0in; mso-add-space: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN"><br /></span></p><p style="background: white; margin: 0in; mso-add-space: auto;"><strong><span face=""Segoe UI", sans-serif" lang="EN-IN">Name:</span></strong><span face=""Segoe UI", sans-serif" lang="EN-IN"> Console App, <o:p></o:p></span></p><p style="background: white; margin: 0in; mso-add-space: auto;"><strong><span face=""Segoe UI", sans-serif" lang="EN-IN">Supported Account Type</span></strong><span face=""Segoe UI", sans-serif" lang="EN-IN"> as Single Tenant.</span></p><p style="background: white; margin: 0in; mso-add-space: auto;"><strong><span face=""Segoe UI", sans-serif" lang="EN-IN">Redirect URI </span></strong><span face=""Segoe UI", sans-serif" lang="EN-IN">as http://localhost</span></p><p style="background: white; margin: 0in; mso-add-space: auto;"><span face=""Segoe UI", sans-serif" lang="EN-IN"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Now click on Register.<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_sA18Ak5VSRkiBKxxk6VpsbfhedcH96lqmtMaQauu1cxWNPBRCfbB-ARgQcMk6QChwDOdYspd1Fcu2Pa6TB0pOCLgqvIqSFaA9lMUUFL7JkZNvX6mSkuEd1ZOM9X5EVJ4cZvHvzS4o9g/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="798" data-original-width="848" height="602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_sA18Ak5VSRkiBKxxk6VpsbfhedcH96lqmtMaQauu1cxWNPBRCfbB-ARgQcMk6QChwDOdYspd1Fcu2Pa6TB0pOCLgqvIqSFaA9lMUUFL7JkZNvX6mSkuEd1ZOM9X5EVJ4cZvHvzS4o9g/w640-h602/image.png" width="640" /></a></div><br /><span style="color: red; font-size: 12pt; text-align: center;"><br /></span><p></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><span style="color: red; font-size: 12pt; text-align: center;">After registration note application (client) ID things. We need to
update it in our code.</span></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><span style="color: red; font-size: 12pt; text-align: center;"><br /></span></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><span style="color: red; font-size: 12pt; text-align: center;"></span></span></p><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2TQsEK9Mx-iMul-YXPP660VdKKnGt6CyfZbmSzbW9VNZ0CgBy6_2n4-tPBABg8ApbxoCBb9m3Ml_zRZbpQF64L6z7v_6gs2r-aGzkez0oBmStO43h2m2h7QyIp6MNCQxyN-OkmQevBhA/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="504" data-original-width="975" height="331" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2TQsEK9Mx-iMul-YXPP660VdKKnGt6CyfZbmSzbW9VNZ0CgBy6_2n4-tPBABg8ApbxoCBb9m3Ml_zRZbpQF64L6z7v_6gs2r-aGzkez0oBmStO43h2m2h7QyIp6MNCQxyN-OkmQevBhA/w640-h331/image.png" width="640" /></a></div><br /><br /><br /><p></p></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Next, we must provide API permission to APP.</span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt; text-align: center;">Go to </span><strong style="font-family: "Segoe UI", sans-serif; font-size: 12pt; text-align: center;">API
Permissions </strong><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt; text-align: center;">option Click on</span><strong style="font-family: "Segoe UI", sans-serif; font-size: 12pt; text-align: center;"> Add Permission</strong><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt; text-align: center;"> and in the
list Select </span><strong style="font-family: "Segoe UI", sans-serif; font-size: 12pt; text-align: center;">Dynamics
CRM</strong><span face=""Segoe UI", sans-serif" style="background-color: white; font-size: 12pt; text-align: center;">.</span></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnny_5VNDUn49LUCBGt2noTnMMW3zHHCe65JsDlbsmBSy1tkIwpFmu_BdLA1rBvFLsexWMIfM8Zrllkeck-WYMFK7voO4T5ke9cXNOtLbS6EddkW_thZDnkzVcIWjnSplnH5Pdn0wmjlo/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="569" data-original-width="940" height="388" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnny_5VNDUn49LUCBGt2noTnMMW3zHHCe65JsDlbsmBSy1tkIwpFmu_BdLA1rBvFLsexWMIfM8Zrllkeck-WYMFK7voO4T5ke9cXNOtLbS6EddkW_thZDnkzVcIWjnSplnH5Pdn0wmjlo/w640-h388/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: 12pt;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: 12pt;">Then Select </span><strong style="font-size: 12pt;">Delegated
Permission</strong><span style="font-size: 12pt;">. Select the</span><strong style="font-size: 12pt;"> User
Impersonation</strong><span style="font-size: 12pt;"> permission. Then click </span><strong style="font-size: 12pt;">Add Permission</strong><span style="font-size: 12pt;"> button.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: 12pt;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: 12pt;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGLyQU8huD2_4Nhe6pd_eSKfWgA-hqZMWpBT_4hHWiVEGPEz0vCDxGFlGqHWQMg18GQ4WbhqhbWvoBAlghm83lSjh3U6EpijKH7V4bL0bvedNJCv2DEWWzKPw_XoCY2tPlHMdpbaP9vmA/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="760" data-original-width="848" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGLyQU8huD2_4Nhe6pd_eSKfWgA-hqZMWpBT_4hHWiVEGPEz0vCDxGFlGqHWQMg18GQ4WbhqhbWvoBAlghm83lSjh3U6EpijKH7V4bL0bvedNJCv2DEWWzKPw_XoCY2tPlHMdpbaP9vmA/w400-h358/image.png" width="400" /></a></div><br /><br /></span></div><p></p></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Next, We have to Grant Admin Consent for the permission. Click the <strong>Grant </strong>admin
consent and click <strong>Yes</strong>.<o:p></o:p></span></p></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguqHc3Ch94lP6E5Ni_E_5q6GbxSaDETcLQNbAWTwgLY63UQL_nuqrrl4Sa4kC_5OSC0GtAKVUYcAiyWGmnwsRinSRooiPu9rM37ZFVSjtfIyaxoRLowa0ovlnYsHJMCHdjlIy6GaGxCic/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="531" data-original-width="940" height="362" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguqHc3Ch94lP6E5Ni_E_5q6GbxSaDETcLQNbAWTwgLY63UQL_nuqrrl4Sa4kC_5OSC0GtAKVUYcAiyWGmnwsRinSRooiPu9rM37ZFVSjtfIyaxoRLowa0ovlnYsHJMCHdjlIy6GaGxCic/w640-h362/image.png" width="640" /></a></div><span face=""Segoe UI", sans-serif" style="font-size: 12pt; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Next, we have to generate a Client Secret for the App. In the App click
on <strong>Certificates
& Secrets</strong>. Click on New client Secret.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Provide a name and choose Expires month and click Add.</span></p></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhevp4YSQ3ECGxXSaY5nEa8P6yLLnW8Y2HGYQZEjyHFSiwLPrPB7bscg9b8uMURif2f3j7EIoohIpgM0ak-DEQTrIIXEFlmKNEIphnaK34fWD2gQ_9F7uK4KZC40_siRDbPgHeH0VExnLM/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="506" data-original-width="940" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhevp4YSQ3ECGxXSaY5nEa8P6yLLnW8Y2HGYQZEjyHFSiwLPrPB7bscg9b8uMURif2f3j7EIoohIpgM0ak-DEQTrIIXEFlmKNEIphnaK34fWD2gQ_9F7uK4KZC40_siRDbPgHeH0VExnLM/w640-h344/image.png" width="640" /></a></div><br /><o:p></o:p><p></p></div></span></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">We need to copy the Secret ID and value. Because the value cannot be copied
after some time.<o:p></o:p></span></p></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtrVA7u4boBbQiWuGIo7aFFR-ga-I-MBOBwDz6UPpstwFYbZSEfaq1X29MZX06mgucZOteWcjLsGSbdK4v-ubVsdn-7tFUDGkrtcHcm_FoItKFXNqxWQ1sBd90gbzvJFhJZFN313K2Jus/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="467" data-original-width="940" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtrVA7u4boBbQiWuGIo7aFFR-ga-I-MBOBwDz6UPpstwFYbZSEfaq1X29MZX06mgucZOteWcjLsGSbdK4v-ubVsdn-7tFUDGkrtcHcm_FoItKFXNqxWQ1sBd90gbzvJFhJZFN313K2Jus/w640-h318/image.png" width="640" /></a></div><br /><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoHeader" style="text-align: left;"><b><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 14pt;">Step 3) Application User
in Dynamic CRM</span></b><span face=""Segoe UI", sans-serif" style="font-size: 12pt; text-align: center;"> </span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="font-size: 12pt; line-height: 107%;">We need to
now configure the Application User. <span style="background: white;">Go to <strong>Advanced Settings </strong>and
Choose <strong>Security </strong>and
Select <strong>Users</strong>.
Change the View to<strong> Application
User </strong>and click on<strong> Add
new User</strong>.<o:p></o:p></span></span></p></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgNkWjRbaJprEiSEasXvdI5PMzjTJZmV-wfJ18a1uCIuLy7tchQOWvUgIt0ziDa78J8wPaC440o6AzAT41_858zlcoliDKBKxg8C04sPD1cqhHAU1FU5Fmx2opeUooQZJ1eYpv7JlJnRE/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="602" data-original-width="940" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgNkWjRbaJprEiSEasXvdI5PMzjTJZmV-wfJ18a1uCIuLy7tchQOWvUgIt0ziDa78J8wPaC440o6AzAT41_858zlcoliDKBKxg8C04sPD1cqhHAU1FU5Fmx2opeUooQZJ1eYpv7JlJnRE/w400-h256/image.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;">Now provide the Client ID we have copied from Azure Active Directory in
the Application ID field and save the record.</span></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhIu9tQcWaPrVCpRD0_VIpR__r54_-eBTgZ9F26003veZ-xzFHnLno2JkIAVr78TIq5pOIZmylbwCaEcsYYNhgbFvNqJtvkQa3Qk629zPs6E2HiqR1MuqNL42-w3hzqO_KczsiqeZbS1w/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="557" data-original-width="916" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhIu9tQcWaPrVCpRD0_VIpR__r54_-eBTgZ9F26003veZ-xzFHnLno2JkIAVr78TIq5pOIZmylbwCaEcsYYNhgbFvNqJtvkQa3Qk629zPs6E2HiqR1MuqNL42-w3hzqO_KczsiqeZbS1w/w400-h244/image.png" width="400" /></a></div><br /><div style="text-align: left;"><span lang="EN-IN" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 12pt; line-height: 107%;"> <o:p></o:p></span><span style="font-size: 12pt;">Other fields will be auto-populated after clicking on save. We need to assign <b>Security role</b> as our last step in this</span></div><p></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 107%;"><o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkgtNdIQ9hm9F9R-pWTtjhRsXGN7f_w4xGFAa0HgctSynnGnDWkhB6VduKd_ZDk9GbZisheBG5qd1hARCTrQqIQebk9pKG5cEMVA1ouU3Li_iQlxAW9bTzb17QOfXEy_u1tjyFLGl_RZY/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="493" data-original-width="854" height="370" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkgtNdIQ9hm9F9R-pWTtjhRsXGN7f_w4xGFAa0HgctSynnGnDWkhB6VduKd_ZDk9GbZisheBG5qd1hARCTrQqIQebk9pKG5cEMVA1ouU3Li_iQlxAW9bTzb17QOfXEy_u1tjyFLGl_RZY/w640-h370/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div style="text-align: left;">Assign them a security role.</div><div style="text-align: left;"><br /></div></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWdicAVCvMfl8SCXTAWA1yIGZVSLWOVbcpQAuqyq46gfaNITxtLiTpsVK3t9fkiumaQZ8LBHfY-pSV47bWC7MANjh2rR_qP-Mqq8vp4hPwnsjIuQtS1MiMIkEKYazKONJisRRFdm64ZhU/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="400" data-original-width="527" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWdicAVCvMfl8SCXTAWA1yIGZVSLWOVbcpQAuqyq46gfaNITxtLiTpsVK3t9fkiumaQZ8LBHfY-pSV47bWC7MANjh2rR_qP-Mqq8vp4hPwnsjIuQtS1MiMIkEKYazKONJisRRFdm64ZhU/w400-h304/image.png" width="400" /></a></div></div><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 17.12px;">Now go up and visit STEP 1 and replace the following with the value you just obtain from STEP 2<o:p></o:p></span></p><p class="MsoNormal" style="text-align: left;"></p><ul style="text-align: left;"><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 17.12px;">Org URL,</span></li><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 17.12px;">Application Client ID</span></li><li><span face=""Segoe UI", sans-serif" lang="EN-IN" style="background: white; font-size: 12pt; line-height: 17.12px;">Client Secret Value</span></li></ul><div style="text-align: left;"><span face="Segoe UI, sans-serif"><br /></span></div><div style="text-align: left;"><span face="Segoe UI, sans-serif"><br /></span></div><div style="text-align: left;"><span face="Segoe UI, sans-serif"><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;">Here are some other links for Troubleshooting and learning:<o:p></o:p></span></p><p class="MsoListParagraph" style="background: white; line-height: normal; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html">Plugin in Dynamic 365 CRM</a><o:p></o:p></span></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html">Connect to Dynamic 365 CRM from Console App using Azure Authentication</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2022/01/could-not-load-file-or-assembly.html">Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/10/unable-to-login-to-dynamics.html">Unable to Login to Dynamics CRMOrganizationWebProxyClient is null</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/assembly-microsoftcrmsdkproxy-with.html">Assembly 'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.</a><o:p></o:p></span></h3><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2016/09/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies</a><o:p></o:p></span></h3><div><br /></div><div><br /></div><div><br /></div></span></div></div><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-37610935679546645972021-10-08T10:47:00.020+05:302022-01-16T11:35:51.950+05:30Unable to Login to Dynamics CRMOrganizationWebProxyClient is null<p> <span face=""Segoe UI", sans-serif" style="background-color: white; color: #2b2b2b; font-size: 12pt;">While trying to connect
to Dynamics CRM Online via a console application, I was having below error</span></p>
<p class="MsoNormal" style="text-align: left;"><i><span face=""Segoe UI",sans-serif">Unable to
Login to Dynamics CRMOrganizationWebProxyClient is
nullOrganizationWebProxyClient is nullOrganizationServiceProxy is
nullOrganizationServiceProxy is nullOrganizationWebProxyClient is
nullOrganizationServiceProxy is nullOrganizationWebProxyClient is
nullOrganizationWebProxyClient is nullOrganizationServiceProxy is
nullOrganizationServiceProxy is nullOrganizationServiceProxy is null<o:p></o:p></span></i></p>
<p class="MsoNormal"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"><b>Below is a
specific code that works perfectly fine</b></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">public</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">static</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">IOrganizationService </span><span style="font-family: Consolas; font-size: 10pt;">getProdOrgService()<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">IOrganizationService</span><span style="font-family: Consolas; font-size: 10pt;"> organizationService = </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">null</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><b style="background-color: #fff2cc;"><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">ServicePointManager</span><span style="font-family: Consolas; font-size: 10pt;">.SecurityProtocol = </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">SecurityProtocolType</span><span style="font-family: Consolas; font-size: 10pt;">.Tls12 | </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">SecurityProtocolType</span><span style="font-family: Consolas; font-size: 10pt;">.Tls11 | </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">SecurityProtocolType</span></b><span style="font-family: Consolas; font-size: 10pt;"><b style="background-color: #fff2cc;">.Tls;</b><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;"><b style="background-color: #fff2cc;"><br /></b></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">ClientCredentials</span><span style="font-family: Consolas; font-size: 10pt;"> clientCredentials = </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">ClientCredentials</span><span style="font-family: Consolas; font-size: 10pt;">();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;">clientCredentials.UserName.UserName = </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">ConfigurationManager</span><span style="font-family: Consolas; font-size: 10pt;">.AppSettings[</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"D365Username"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;">clientCredentials.UserName.Password = </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">ConfigurationManager</span><span style="font-family: Consolas; font-size: 10pt;">.AppSettings[</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"D365Password"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;">organizationService = (</span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">IOrganizationService</span><span style="font-family: Consolas; font-size: 10pt;">) </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">OrganizationServiceProxy</span><span style="font-family: Consolas; font-size: 10pt;">(</span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">new </span><span style="font-family: Consolas; font-size: 10pt;">Uri(</span><span style="color: #2e75b6; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #2E75B6; mso-style-textfill-fill-colortransforms: lumm=75000; mso-style-textfill-fill-themecolor: accent5; mso-themecolor: accent5; mso-themeshade: 191;">ConfigurationManager</span><span style="font-family: Consolas; font-size: 10pt;">.AppSettings[</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"orgserviceUrl"</span><span style="font-family: Consolas; font-size: 10pt;">]), </span><span style="color: blue; font-family: Consolas; font-size: 10pt;">null</span><span style="font-family: Consolas; font-size: 10pt;">, clientCredentials, </span><span style="color: blue; font-family: Consolas; font-size: 10pt;">null</span><span style="font-family: Consolas; font-size: 10pt;">);</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">return</span><span style="font-family: Consolas; font-size: 10pt;"> organizationService;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;">
</p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span style="font-family: Consolas; font-size: 10pt; line-height: 107%;">}</span><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span style="font-family: Consolas; font-size: 10pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span style="font-family: Consolas; font-size: 9pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span style="font-family: Consolas; font-size: 9pt; line-height: 107%;"></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;"><b>Add the following
to your AppSettings</b><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt; line-height: 107%;"><b><br /></b></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">add</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">key</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">D365Username</span><span style="font-family: Consolas; font-size: 9.5pt;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">value</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">vipin@vjcity.com</span><span style="font-family: Consolas; font-size: 9.5pt;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> /></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">add</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">key</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">D365Password</span><span style="font-family: Consolas; font-size: 9.5pt;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">value</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> vjcity</span><span style="font-family: Consolas; font-size: 9.5pt;"> "</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;"><</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; line-height: 107%;">add</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; line-height: 107%;">key</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;">=</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;">orgserviceUrl</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; line-height: 107%;">value</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;">=</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;">https:// vjcity.crm.dynamics.com//XRMServices/2011/Organization.svc</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;">"</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;"> /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-autospace: none;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt;"><br /></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;">Here are some other links for Troubleshooting and learning:<o:p></o:p></span></p><p class="MsoListParagraph" style="background: white; line-height: normal; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html">Plugin in Dynamic 365 CRM</a><o:p></o:p></span></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html">Connect to Dynamic 365 CRM from Console App using Azure Authentication</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2022/01/could-not-load-file-or-assembly.html">Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/10/unable-to-login-to-dynamics.html">Unable to Login to Dynamics CRMOrganizationWebProxyClient is null</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/assembly-microsoftcrmsdkproxy-with.html">Assembly 'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.</a><o:p></o:p></span></h3><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2016/09/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies</a><o:p></o:p></span></h3><div><br /></div><div><br /></div><div><br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-71634185172862099652021-10-06T09:40:00.004+05:302022-01-16T11:39:32.725+05:30How to Connect TFS from Visual Studio and create local repository<p> <span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Launch Visual Studio and </span><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;">Continue without code</b></p><p><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"></b></p><div class="separator" style="clear: both; text-align: center;"><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnNSMzA8mr2pZyo5P2kOjvUqyiealSq0TNaSKni45aWURv2D_mlPmcQTwCB3T8r21_BQKzl-i48klFoMg5OeO_RxOvxucvXooSrmA5qc1HSgc3tcYuIH0io1W59nPDh2hE6UquPBJXm3M/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="342" data-original-width="624" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnNSMzA8mr2pZyo5P2kOjvUqyiealSq0TNaSKni45aWURv2D_mlPmcQTwCB3T8r21_BQKzl-i48klFoMg5OeO_RxOvxucvXooSrmA5qc1HSgc3tcYuIH0io1W59nPDh2hE6UquPBJXm3M/s16000/image.png" /></a></b></div><div class="separator" style="clear: both; text-align: center;"><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><br /></b></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Launch Team Explorer and click to connect Icon<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCeShoprSG9iQQbQbXvxp67qeWBsGDLdrpyImIBtgzlgX-nNJOw-eB4VbW_NA7YcOOCrAMbCXAlCb1IcGDluEdgt9DlzUte1DkNcV1J_PhxAQasLYhZ8x3BXCamZT5CcylEzQaDke2QTM/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="526" data-original-width="451" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCeShoprSG9iQQbQbXvxp67qeWBsGDLdrpyImIBtgzlgX-nNJOw-eB4VbW_NA7YcOOCrAMbCXAlCb1IcGDluEdgt9DlzUte1DkNcV1J_PhxAQasLYhZ8x3BXCamZT5CcylEzQaDke2QTM/w343-h400/image.png" width="343" /></a></div><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Provide your credential to connect to Azure Dev Ops
Project. Once connected it will list out various projects to which you are having access.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKLz41RYvTKLKNqer2eYRG6U8f-VZpUSrJmPy8-KmE2jHGzYsCp8faAE-Z_o9fb8GKKxKSWqbHycRgN0MtX7kubijQNLGjxxoIpuvM_5hQp31fHdAQbBFe3bSIALz2YW-8bxYVu-nZpk8/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="763" data-original-width="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKLz41RYvTKLKNqer2eYRG6U8f-VZpUSrJmPy8-KmE2jHGzYsCp8faAE-Z_o9fb8GKKxKSWqbHycRgN0MtX7kubijQNLGjxxoIpuvM_5hQp31fHdAQbBFe3bSIALz2YW-8bxYVu-nZpk8/s16000/image.png" /></a></div><br /><span style="font-size: 12pt;">Once you click the Clone Button it will copy all the
code to your local machine.</span><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><span style="font-size: 12pt;"><br /></span></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><span style="font-size: 12pt;"></span></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1IfHlcLfwq3AD22GaCa0WMZzWZ5fRd15VVVyUXg7j34NY5kocxWzjKI1sGF2_NSHXv2mXqIj7sy1WHfv1FT07YvaHcW6x3lWDYCU6gYq4dbvS9U4nFML-ZJgyvkiMCrIxYjtfV0ji_ME/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="226" data-original-width="330" height="219" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1IfHlcLfwq3AD22GaCa0WMZzWZ5fRd15VVVyUXg7j34NY5kocxWzjKI1sGF2_NSHXv2mXqIj7sy1WHfv1FT07YvaHcW6x3lWDYCU6gYq4dbvS9U4nFML-ZJgyvkiMCrIxYjtfV0ji_ME/" width="320" /></a></div><br /><br /><p></p><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;">Here are some other links for Troubleshooting and learning:<o:p></o:p></span></p><p class="MsoListParagraph" style="background: white; line-height: normal; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html">Plugin in Dynamic 365 CRM</a><o:p></o:p></span></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html">Connect to Dynamic 365 CRM from Console App using Azure Authentication</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2022/01/could-not-load-file-or-assembly.html">Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/10/unable-to-login-to-dynamics.html">Unable to Login to Dynamics CRMOrganizationWebProxyClient is null</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/assembly-microsoftcrmsdkproxy-with.html">Assembly 'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.</a><o:p></o:p></span></h3><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2016/09/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies</a><o:p></o:p></span></h3><div><br /></div><div><br /></div><p><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"></b></p><div><br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-65155754552261244762021-08-30T21:57:00.004+05:302021-08-30T22:03:49.924+05:30Ribbon Workbench - For Performance reasons, this solution cannot be loaded<p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Recently, we were
working on button customization in a new environment. </span></p><p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">It so happened that we
downloaded the latest solution from </span><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><span style="color: #92d050;">develop[1]</span></b></p><p><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><span style="color: #92d050;"></span></b></p><div class="separator" style="clear: both; text-align: center;"><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVDgcEwwc7qEd6YIaUd44Xt-pmqe9jPd09c2NpVJQi085MJ56ImNt1d2r341xJ1ocSrYZ0dQG1QwA3V38xysUUHYmFgDhQDn76e9ynt2Uzo8Ntym_VZOkjCnrsuMt8zJHLdxLx1JaVVt8/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="606" data-original-width="1085" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVDgcEwwc7qEd6YIaUd44Xt-pmqe9jPd09c2NpVJQi085MJ56ImNt1d2r341xJ1ocSrYZ0dQG1QwA3V38xysUUHYmFgDhQDn76e9ynt2Uzo8Ntym_VZOkjCnrsuMt8zJHLdxLx1JaVVt8/w400-h224/image.png" width="400" /></a></b></div><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><br /></b><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">But from the latest
version - <b>3.1.443.1</b>, we were facing the below problem for any solution we
are trying to import.<o:p></o:p></span></p><p style="background: white; line-height: 23.25pt; margin: 0cm;"><i><span face=""Segoe UI", sans-serif" lang="EN-US">For Performance reasons,
this solution cannot be loaded:</span></i></p><p style="background: white; line-height: 23.25pt; margin: 0cm;"><i><span face=""Segoe UI", sans-serif" lang="EN-US">The solution contains
non-entity components (e.g. attributes/forms/apps/dashboards/workflows).</span></i></p><p style="background: white; box-sizing: border-box; line-height: 23.25pt; margin: 0cm; overflow-wrap: break-word;"><i><span face=""Segoe UI", sans-serif" lang="EN-US">Please create a solution
and add only the Entities you wish to edit, with no sub-components!</span></i></p><p style="background: white; box-sizing: border-box; line-height: 23.25pt; margin: 0cm; overflow-wrap: break-word;"><i><span face=""Segoe UI", sans-serif" lang="EN-US"><br /></span></i></p><p style="background: white; box-sizing: border-box; line-height: 23.25pt; margin: 0cm; overflow-wrap: break-word;"><i><span face=""Segoe UI", sans-serif" lang="EN-US"></span></i></p><div class="separator" style="clear: both; text-align: center;"><i><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrzPpay06WryJOfj4p0UdbV7hAPwSOBHiDtj8qKQPmoX613Q-Naj_gN5XRSKv8acbiTuQdQoB_q_Dg7ZZ2vKVOXwiYxIABvou1XlOlwNnupgEVCX0zDO6A3SQ9wNbriy29qeFz-6H0yqA/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="257" data-original-width="303" height="339" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrzPpay06WryJOfj4p0UdbV7hAPwSOBHiDtj8qKQPmoX613Q-Naj_gN5XRSKv8acbiTuQdQoB_q_Dg7ZZ2vKVOXwiYxIABvou1XlOlwNnupgEVCX0zDO6A3SQ9wNbriy29qeFz-6H0yqA/w400-h339/image.png" width="400" /></a></i></div><p style="background: white; box-sizing: border-box; line-height: 23.25pt; margin: 0cm; overflow-wrap: break-word;"><i><i><span face=""Segoe UI", sans-serif" lang="EN-US"><br /></span></i></i></p><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><b>SOLUTION:</b><o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Just try with an old version of the Ribbon Workbench and its works like a charm. <o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaV7eutiLpA82Ac4x_Bx_5-sACv90cyKYSNNOa0NvT5bOlMroXW9keKyezNg3NIM1kV7ZeLKwqvT71VaV8L0nNDgqZpDUBUqdIxUQPvoNV-k6BMUPa9H0zDJmorXXqnZh_GQkfc891-Ck/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="34" data-original-width="389" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaV7eutiLpA82Ac4x_Bx_5-sACv90cyKYSNNOa0NvT5bOlMroXW9keKyezNg3NIM1kV7ZeLKwqvT71VaV8L0nNDgqZpDUBUqdIxUQPvoNV-k6BMUPa9H0zDJmorXXqnZh_GQkfc891-Ck/s16000/image.png" /></a></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">I hope <b style="font-size: 12pt;"><span style="color: #92d050;">develop[1]</span></b> team is working on this and soon it is going to resolve this issue. </span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Thanks a lot to <b style="font-size: 12pt;"><span style="color: #92d050;">develop[1]</span></b> team for making life easy with Ribbon Workbench Tool<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p style="background: white; box-sizing: border-box; line-height: 23.25pt; margin: 0cm; overflow-wrap: break-word;">
<i><span face=""Segoe UI", sans-serif" lang="EN-US"><br /></span></i></p><p><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><span style="color: #92d050;"></span></b></p><div class="separator" style="clear: both; text-align: center;"><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><br /></b></div><b style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"><br /><br /></b><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><o:p></o:p></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-28480644030770954092021-07-17T11:23:00.007+05:302022-01-16T11:35:42.844+05:30Assembly 'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'<p> <span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Please refer here for more details, usually when there is a mismatch for DLLs version this error occured.</span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html</a></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Remove the wrong version of the DLL’s and add the correct version of the DLL’s</span></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiawoAj1vljQj2Jm_rJUXzeJWHW5pFQ482ChD1q9KFIyY0ZkUBgXhxMw5ksK4zfbxccb4k923cvm-Ekp9AS8itlvb_sE-6T7ZFV4Sc_686yJc5rmqrqn3A0NLihRSpZqG4aKDOAOrY6y20/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="285" data-original-width="514" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiawoAj1vljQj2Jm_rJUXzeJWHW5pFQ482ChD1q9KFIyY0ZkUBgXhxMw5ksK4zfbxccb4k923cvm-Ekp9AS8itlvb_sE-6T7ZFV4Sc_686yJc5rmqrqn3A0NLihRSpZqG4aKDOAOrY6y20/s16000/image.png" /></a></div><br /><p class="MsoNormal" style="margin-left: 0.5in;"><br /></p><p></p><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;">Here are some other links for Troubleshooting and learning:<o:p></o:p></span></p><p class="MsoListParagraph" style="background: white; line-height: normal; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html">Plugin in Dynamic 365 CRM</a><o:p></o:p></span></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html">Connect to Dynamic 365 CRM from Console App using Azure Authentication</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2022/01/could-not-load-file-or-assembly.html">Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/10/unable-to-login-to-dynamics.html">Unable to Login to Dynamics CRMOrganizationWebProxyClient is null</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/assembly-microsoftcrmsdkproxy-with.html">Assembly 'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.</a><o:p></o:p></span></h3><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2016/09/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies</a><o:p></o:p></span></h3><div><br /></div><div><br /></div><div><br /></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6374430579610947318.post-51773711409904876162021-07-17T10:03:00.001+05:302022-01-16T11:34:42.397+05:30Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. <p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">We all D365 Developers came across this annoying error
often. Today, we will try to understand
this one and quickly resolve it if it appears next time.</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">When connecting to Dynamic CRM we are required a couple of
DLL’s which are<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm;"></p><ul style="text-align: left;"><li><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Microsoft.Crm.Sdk.Proxy : 9.0.0.0</span></li><li><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Microsoft.Xrm.Sdk : 9.0.0.0</span></li><li><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Microsoft.Xrm.Sdk.Deployment : 9.0.0.0</span></li><li><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Microsoft.Xrm.Tooling.Connector : 3.0.0.0</span></li></ul><div></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Now these DLL’s must be in one common version only either
8.0.0.0 or 9.0.0.0. If any one of these DLLs is not synced version-wise, then during
runtime we have an error.</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">
</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">We can check the version of DLL’s from a property window
in Visual Studio.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgynvSU-bwkaHuI9UxrnGvvo_49jg7rLr5OKpGcVQhNgsx1i0sl2JxVAgtHFYCubsmMuGNfT9iC9iTbB-dKR9WSF7Ktsvm3S6RSFHc8qZRvAu3TwieSfS-D9oXg3sMab3OcwAW2qnZKVU4/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="518" data-original-width="569" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgynvSU-bwkaHuI9UxrnGvvo_49jg7rLr5OKpGcVQhNgsx1i0sl2JxVAgtHFYCubsmMuGNfT9iC9iTbB-dKR9WSF7Ktsvm3S6RSFHc8qZRvAu3TwieSfS-D9oXg3sMab3OcwAW2qnZKVU4/s16000/image.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Remove the wrong version of the DLL’s and add the correct
version of the DLL’s</span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinoOa8fvChwxgbHngE1YplormodfPEViEPozP9Ch4h_ldggvWlGwGBDeTrmERk6M9iqIfQ3rKw56B8BOXk0F-R9Bbh7nKYwtTVCeCg7lM1yLKbQfjQwDOizQcXf4bMWft0OiiPVQ0wBpQ/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="285" data-original-width="514" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinoOa8fvChwxgbHngE1YplormodfPEViEPozP9Ch4h_ldggvWlGwGBDeTrmERk6M9iqIfQ3rKw56B8BOXk0F-R9Bbh7nKYwtTVCeCg7lM1yLKbQfjQwDOizQcXf4bMWft0OiiPVQ0wBpQ/s16000/image.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Now the <b>NuGet way</b>, verify if you have the same
version installed. <o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"> <o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8T_QQVBsKnOxX2E_JZwZTBM_1lX7hcNoMxm25mA2i1zev0IRVLIDSo0OXnsvBuA7nIhNQUAytt0C1XdH7JQM-4VA52Xc2fcKIRNoGx7ir4mPkvMdymaR9Vhi3Vgabkl74KjRpBrAeurE/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="369" data-original-width="601" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8T_QQVBsKnOxX2E_JZwZTBM_1lX7hcNoMxm25mA2i1zev0IRVLIDSo0OXnsvBuA7nIhNQUAytt0C1XdH7JQM-4VA52Xc2fcKIRNoGx7ir4mPkvMdymaR9Vhi3Vgabkl74KjRpBrAeurE/s16000/image.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><b><u><span style="color: red;">Important Note:</span></u></b> If you see the version of the NuGet same
and still, run into the problem, then Uninstall the NuGet and Clean and Re-Build
the solution or try verifying individual DLL’s version as explained above.<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"></div><br /><div style="text-align: left;"><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;">Here are some other links for Troubleshooting and learning:<o:p></o:p></span></p><p class="MsoListParagraph" style="background: white; line-height: normal; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt;"><a href="https://vjcity.blogspot.com/2021/12/plugin-in-dynamic-365-crm.html">Plugin in Dynamic 365 CRM</a><o:p></o:p></span></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/12/connect-to-dynamic-365-crm-from-console.html">Connect to Dynamic 365 CRM from Console App using Azure Authentication</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2022/01/could-not-load-file-or-assembly.html">Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/10/unable-to-login-to-dynamics.html">Unable to Login to Dynamics CRMOrganizationWebProxyClient is null</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/assembly-microsoftcrmsdkproxy-with.html">Assembly 'Microsoft.Crm.Sdk.Proxy' with identity 'Microsoft.Crm.Sdk.Proxy, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Xrm.Sdk' with identity 'Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'</a><o:p></o:p></span></h3><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2021/07/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.</a><o:p></o:p></span></h3><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0in 0in;"></p><h3 style="background: white; margin: 9pt 0in 0in 0.5in; text-indent: -0.25in;"><span style="color: #222222; font-family: Symbol; font-size: 12pt; font-weight: normal;">·<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><span style="color: #222222; font-family: "Segoe UI", sans-serif; font-size: 12pt; font-weight: normal;"><a href="https://vjcity.blogspot.com/2016/09/could-not-load-file-or-assembly.html">Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies</a><o:p></o:p></span></h3><div><br /></div><div><br /></div><div><br /></div></div></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><o:p></o:p></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-51910553314454725622021-07-14T21:59:00.011+05:302021-07-14T22:02:03.923+05:30How to search in multiple table from a lookup in Dynamic CRM<p><span face=""Segoe UI", sans-serif" style="background-color: white; color: #171717; font-size: 12pt;">Now we can use a single
lookup field to refer multiple entities for searching (including a custom entity)</span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;">A lookup value submitted will
be matched to a record in all the related entities.</span><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><u><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Note:</span></u><i><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"> For now, to achieve
this it is possible only via SDK or Web APIs. Interactive user interface
support will be coming in a future release.</span></i><span style="font-size: 12pt;"> </span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><b><u>Example:</u></b><o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;">Let's say you are hosting
media for users in a library. You have many different MediaObjects, like
“Books”, “Audio”, and “Video”. Creating a multi-table lookup called “new_Media”
that has 1:M relationships to “new_Books”, “new_Audio”, and “new_Video” will
result in a “new_Media” lookup table that provides quick identifications of
records stored in specific tables.</span><o:p></o:p></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen="" class="BLOG_video_class" height="379" src="https://www.youtube.com/embed/64DEBWpw9pM" width="520" youtube-src-id="64DEBWpw9pM"></iframe></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal"><b><span style="background: white; color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Shown below
is an HTTP post to CREATE Multiple lookup attribute.</span><o:p></o:p></b></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;"><o:p>
</o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;">It will create three relationships as depicted below
image.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;"></span></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVmVN6_fNjxHimg3XjZcP0HxvCVq5eA6zvgS8M-mgBshcy2aZcpERoMUZooHnDW2SibQoY-g1u8mYi6t0TDN36uY4SI6IK02eFkXYFAzYOf0T-2-lYWfn5uejl_Wgl7Q9T20vLzmGNoHc/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="275" data-original-width="969" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVmVN6_fNjxHimg3XjZcP0HxvCVq5eA6zvgS8M-mgBshcy2aZcpERoMUZooHnDW2SibQoY-g1u8mYi6t0TDN36uY4SI6IK02eFkXYFAzYOf0T-2-lYWfn5uejl_Wgl7Q9T20vLzmGNoHc/w640-h182/image.png" width="640" /></a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas;">POST [Organization
URI]/api/data/v9.0/<b>CreatePolymorphicLookupAttribute </b>HTTP/1.1 <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas;">Accept:
application/json <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas;">Content-Type:
application/json; charset=utf-8 <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas;">OData-MaxVersion:
4.0 <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas;">OData-Version:
4.0 <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"OneToManyRelationships"</span><span style="font-family: Consolas; font-size: 9.5pt;">: [<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"SchemaName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media_new_book"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencedEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_book"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencingEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media"</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"SchemaName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media_new_video"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencedEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_video"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencingEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media"</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"SchemaName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media_new_audio"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencedEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_audio"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencingEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"CascadeConfiguration"</span><span style="font-family: Consolas; font-size: 9.5pt;">: { <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Assign"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">, <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Delete"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"RemoveLink"</span><span style="font-family: Consolas; font-size: 9.5pt;">, <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Merge"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">, <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Reparent"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">, <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Share"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">, <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Unshare"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;"> <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> ],<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Lookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"AttributeType"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Lookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"AttributeTypeName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Value"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LookupType"</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Description"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LocalizedLabels"</span><span style="font-family: Consolas; font-size: 9.5pt;">: [<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Media Polymorphic Lookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> ],<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"UserLocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">" Media Polymorphic Lookup Attribute"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"DisplayName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LocalizedLabels"</span><span style="font-family: Consolas; font-size: 9.5pt;">: [<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"MediaPolymorphicLookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> ],<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"UserLocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"MediaPolymorphicLookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"SchemaName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_mediaPolymporphicLookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.ComplexLookupAttributeMetadata"</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;">}</span><span face=""Segoe UI",sans-serif" style="background: white; color: #171717; font-size: 12pt; line-height: 107%;"><o:p></o:p></span></p></div></div></div><br /><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;"></span></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;"><b><span face=""Segoe UI",sans-serif" style="color: #171717; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Add new relationship to
existing Multiple-lookup<o:p></o:p></span></b></p><p class="MsoNormal" style="background: white; line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;"><span style="background-color: transparent; font-family: Consolas; font-size: 12pt;">POST
[OrganizationUrl]/api/data/v9.0/</span><b style="background-color: transparent; font-family: Consolas; font-size: 12pt;">RelationshipDefinitions</b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><o:p></o:p></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"SchemaName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media_poly_new_newspaper"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.OneToManyRelationshipMetadata"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"CascadeConfiguration"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Assign"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Delete"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"RemoveLink"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Merge"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Reparent"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Share"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Unshare"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"NoCascade"</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencedEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_newspaper"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ReferencingEntity"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_media"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Lookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"AttributeType"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Lookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"AttributeTypeName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Value"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LookupType"</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Description"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LocalizedLabels"</span><span style="font-family: Consolas; font-size: 9.5pt;">: [<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Media Polymorphic Lookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> ],<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"UserLocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Media Polymorphic Lookup Attribute"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"DisplayName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LocalizedLabels"</span><span style="font-family: Consolas; font-size: 9.5pt;">: [<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"MediaPolymorphicLookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> ],<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"UserLocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">: {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LocalizedLabel"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Label"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"MediaPolymorphicLookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"LanguageCode"</span><span style="font-family: Consolas; font-size: 9.5pt;">: 1033<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"SchemaName"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_mediaPolymporphicLookup"</span><span style="font-family: Consolas; font-size: 9.5pt;">,<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: #2e75b6; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"@odata.type"</span><span style="font-family: Consolas; font-size: 9.5pt;">: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Microsoft.Dynamics.CRM.LookupAttributeMetadata"</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;">
</span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; mso-outline-level: 3;"><span style="font-family: Consolas; font-size: 9.5pt;">}</span><b><span face=""Segoe UI",sans-serif" style="color: #171717; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></b></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsLk9tSzY1N5yUZPhUX7uMynj_CA_HORhuQcbha-St8QKMRFk42dWkvS1aKPAwsNnnuLx1KZ7ZtELgTQjNRWIUPsCcuNaqPk7xSwb6elSsncJq2XrBf8c0UZy_6PnRrMLYQ2fx1goAB2Q/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="342" data-original-width="800" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsLk9tSzY1N5yUZPhUX7uMynj_CA_HORhuQcbha-St8QKMRFk42dWkvS1aKPAwsNnnuLx1KZ7ZtELgTQjNRWIUPsCcuNaqPk7xSwb6elSsncJq2XrBf8c0UZy_6PnRrMLYQ2fx1goAB2Q/s16000/image.png" /></a></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;"><br /></span></p><p class="MsoNormal">Finally, we can see all entities in lookup</p><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;"><br /></span></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVY6pyw3lnzUGAeuPfubJCvMSMPR1dKEb2r7Rfq8yaSi3mZtWTmi-Ak3UwqrjrS5m4Tlzt516LFllxKnR9s9bOz2cWT7aYq_lf9FntM7eTC0bmc4XkLPH9W4JjzDDtkJbUD0XlzkLGfEY/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="384" data-original-width="642" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVY6pyw3lnzUGAeuPfubJCvMSMPR1dKEb2r7Rfq8yaSi3mZtWTmi-Ak3UwqrjrS5m4Tlzt516LFllxKnR9s9bOz2cWT7aYq_lf9FntM7eTC0bmc4XkLPH9W4JjzDDtkJbUD0XlzkLGfEY/s16000/image.png" /></a></div><br /><br /><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="background: white; color: #171717;"><b><u>References</u></b></span></p><p class="MsoNormal"><span style="background: white;"><span face="Segoe UI, sans-serif" style="color: #171717;"><a href="https://powerapps.microsoft.com/en-us/blog/announcement-multi-table-lookups-are-now-available-as-a-preview/">https://powerapps.microsoft.com/en-us/blog/announcement-multi-table-lookups-are-now-available-as-a-preview/</a></span></span></p><p class="MsoNormal"><span style="background: white;"><span face="Segoe UI, sans-serif" style="color: #171717;"><a href="https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/multitable-lookup?branch=pr-en-us-4448">https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/multitable-lookup?branch=pr-en-us-4448</a></span></span></p><p class="MsoNormal"><br /></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-8318257585993369522021-07-07T12:21:00.002+05:302021-07-07T12:21:25.037+05:30How to search lookup based on other attribute in Dynamic CRM<p> <span style="font-family: "Segoe UI", sans-serif; font-size: 12pt;">Using the lookup, we can search records by typing in
the search keywords to filter the list.</span></p>
<p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;">This search is performed on all fields that are listed
in the Find columns in the Quick Find View of the entity.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;">Below are the steps in Power Apps or UCI Settings.</span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;"></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;">1] Navigate to the respective entity and click on views and
edit <b>Quick Find view</b> for that entity.</span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7fQTL0GfdtuhbhpTvJ5b_AY3Y2FNpbhfLPOePl2tWBWZIrkLCt7XlV91tLiWEPj5zb0XqGfhYa-SC5j3jjGPdZcNQd4HKvWIFgaYBOPFdF9aQMRCg6StvQMRPf_XcxfLIsUFEptiRavE/s602/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="258" data-original-width="602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7fQTL0GfdtuhbhpTvJ5b_AY3Y2FNpbhfLPOePl2tWBWZIrkLCt7XlV91tLiWEPj5zb0XqGfhYa-SC5j3jjGPdZcNQd4HKvWIFgaYBOPFdF9aQMRCg6StvQMRPf_XcxfLIsUFEptiRavE/s16000/1.png" /></a></div><span style="font-size: 12pt;">2] Edit find table columns and select the columns that are
required for search.</span><p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNvGRPNbka-QgyeRqUj3NgyQORD-QpTgmj-a6k_5t8Kazv6YUEDTAl2B0dFx0Sd1cZ308RWKdSi5u2SOn_mMbdhSghTMc_AAuIw-Bx68oFmlfpGW-siqFqlHAEBjsf7OvfftH6bHjztFg/s755/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="755" data-original-width="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNvGRPNbka-QgyeRqUj3NgyQORD-QpTgmj-a6k_5t8Kazv6YUEDTAl2B0dFx0Sd1cZ308RWKdSi5u2SOn_mMbdhSghTMc_AAuIw-Bx68oFmlfpGW-siqFqlHAEBjsf7OvfftH6bHjztFg/s16000/2.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0RSsajCzw89NHFV79HaNkXuzTHXwUWMAz6I_UDPo8falVQq9QZPywuLs2uyqLtacR4-3_CO_W1SNnKIpm682rvBKGXr_ed0rVCBu61CSmhOnqReKIOIm65LIw4E4UK2wwSDjctOgjtMw/s481/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="481" data-original-width="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0RSsajCzw89NHFV79HaNkXuzTHXwUWMAz6I_UDPo8falVQq9QZPywuLs2uyqLtacR4-3_CO_W1SNnKIpm682rvBKGXr_ed0rVCBu61CSmhOnqReKIOIm65LIw4E4UK2wwSDjctOgjtMw/s16000/3.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-size: 12pt;">Here is the same we can achieve in Classic mode as
well.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-size: 12pt;">1] Navigate to the respective entity and click on views and edit <b>Quick Find view</b> for that entity.</span></p><p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-size: 12pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWz5Zl13aWjzUjxroQciLV_-prjhAKVdbvwv-xg4sMPzUG3sBAV0Wf6AlayCqIjSz5RVALkO7GqWF7OgBijcFyAzkGIdhIuyU9egVDikcU8F9rsSlkQamJQ04h2RpxqxxMIe2kmfjeTFE/s602/4.png" imageanchor="1" style="font-size: 12pt; margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="358" data-original-width="602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWz5Zl13aWjzUjxroQciLV_-prjhAKVdbvwv-xg4sMPzUG3sBAV0Wf6AlayCqIjSz5RVALkO7GqWF7OgBijcFyAzkGIdhIuyU9egVDikcU8F9rsSlkQamJQ04h2RpxqxxMIe2kmfjeTFE/s16000/4.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqE5NQ8R7TVyc3jBXEDOPOhu3CJNT3CtVj7k8qzZHnzKXAqpcpvBh1r8rNlYNF72IaxRZDjoTUoPy5eKS8afCAcHV7S4b2sYTNslBCiha3pZFElFhkNqqXTmHI_TcoNXu0W5srMl3VJoM/s602/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="230" data-original-width="602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqE5NQ8R7TVyc3jBXEDOPOhu3CJNT3CtVj7k8qzZHnzKXAqpcpvBh1r8rNlYNF72IaxRZDjoTUoPy5eKS8afCAcHV7S4b2sYTNslBCiha3pZFElFhkNqqXTmHI_TcoNXu0W5srMl3VJoM/s16000/5.png" /></a></div><br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF88vugAIYtrzx7qj7m0bRewXBEKDZ3_wuEcMqpIcHumbhgIfbejW_ayEpyuPRBGNTmWQ_R856BOzkytP6YYzt7tGWvfBIP4UJZUue0H5gsw3N5byOfMAUo0lSSpOrjIuIlfNQYGqvzjQ/s681/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="482" data-original-width="681" height="452" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF88vugAIYtrzx7qj7m0bRewXBEKDZ3_wuEcMqpIcHumbhgIfbejW_ayEpyuPRBGNTmWQ_R856BOzkytP6YYzt7tGWvfBIP4UJZUue0H5gsw3N5byOfMAUo0lSSpOrjIuIlfNQYGqvzjQ/w640-h452/6.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><br /><p></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;"></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span lang="EN-US" style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-ansi-language: EN-US;"><br /></span></p><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-74968820118390557682021-07-07T10:39:00.004+05:302021-07-07T10:45:59.113+05:30How to stop showing recent records for lookup fields in UCI<p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">When using lookup fields on the form, it by default shows the
recent records in the UCI environment. We need to hide the recent records for the
lookup fields.</span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%;">Solution <o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">We need to change the field behavior settings.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">1] UCI Form Settings<o:p></o:p></span></b></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Check the <b>Disable most recently used items</b> and
then save and publish the form customization changes.<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjntyaxYSay_Mqlb8Z6MzyhroeX3kr9hkFY6F9GOGQj9IkhPg13EAolsvHXiPzYMlaaWb8EAGjdYL8-BSs5OA4kpRKxaeDBFROiNT5iEaSnxcLPcdYOLp2mg-jPbXWiNwiDL4QKAPjmwfg/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="814" data-original-width="273" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjntyaxYSay_Mqlb8Z6MzyhroeX3kr9hkFY6F9GOGQj9IkhPg13EAolsvHXiPzYMlaaWb8EAGjdYL8-BSs5OA4kpRKxaeDBFROiNT5iEaSnxcLPcdYOLp2mg-jPbXWiNwiDL4QKAPjmwfg/s16000/image.png" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">2] Classic Editor Form Settings<o:p></o:p></span></b></p><div class="separator" style="clear: both; text-align: center;">
<p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">If your recent items are still showing up, try to use
classic editor and turn on or checked the field behavior setting as depicted in
below image.</span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyooScjlIaqCwPUJ7cB1TTRZypKoSlSFK73dqVXXApQrLl-U8eYf2Jt8TDui2_1G0Jq66ShxRh3yplB2RkoPf6gjOLwDMAZl6kXojYaKFzaOmqI4stev2mYET2FL1-bOKwhyphenhyphenVIGXo1Jx4/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="714" data-original-width="551" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyooScjlIaqCwPUJ7cB1TTRZypKoSlSFK73dqVXXApQrLl-U8eYf2Jt8TDui2_1G0Jq66ShxRh3yplB2RkoPf6gjOLwDMAZl6kXojYaKFzaOmqI4stev2mYET2FL1-bOKwhyphenhyphenVIGXo1Jx4/s16000/image.png" /></a></div><br /><br /><p></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p></div><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /><br /></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-40924469333691960342021-07-05T13:46:00.003+05:302021-07-05T14:36:19.388+05:30Generic Method to Hide and Show Tab and Section<p> </p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;">Problem
Statement<o:p></o:p></span></b></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">We need to hide and
display TAB’s and their respective SECTION's based on configured values. </span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">The
configuration will be loaded based on the template selected for a given entity
records.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 14pt; line-height: 107%; mso-ansi-language: EN-US;">Solution<o:p></o:p></span></b></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">As current D365 CRM
does not support any out-of-box feature to support this, we created a generic
script-based solution to support our scenario. <o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Note: We cannot show
hide sections/tab using Business rules.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Template
Configuration<o:p></o:p></span></b></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">We created a
configuration entity which can be used by the End-Client to configure which TAB
and SECTION to show.<o:p></o:p></span></p><p class="MsoNormal">Tab and Section are created as a Multi-Select for user to decide and configure which section and tab to be displayed.</p><p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzlzEr65-Hi2AXZadTQtR11y2eF0M0gAA2pM-QqqxDzClNGAxYGo2TNyJoaGCNZBKJOfMp_8St_jMXhEQsqVhel-0piiTYNCje82f68HfX2iJm6Xkxlu0PG6slKzcVStuNjaOW2z-D2cY/" style="margin-left: 1em; margin-right: 1em;"><img data-original-height="724" data-original-width="823" height="563" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzlzEr65-Hi2AXZadTQtR11y2eF0M0gAA2pM-QqqxDzClNGAxYGo2TNyJoaGCNZBKJOfMp_8St_jMXhEQsqVhel-0piiTYNCje82f68HfX2iJm6Xkxlu0PG6slKzcVStuNjaOW2z-D2cY/w640-h563/image.png" width="640" /></a></div><br /><br /></div><p></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"></span></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Configuration
Rules</span></b><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br />
When <span style="color: red;">NO Section Name</span> is listed for a given TAB,
by default script should display all the sections for it.<o:p></o:p></span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">But When Section Name
is specified, it will display only those sections for a respective TAB.<o:p></o:p></span></p><br /><p></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Please reach out to me for detailed script and
solution.<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"> </span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Thanks.<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">Vipin Jaiswal<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;">
</p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">vipinjaiswal12@gmail.com<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;"><br /></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; mso-outline-level: 3;"><b><span style="color: #222222; font-family: "Segoe UI",sans-serif; font-size: 14.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">How to hide a section in MS CRM 2016 based on user logged in ?<o:p></o:p></span></b></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: "Segoe UI",sans-serif; font-size: 14.0pt; line-height: 107%;"><a href="https://vjcity.blogspot.com/2016/09/how-to-hide-section-in-ms-crm-2016.html">https://vjcity.blogspot.com/2016/09/how-to-hide-section-in-ms-crm-2016.html</a><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span face=""Segoe UI",sans-serif" lang="EN-US" style="font-size: 12pt; line-height: 107%; mso-ansi-language: EN-US;">
</span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: "Segoe UI",sans-serif; font-size: 14.0pt; line-height: 107%;"> </span></p><p></p>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6374430579610947318.post-45334725817272572722021-05-09T18:24:00.001+05:302021-05-09T18:26:35.308+05:30Basic terminology in Dynamic CRM<p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;">Sales processes typically map to specific types of records that are often used with working with sales automation software. It is important to understand key terminology used in sales and with sales process automation software.</span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;">The list below provides definitions for commonly used sales terms and selling components:</span></p><p style="text-align: left;"><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p style="text-align: left;"><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"></span></p><table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="background: white; border-collapse: collapse; border: none; mso-border-bottom-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-yfti-tbllook: 1184; width: 100%px;">
<thead>
<tr style="height: 16.05pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 16.05pt; mso-border-bottom-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><b><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Term<o:p></o:p></span></b></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 16.05pt; mso-border-bottom-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><b><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Definition<o:p></o:p></span></b></p>
</td>
</tr>
</thead>
<tbody><tr style="height: 48.15pt; mso-yfti-irow: 1;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 48.15pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Account<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 48.15pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">An account
represents a business or organization. Sometimes this organization is a
customer or a vendor. In some organizations, it might be a different
grouping, such as a family. Typically, an account will have related contact
records.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 49.0pt; mso-yfti-irow: 2;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 49.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Activities<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 49.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">An activity
represents supporting records and customer interactions. By default, the
system will have activities such as email, appointment, and phone call
already configured. Other custom activities meet extra needs of the business.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.1pt; mso-yfti-irow: 3;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Contact<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A contact represents
a single individual. A contact will often have many related records such as
an account and activities.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.95pt; mso-yfti-irow: 4;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Customer<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A customer can be
either an account or a contact. Typically speaking, in a business-to-business
scenario, this is an account. In a business to consumer scenario, this is a
contact.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.95pt; mso-yfti-irow: 5;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Lead<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A lead represents
someone with an interest in what you are selling. A lead might be an existing
client, or someone that you have never done business with before.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.1pt; mso-yfti-irow: 6;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Opportunity<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Like a lead, an
opportunity is a potential sales transaction. Typically, an opportunity is a
more viable prospect than a lead, and it will contain more information and be
tracked for a longer period of time.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.95pt; mso-yfti-irow: 7;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Product Catalog<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A collection of
records that interact with opportunities, quotes, orders, and invoices to
facilitate management of products, price lists, discounts, and product
families for sales transactions.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.1pt; mso-yfti-irow: 8;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Quote<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A formal offer
for products or services, proposed at specific prices and related payment
terms to a customer.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.95pt; mso-yfti-irow: 9;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Order<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.95pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A confirmed
request for delivery of goods and services based on specified terms, or a
quote that has been accepted by a customer.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 32.1pt; mso-yfti-irow: 10;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Invoice<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 32.1pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">An order or
record of a sale including details about products or services purchased that
has been billed to the customer.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 49.0pt; mso-yfti-irow: 11;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 49.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Sales Pipeline<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 49.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">A sales pipeline
is a snapshot of where prospects are in the <a href="https://www.superoffice.com/blog/sales-process/"><span style="color: blue;">sales process</span></a>. A typical pipeline would show
how many deals salespeople are expected to close in a given week, month, or
year, and how close a rep is to <a href="https://www.superoffice.com/blog/sales-quota/"><span style="color: blue;">reaching
their sales quota</span></a>.<o:p></o:p></span></p>
</td>
</tr>
<tr style="height: 16.05pt; mso-yfti-irow: 12; mso-yfti-lastrow: yes;">
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 16.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 16.22%;" valign="top" width="16%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Competitors<o:p></o:p></span></p>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 16.05pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: .75pt .75pt .75pt .75pt; width: 83.78%;" valign="top" width="83%">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;"><span style="color: #171717; font-family: "Segoe UI",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Competitors are
organizations that you are competing with to win deals.<o:p></o:p></span></p>
</td>
</tr>
</tbody></table><p style="text-align: left;"><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br />The image below shows an example what a sales lifecycle might look like from beginning to end:</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5qitxOnHHdWEruVUxE9CxB1l0EwfUrpRPndpiVU2SbkcN7KAYODgumtXOCDCU4Dn6rb5eqy9seV29tSDmf5tF4B6uRJgcKG9DBfuari2j2CIS796o2fepBg0vdvYJdh4T1E7uPfiUT6w/s1956/m-22-examine-dynamics-365-sales-02.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1071" data-original-width="1956" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5qitxOnHHdWEruVUxE9CxB1l0EwfUrpRPndpiVU2SbkcN7KAYODgumtXOCDCU4Dn6rb5eqy9seV29tSDmf5tF4B6uRJgcKG9DBfuari2j2CIS796o2fepBg0vdvYJdh4T1E7uPfiUT6w/w640-h350/m-22-examine-dynamics-365-sales-02.png" width="640" /></a></div><br /><p></p><p style="background-color: white; box-sizing: inherit; color: #171717; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">In the image above, we can see a potential customer has contacted our organization expressing an interest in our products and services. They are captured and entered as a lead.</p><ul style="background-color: white; box-sizing: inherit; color: #171717; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Qualify:</span> An account executive reaches out to the lead to gather more information about them and determine if a relationship would be mutually beneficial.</p><ul style="box-sizing: inherit; list-style: none; margin: 0px 0px 0px 20px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none circle; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">If it is determined that it is not a good fit, the lead is disqualified and the sales cycle ends.</p></li><li style="box-sizing: inherit; list-style: outside none circle; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">If it is determined that everyone is a good fit, the lead is qualified and converted to an opportunity.</p></li></ul></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Develop:</span> The opportunity record is used to develop the details of the deal. Details such as the products and services they are interested in, estimated revenue, and time-lines are added to the opportunity.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Propose:</span> Once the deal is ready, a quote is added to the opportunity that represents the formal proposal to the customer.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Close:</span> When the customer agrees to the quote, an order is generated. The quote and opportunity associated with the order are closed.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Fulfill:</span> After the order is fulfilled, an invoice is generated to bill the customer.</p></li></ul><p style="background-color: white; box-sizing: inherit; color: #171717; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">To help manage the sales lifecycle, organizations often use salesforce automation software. Modern sales automation software not only helps guide and automate the selling process, but they provide tools to enhance the digital selling experience and build long lasting relationships with customers.</p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p><p><span face=""Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif" style="background-color: white; color: #171717; font-size: 16px;"><br /></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-2218223270662349472021-04-29T08:50:00.005+05:302021-04-29T08:59:35.533+05:30 How to format Date and Time with AM / PM <p> I have used below code for formatting date time in a web-resource in dynamic crm.</p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="font-size: 12pt;">// Formatting Date and Time with AM / PM </span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">function</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> formatAMPM()<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> date = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">new</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> Date();<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> hours = date.getHours();<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> minutes = date.getMinutes();<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> ampm = hours >= 12 ? </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">'PM'</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> : </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">'AM'</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;">hours = hours % 12;<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;">hours = hours ? hours : 12; </span><span style="font-family: Consolas; font-size: 9.5pt;">// the hour '0' should be '12'</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;">minutes = minutes < 10 ? </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">'0'</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> + minutes : minutes;<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> strTime = (date.getMonth()+1)+</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">"/"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;">+date.getDate()+</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">"/"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;">+ date.getFullYear()+</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">" "</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;">+hours+</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">':'</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;">+minutes +</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">' '</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;">+ampm;<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">return</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> strTime;<o:p></o:p></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;">}</span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="background-color: white; color: #222222; font-family: Calibri; font-size: 34px; font-weight: bold;"><br /></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="background-color: white; color: #222222; font-family: Calibri; font-size: 34px; font-weight: bold;">How to format Date in MMDDYYYY</span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"><br /></span></p><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span face=""segoe ui" , sans-serif" style="color: green; font-size: 12pt;">// Formatting Date</span><span face=""segoe ui" , sans-serif" style="color: black; font-size: 12pt;"><o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: "consolas"; font-size: 10pt;">this</span><span style="color: black; font-family: "consolas"; font-size: 10pt;">.setDateOptions = </span><span style="color: blue; font-family: "consolas"; font-size: 10pt;">function</span><span style="color: black; font-family: "consolas"; font-size: 10pt;"> () {<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: "consolas"; font-size: 10pt;"><span style="mso-spacerun: yes;"> </span>Date.prototype.formatMMDDYYYY = </span><span style="color: blue; font-family: "consolas"; font-size: 10pt;">function</span><span style="color: black; font-family: "consolas"; font-size: 10pt;"> () {<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: "consolas"; font-size: 10pt;"> </span><span style="color: blue; font-family: "consolas"; font-size: 10pt;">return</span><span style="color: black; font-family: "consolas"; font-size: 10pt;"> </span><span style="color: blue; font-family: "consolas"; font-size: 10pt;">this</span><span style="color: black; font-family: "consolas"; font-size: 10pt;">.getMonth() + </span><span style="color: #a31515; font-family: "consolas"; font-size: 10pt;">"/"</span><span style="color: black; font-family: "consolas"; font-size: 10pt;"> + </span><span style="color: blue; font-family: "consolas"; font-size: 10pt;">this</span><span style="color: black; font-family: "consolas"; font-size: 10pt;">.getDate() + </span><span style="color: #a31515; font-family: "consolas"; font-size: 10pt;">"/"</span><span style="color: black; font-family: "consolas"; font-size: 10pt;"> + </span><span style="color: blue; font-family: "consolas"; font-size: 10pt;">this</span><span style="color: black; font-family: "consolas"; font-size: 10pt;">.getFullYear();<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: "consolas"; font-size: 10pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></div><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"></span></p><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: "consolas"; font-size: 10pt;">}</span></div><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"><br /></span></p><p class="MsoNormal" style="color: green; font-size: 16px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"><br /></span></p><p class="MsoNormal" style="background: white; color: #222222;"></p><p class="MsoNormal" style="background: white;"><b><u><span style="color: #222222; line-height: 107%;"><span style="font-family: helvetica; font-size: medium;">More Reference <o:p></o:p></span></span></u></b></p>
<h3 style="background: white; margin: 9pt 0cm 0cm;"><span class="MsoHyperlink"><span style="font-family: helvetica; font-size: medium;"><a href="https://vjcity.blogspot.com/2021/04/how-to-validate-end-date-to-be-greater.html" target="_blank"><span style="text-decoration: none; text-underline: none;">How to
validate end date to be greater than start date</span></a><o:p></o:p></span></span></h3>
<h3 style="background: white; margin: 9pt 0cm 0cm;"><u><span style="color: #222222;"><span style="font-family: helvetica; font-size: medium;"><a href="https://www.blogger.com/blog/post/edit/6374430579610947318/4951123752531614338">Guidelines
to write good JavaScript code in Microsoft Dynamic CRM</a><o:p></o:p></span></span></u></h3>
<h3 style="background: white; margin: 9pt 0cm 0cm;"><u><span style="color: black;"><span style="font-family: helvetica; font-size: medium;"><a href="https://www.blogger.com/blog/post/edit/6374430579610947318/4951123752531614338">Refreshing
Rollup field using JavaScript</a><o:p></o:p></span></span></u></h3>
<h3 style="background: white; margin: 9pt 0cm 0cm;"><u><span style="color: black;"><a href="https://vjcity.blogspot.com/2019/12/most-common-javascript-methods-for.html"><span style="font-family: helvetica; font-size: medium;">Most
common JavaScript methods for Dynamic 365 CRM</span></a><span style="font-family: Calibri, sans-serif; font-size: 12pt;"><o:p></o:p></span></span></u></h3><br /><p></p>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6374430579610947318.post-66462087657386406632021-04-29T08:42:00.003+05:302021-04-29T08:56:27.279+05:30How to validate end date to be greater than start date<p> </p><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: green; font-size: 16px;">// Validating Start and End Date</span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 9.5pt;"> ValidateMaintenanceEndDate(executionContext)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> formContext = executionContext.getFormContext();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> startDateField = formContext.getAttribute(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_maintenancestart"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> endDateField = formContext.getAttribute(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_maintenanceend"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> endDateFieldControl = formContext.getControl(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"new_maintenanceend"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> startDate = startDateField.getValue();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> endDate = endDateField.getValue();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="font-family: Consolas; font-size: 9.5pt;"> (startDate != </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">null</span><span style="font-family: Consolas; font-size: 9.5pt;"> && endDate != </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">null</span><span style="font-family: Consolas; font-size: 9.5pt;">)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> startDate = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> Date(startDate.toISOString().substr(0, 10));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> endDate = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">new</span><span style="font-family: Consolas; font-size: 9.5pt;"> Date(endDate.toISOString().substr(0, 10));<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> endDateFieldControl.clearNotification(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ErrEndDate"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="font-family: Consolas; font-size: 9.5pt;"> (startDate >= endDate)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> endDateFieldControl.setNotification(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"cannot be before or equal to Maintenance Start."</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ErrEndDate"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">else</span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> endDateFieldControl.clearNotification(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ErrEndDate"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px;">}</span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt; line-height: 13.5533px;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="line-height: 13.5533px;"></span></p><p class="MsoNormal" style="background: white;"><span style="line-height: 13.5533px;"><b><u><span style="color: #222222; line-height: 107%;"><span style="font-family: helvetica; font-size: medium;">More Reference <o:p></o:p></span></span></u></b></span></p><p class="MsoNormal" style="background: white;"><span style="line-height: 13.5533px;"></span></p><div class="post-header" style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; font-family: Calibri; font-size: 10.8px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 1.6; margin: 0px 0px 1.5em; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div class="post-header-line-1"></div></div><div class="post-body entry-content" id="post-body-221822327066234947" itemprop="description articleBody" style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; font-family: Calibri; font-size: 13.2px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 1.4; orphans: 2; position: relative; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; width: 840px; word-spacing: 0px;"></div><p></p><h3 class="post-title entry-title" itemprop="name" style="-webkit-text-stroke-width: 0px; background-color: white; color: #222222; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: normal; margin: 0.75em 0px 0px; orphans: 2; position: relative; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="font-family: helvetica; font-size: medium;"><a href="https://vjcity.blogspot.com/2021/04/how-to-format-date-and-time-with-am-pm.html" target="_blank">How to format Date and Time with AM / PM</a></span></h3><span style="line-height: 13.5533px;">
<p class="MsoNormal" style="background: white;"><span style="font-family: helvetica; font-size: medium;"><b><u><span style="color: #222222; line-height: 107%;"><a href="https://www.blogger.com/blog/post/edit/6374430579610947318/4951123752531614338">Guidelines
to write good JavaScript code in Microsoft Dynamic CRM</a></span></u></b><b><u><span style="color: black; line-height: 107%;"><o:p></o:p></span></u></b></span></p>
<p class="MsoNormal"><b><u><span style="color: black; line-height: 107%;"><span style="font-family: helvetica; font-size: medium;"><a href="https://www.blogger.com/blog/post/edit/6374430579610947318/4951123752531614338">Refreshing
Rollup field using JavaScript</a><o:p></o:p></span></span></u></b></p>
<p class="MsoNormal"><b><u><span style="color: black; line-height: 107%;"><a href="https://vjcity.blogspot.com/2019/12/most-common-javascript-methods-for.html"><span style="font-family: helvetica; font-size: medium;">Most
common JavaScript methods for Dynamic 365 CRM</span></a><span style="font-family: Consolas; font-size: 12pt;"><o:p></o:p></span></span></u></b></p><br /></span><p></p></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-17463157321586687722021-04-29T08:17:00.002+05:302021-04-29T08:31:56.115+05:30How to format a phone number in Dynamic 365 crm<p> </p><p><span style="color: green; font-size: 12pt;">// Formatting Phone Number</span></p><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span face=""segoe ui" , sans-serif" style="color: green; font-size: 12pt;"><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> formatPhoneNumber(phoneNumber)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> (phoneNumber.length != 10) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">return</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> phoneNumber;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> piece1 = phoneNumber.substring(0, 3); </span><span style="font-family: Consolas; font-size: 9.5pt;">//123</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> piece2 = phoneNumber.substring(3, 6); </span><span style="font-family: Consolas; font-size: 9.5pt;">//456</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> piece3 = phoneNumber.substring(6); </span><span style="font-family: Consolas; font-size: 9.5pt;">//7890</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">return</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> kendo.format(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"({0})-{1}-{2}"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">, piece1, piece2, piece3);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">}</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></span></p><p class="MsoNormal"><span style="color: black; font-family: helvetica; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><b><span lang="EN-US" style="font-size: 12pt; line-height: 107%;">More Reference here<o:p></o:p></span></b></span></p><span style="color: black; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="font-family: helvetica;">
</span><p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0cm 0cm;"><b><u><span style="color: #0070c0; font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><span style="font-family: helvetica;"><a href="https://vjcity.blogspot.com/2021/04/how-to-format-phone-number-in-dynamic.html"><span style="color: #0070c0;">How to format a phone number in Dynamic 365 crm</span></a><o:p></o:p></span></span></u></b></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0cm 0cm;"><b><u><span lang="EN-US" style="color: #0070c0; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: helvetica;"><a href="https://vjcity.blogspot.com/2020/03/how-to-validate-mobile-with-country.html"><span style="color: #0070c0;">How to validate mobile with country code in Dynamic CRM</span></a><o:p></o:p></span></span></u></b></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0cm 0cm;"><b><u><span lang="EN-US" style="color: #0070c0; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: helvetica;"><a href="https://vjcity.blogspot.com/2019/08/how-to-validate-mobile-number-in.html"><span style="color: #0070c0;">How to validate mobile number in Dynamic CRM</span></a><o:p></o:p></span></span></u></b></p>
<p class="MsoNormal" style="background: white; line-height: normal; margin: 9pt 0cm 0cm;"><b><u><span lang="EN-US" style="color: #0070c0; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="font-family: helvetica;"><a href="https://vjcity.blogspot.com/2020/10/remove-comma-from-number-fields-in.html"><span style="color: #0070c0;">Remove comma from number fields in Dynamic 365 CRM</span></a><o:p></o:p></span></span></u></b></p><br /></span><p></p></span></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-37565404683394796362021-04-28T22:33:00.003+05:302021-04-28T23:01:05.025+05:30How to open a web resource and pass parameter in Dynamic 365 CRM<p> </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5_XZtQE836CqhglM4rYKP55s29A_RGk_REEKxz35O4QTLucXoCNOaJ6N8gzVMcndRz7akYM06tm2ZS4NC52e0L_yxY31owiwcjySlUNw_Eny1BbYkiiXB5VN1mThHRiQ670TNfTHfvKA/s575/Picture1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="268" data-original-width="575" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5_XZtQE836CqhglM4rYKP55s29A_RGk_REEKxz35O4QTLucXoCNOaJ6N8gzVMcndRz7akYM06tm2ZS4NC52e0L_yxY31owiwcjySlUNw_Eny1BbYkiiXB5VN1mThHRiQ670TNfTHfvKA/s16000/Picture1.png" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI", sans-serif" style="font-size: 14pt; line-height: 107%;">Dynamic CRM</span><span style="font-size: 14pt; line-height: 107%;"> - </span><span style="color: blue; font-family: Consolas; font-size: 16pt; line-height: 107%; mso-bidi-font-family: Consolas;">Xrm.Navigation.navigateTo</span><span style="color: #7030a0; font-family: Consolas; font-size: 14pt; line-height: 107%; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">I would be using navigateTo here in this blog to launch
a webresource. <o:p></o:p></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p></div><p></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">JavaScript which is used to launch
webresource and pass parameters.<o:p></o:p></span></b></p><p class="MsoNormal"></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> launchContactWebResource()<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">{<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">debugger</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> selectedRow = Xrm.Page.getControl(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"contactgrid"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">).getGrid().getSelectedRows();</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> selectedRecordId =
selectedRow.getAll()[0].getData().getEntity().getId().replace(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">'{'</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">""</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">).replace(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">'}'</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">""</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> selectedRecordName =
selectedRow.getAll()[0].getData().getEntity().getPrimaryAttributeValue();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> selectedContact =</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">{<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>ContactName: selectedRecordName,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>ContactId:
selectedRecordId<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">};<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> pageInput = {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>pageType: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"webresource"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>webresourceName: </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"hel_/html/contact/ShowContacts"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">,<span style="mso-spacerun: yes;"> </span></span><span style="color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">// Web-Resource Schema name </span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>data:
<b>JSON.stringify(selectedContact) </b><o:p></o:p></span><span style="color: green; font-family: Consolas; font-size: 12.6667px;">// pass parameter here</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">};<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> navigationOptions = {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>target: 2,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>width: 400, </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>height: 400, </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span><span style="background-color: #fcff01;">position: 1 <o:p></o:p></span></span><span style="background-color: #fcff01; color: green; font-family: Consolas; font-size: 12.6667px;"><b>// Open in Center</b></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">};<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">window.parent.Xrm.Navigation.navigateTo(pageInput,
navigationOptions).then(<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> success() {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">// Run code on success<span style="mso-spacerun: yes;">
</span></span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>},<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> error(error) {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;">
</span>window.parent.Xrm.Utility.alertDialog(error.message);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;">}</span><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;"></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Web-Resource Code to
fetch and Display Parameters.<o:p></o:p></span></b></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">html</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></b><p></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">head</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">script</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">type</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">="text/javascript"></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> <o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 9.5pt;"> onload()<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
GetSelectedRecord();
<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> <o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 9.5pt;"> GetSelectedRecord()<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">debugger</span><span style="font-family: Consolas; font-size: 9.5pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> id = </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">""</span><span style="font-family: Consolas; font-size: 9.5pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> name = </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">""</span><span style="font-family: Consolas; font-size: 9.5pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="font-family: Consolas; font-size: 9.5pt;"> (location.search != </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">null</span><span style="font-family: Consolas; font-size: 9.5pt;">) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="font-family: Consolas; font-size: 9.5pt;"> (location.search.split(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"="</span><span style="font-family: Consolas; font-size: 9.5pt;">)[1] != </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">null</span><span style="font-family: Consolas; font-size: 9.5pt;">) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> id =
JSON.parse(decodeURIComponent(location.search.split(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"="</span><span style="font-family: Consolas; font-size: 9.5pt;">)[1]))[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ContactId"</span><span style="font-family: Consolas; font-size: 9.5pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> name =
JSON.parse(decodeURIComponent(location.search.split(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"="</span><span style="font-family: Consolas; font-size: 9.5pt;">)[1]))[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"ContactName"</span><span style="font-family: Consolas; font-size: 9.5pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> table = document.getElementById(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"tblOrgActivity"</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> rowCount = table.rows.length;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> row = table.insertRow(rowCount);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
row.insertCell(0).innerHTML = id;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
row.insertCell(0).innerHTML = name;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> } <o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">script</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">head</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">body</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">onload</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">="</span><span style="font-family: Consolas; font-size: 9.5pt;">baseContacts.onload()</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">div</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">id</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">="mydata"></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">div</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">table</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">id</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">="tblOrgActivity"</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">border</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">="1"></span><span style="font-family: Consolas; font-size: 9.5pt;"> <o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">tr</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">td</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;">Name</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">td</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">td</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;">ID</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">td</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">tr</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">table</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">div</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">div</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">body</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;">
</p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">html</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><b><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;">Launch Web-Resource
in Adjacent TAB<o:p></o:p></span></b></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><b><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt; line-height: 107%;"><br /></span></b></p><p class="MsoNormal" style="background-color: white; color: #222222; font-family: Calibri; font-size: 13.2px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">var</span><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> navigationOptions = {<o:p></o:p></span></p><p class="MsoNormal" style="background-color: white; color: #222222; font-family: Calibri; font-size: 13.2px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> target: 2,<o:p></o:p></span></p><p class="MsoNormal" style="background-color: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-color: transparent; font-size: 12.6667px;"><span style="font-family: Consolas;">width: { value: 50, unit: <span style="color: red;">"%"</span> }, </span></span></p><p class="MsoNormal" style="color: #222222; font-family: Calibri; font-size: 13.2px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="background-color: #fcff01;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"> position: 2 <o:p></o:p></span><span style="color: green; font-family: Consolas; font-size: 9.5pt;"><b>// Open in Adjacent Tab</b></span></span><span style="background-color: transparent; color: green; font-family: Consolas; font-size: 9.5pt;"><b> </b></span><span style="background-color: transparent; font-family: Consolas; font-size: 9.5pt;"><b> </b> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"></span></p><p class="MsoNormal" style="background-color: white; color: #222222; font-family: Calibri; font-size: 13.2px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;">};</span></p><p class="MsoNormal" style="background-color: white; color: #222222; font-family: Calibri; font-size: 13.2px; line-height: normal; margin-bottom: 0cm; margin-top: 0cm;"><span style="color: black; font-family: Consolas; font-size: 9.5pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRmD2-UkLlTzl84j_zhFluSEG4IX206k9JsEecepl05jRjEMJmYN3FkezpX2qKOWGdmCqsiebA2ZXGQEQtunTMVU7JbfBa0VZXwXGYDvHbwKVKC3UdpVGDAwEYmUbBkhJ4fOg51uLWQww/s1895/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="599" data-original-width="1895" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRmD2-UkLlTzl84j_zhFluSEG4IX206k9JsEecepl05jRjEMJmYN3FkezpX2qKOWGdmCqsiebA2ZXGQEQtunTMVU7JbfBa0VZXwXGYDvHbwKVKC3UdpVGDAwEYmUbBkhJ4fOg51uLWQww/w640-h202/Capture.PNG" width="640" /></a></div><br /><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span><p></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><br /></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><b><span face=""Segoe UI",sans-serif" style="color: #222222; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">Generic Method to retrieve parameters</span></b><span face=""Segoe UI",sans-serif" style="color: #222222; font-size: 10pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: #222222; font-size: 10pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span><span style="font-family: "Times New Roman",serif; font-size: 12pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">var</span><span style="color: #222222; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> entityId =
getUrlVars()[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">"entityId"</span><span style="color: #222222; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">];</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">var</span><span style="color: #222222; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"> entityName =
getUrlVars()[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">"entitytypename"</span><span style="color: #222222; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">];</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span><span style="font-family: "Times New Roman",serif; font-size: 9.5pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"> </span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">// Read a page's GET URL variables and
return them as an associative array.</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">function</span><span style="font-family: Consolas; font-size: 9.5pt;"> getUrlVars()</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;">{</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> vars
= [], hash;</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> hashes
= unescape(window.location.search.replace(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">'?'</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">''</span><span style="font-family: Consolas; font-size: 9.5pt;">));</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> hashes =
hashes.replace(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">'Data='</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">''</span><span style="font-family: Consolas; font-size: 9.5pt;">).replace(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">'data='</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">''</span><span style="font-family: Consolas; font-size: 9.5pt;">).split(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">','</span><span style="font-family: Consolas; font-size: 9.5pt;">);</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">for</span><span style="font-family: Consolas; font-size: 9.5pt;"> (</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> i =
0; i < hashes.length; i++)</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> {</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> hash
= hashes[i].split(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">'='</span><span style="font-family: Consolas; font-size: 9.5pt;">);</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> vars.push(hash[0]);</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> vars[hash[0]]
= hash[1];</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> }</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;">return</span><span style="font-family: Consolas; font-size: 9.5pt;"> vars;</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;">
</p><p class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt;">}</span><span style="color: #222222; font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><br /></span></p>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6374430579610947318.post-68441884480310406492021-04-16T14:09:00.012+05:302021-08-03T15:27:33.885+05:30How to design a custom grid using HTML Web Resource in Dynamic CRM<p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">I came across a requirement where I was required to
fetch data from outside dynamic crm using third party API and display related data
in a sub-grid.</span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">The sub-grid should have a look and feel close to dynamic
crm sub-grid. So here it is what we came up with.</span></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiVeP8s-wPIc0dstmr8FJHsplp0YHr-Y7szvH9jnCtrs3C5u6GDwBNYDdSdOgdwK2w4w_9FtrQ2atUVvxXYmjs25ZNn0QIPzGtOIKQrwOOHKhBDZzWAlzEFbMqowrNAv-bV3dxldZEyGI/s840/capture+%25283%2529.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="350" data-original-width="840" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiVeP8s-wPIc0dstmr8FJHsplp0YHr-Y7szvH9jnCtrs3C5u6GDwBNYDdSdOgdwK2w4w_9FtrQ2atUVvxXYmjs25ZNn0QIPzGtOIKQrwOOHKhBDZzWAlzEFbMqowrNAv-bV3dxldZEyGI/s16000/capture+%25283%2529.png" /></a></div><p></p><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Will try to explain our implementation in 3 steps.</span></p><p class="MsoNormal" style="text-align: left;"></p><ol style="text-align: left;"><li><span face=""Segoe UI", sans-serif" style="font-size: 12pt; text-align: center;">HTML – to prepare the table
skeleton.</span></li><li><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">CSS – to apply formatting.</span></li><li><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">JavaScript – to dynamically
add row to the table based on data fetched.</span></li></ol><div><span face="Segoe UI, sans-serif"><br /></span></div><div></div><p></p><p class="MsoListParagraph" style="margin-left: 18pt; text-align: left; text-indent: -18pt;"><!--[if !supportLists]--><b><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%; mso-fareast-font-family: "Segoe UI";">1)<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal;"> </span></span></b><!--[endif]--><b><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%;">HTML
– to prepare the table skeleton.</span></b></p><p class="MsoListParagraph" style="margin-left: 18pt; text-align: left; text-indent: -18pt;"><span face=""Segoe UI", sans-serif" style="font-size: 12pt; text-align: center;">Some of the elements are highlighted and are self-explanatory.</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">body</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">onload</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="font-family: Consolas;">heloptyact.onload()</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">"></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">div</span><span style="font-family: Consolas;"> </span><b><span style="background: yellow; color: red; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">style</span></b><b><span style="background: yellow; color: blue; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">="</span></b><b><span style="background: yellow; color: red; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">position</span></b><b><span style="background: yellow; font-family: Consolas;">:</span></b><b><span style="background: yellow; color: blue; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">absolute</span></b><b><span style="background: yellow; font-family: Consolas;">; </span></b><b><span style="background: yellow; color: red; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">top</span></b><b><span style="background: yellow; font-family: Consolas;">:</span></b><b><span style="background: yellow; color: blue; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">0</span></b><b><span style="background: yellow; font-family: Consolas;">; </span></b><b><span style="background: yellow; color: red; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">left</span></b><b><span style="background: yellow; font-family: Consolas;">:</span></b><b><span style="background: yellow; color: blue; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">0</span></b><b><span style="background: yellow; font-family: Consolas;">; </span></b><b><span style="background: yellow; color: red; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">right</span></b><b><span style="background: yellow; font-family: Consolas;">:</span></b><b><span style="background: yellow; color: blue; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">0"</span></b><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">table</span><span style="font-family: Consolas;"> </span><b><span style="background: yellow; color: red; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">id</span></b><b><span style="background: yellow; color: blue; font-family: Consolas; mso-bidi-font-family: Consolas; mso-highlight: yellow;">="tblDataList</span></b><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">"></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">tbody</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">tr</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">5%</span><span style="font-family: Consolas;">;</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">text-align</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">center"></span><span style="font-family: Consolas;">Sr.</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">30%"></span><span style="font-family: Consolas;">Activity
Name</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">42%"></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> Deliverables<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">8%</span><span style="font-family: Consolas;">;</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">text-align</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">center"></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> Milestone<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">8%</span><span style="font-family: Consolas;">;</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">text-align</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">center"></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> Value<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas;">:</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">7%"></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">input</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">class</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="helBtn"</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">type</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="button"</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">id</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="add"</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">value</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="Add
Activity"</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">onclick</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="</span><span style="font-family: Consolas;">addNewActivity()</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">"></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">th</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">tr</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">tbody</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">tbody</span><span style="font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; mso-bidi-font-family: Consolas;">id</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">="tblDataListbody"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">tbody</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">table</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; mso-bidi-font-family: Consolas;">div</span><span style="color: blue; font-family: Consolas; mso-bidi-font-family: Consolas;">></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas;">body</span><span style="color: blue; font-family: Consolas;">></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><p class="MsoNormal" style="text-align: left;"><b><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%;">2) CSS – to apply formatting.<o:p></o:p></span></b></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;"><</span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">></span><span style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#tblDataList</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-family</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'Segoe
UI'</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">Helvetica</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">sans-serif</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border-collapse</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">collapse</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">100%</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">1px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">solid</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#d6d6d6</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#tblDataListbody</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">td</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border-top</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">1px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">solid</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#ddd</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border-bottom</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">1px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">solid</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#ddd</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">padding</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">14px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-size</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">13px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#tblDataList</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">th</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">text-align</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">left</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">background-color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#F3F3F3</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#505050</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border-top</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">1px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">solid</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#d6d6d6</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border-bottom</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">1px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">solid</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#d6d6d6</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">padding</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">4px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">8px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">4px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">8px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-size</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">12px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-family</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'Segoe UI
Semibold'</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">Helvetica</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">sans-serif</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#tblDataList</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">tr:nth-child(even)</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">background-color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">white</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#tblDataList</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">tr:hover</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">background-color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#F8FAFC</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">.helBtn</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">padding</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">6px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">18px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-size</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">14px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-weight</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">600</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-family</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'Segoe
UI'</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">text-align</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">center</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">cursor</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">pointer</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">outline</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">none</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">white</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">background-color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#4dc6ff</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">none</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">border-radius</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">8px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">box-shadow</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">0</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">2px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#999</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">.helBtn:active</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">background-color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#007ab3</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">box-shadow</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">0</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">1px</span><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#666</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">transform</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">translateY(1px)</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">.helBtn:hover</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">background-color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">#009de6</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: maroon; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">.lbl</span><span style="font-family: Consolas; font-size: 10pt;"> {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-family</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'Segoe UI'</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">Helvetica</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">sans-serif</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">font-size</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">14px</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">width</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">100%</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">text-align</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">center</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: red; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">color</span><span style="font-family: Consolas; font-size: 10pt;">: </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">red</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> .helBtnGrey {</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> padding: 6px 18px;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> font-size: 12px;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> font-weight: 500;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> font-family: 'Segoe UI';</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> text-align: center;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> cursor: pointer;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> outline: none;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> color: black;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> background-color: #F0F0F0 ;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> border: none;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> border-radius: 8px;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> box-shadow: 0 2px #999;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> }</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"><br /></span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> .helBtn</span></span><span style="font-family: Consolas; font-size: 13.3333px;">Grey</span><span style="font-family: Consolas; font-size: 13.3333px;">:active {</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> background-color: #D3D3D3;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> box-shadow: 0 1px #666;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> transform: translateY(1px);</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> }</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"><br /></span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> .helBtn</span></span><span style="font-family: Consolas; font-size: 13.3333px;">Grey</span><span style="font-family: Consolas; font-size: 13.3333px;">:hover {</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> background-color: #DCDCDC;</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-size: 13.3333px;"><span style="font-family: Consolas;"></span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"> }</span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"><br /></span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas;"><span style="font-size: 13.3333px;"><br /></span></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">
</span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas; font-size: 10pt; line-height: 107%; mso-bidi-font-family: Consolas;"></</span><span style="color: maroon; font-family: Consolas; font-size: 10pt; line-height: 107%; mso-bidi-font-family: Consolas;">style</span><span style="color: blue; font-family: Consolas; font-size: 10pt; line-height: 107%; mso-bidi-font-family: Consolas;">><o:p></o:p></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"></span></p><p class="MsoListParagraph" style="margin-left: 18pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-align: left; text-indent: -18pt;"><b><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%; mso-fareast-font-family: "Segoe UI";">3)<span style="font-family: "Times New Roman"; font-size: 7pt; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: normal; line-height: normal;"> </span></span></b><!--[endif]--><b><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%;">JavaScript
– to dynamically add row to the table based on data fetched.<o:p></o:p></span></b></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">To simplify the demonstration, I fetched the data from within dynamic Crm
using Xrm.WebApi and creating a table dynamically.<o:p></o:p></span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">
</span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Here is a code which generate table row dynamically. Refer
to the comments for more details.<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"><span style="background-color: #fcff01;"><b><br /></b></span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"><span style="background-color: #fcff01;"><b>bindOppActivity:</b></span> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> () </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> document.getElementById(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'tblDataListbody'</span><span style="font-family: Consolas; font-size: 10pt;">).innerHTML = </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">''</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> selClause = </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"?$select=hel_srno,hel_name,hel_milestone,hel_deliverablesvalue,hel_helixorgactivityname,hel_details,hel_opportunityactivitiesid,_hel_opportunityid_value"</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> filClause = </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"&$filter=_hel_opportunityid_value eq "</span><span style="font-family: Consolas; font-size: 10pt;"> + heloptyact.optyId;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> ordClause = </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"&$orderby=hel_srno asc,hel_name asc"</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">window.parent.Xrm.WebApi.online.retrieveMultipleRecords(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_opportunityactivities"</span><span style="font-family: Consolas; font-size: 10pt;">, selClause + filClause + ordClause).then(<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> success(results)<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">{<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">for</span><span style="font-family: Consolas; font-size: 10pt;"> (</span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> i = 0; i < results.entities.length; i++) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> hel_deliverablesvalue_formatted =
results.entities[i][</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_deliverablesvalue@OData.Community.Display.V1.FormattedValue"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> hel_srno = results.entities[i][</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_srno"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> hel_helixorgactivityname =
results.entities[i][</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_helixorgactivityname"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> hel_milestone_formatted =
results.entities[i][</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_milestone@OData.Community.Display.V1.FormattedValue"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> hel_name = results.entities[i][</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_name"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> hel_primarykeyid =
results.entities[i][</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_opportunityactivitiesid"</span><span style="font-family: Consolas; font-size: 10pt;">];<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> table = document.getElementById(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"tblDataListbody"</span><span style="font-family: Consolas; font-size: 10pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> rowCount = table.rows.length;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> row = table.insertRow(rowCount);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.insertCell(0).innerHTML = hel_srno;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.cells[0].setAttribute(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"style"</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"text-align:center"</span><span style="font-family: Consolas; font-size: 10pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.insertCell(1).innerHTML = hel_helixorgactivityname;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: green; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">// Creating a hyperlink to open record</span><span style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.insertCell(2).innerHTML = </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'<a href="#" \<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;"> onclick="heloptyact.openOptyActivityRecord(\''</span><span style="font-family: Consolas; font-size: 10pt;"> + hel_primarykeyid + </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'\')">'</span><span style="font-family: Consolas; font-size: 10pt;"> + hel_name + </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'</a>'</span><span style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.insertCell(3).innerHTML = (hel_milestone_formatted == </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">null</span><span style="font-family: Consolas; font-size: 10pt;">) ? </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">""</span><span style="font-family: Consolas; font-size: 10pt;"> : hel_milestone_formatted;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> row.cells[3].setAttribute(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"style"</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"text-align:center"</span><span style="font-family: Consolas; font-size: 10pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.insertCell(4).innerHTML = (hel_deliverablesvalue_formatted == </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">null</span><span style="font-family: Consolas; font-size: 10pt;">) ? </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">""</span><span style="font-family: Consolas; font-size: 10pt;"> : hel_deliverablesvalue_formatted;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.cells[4].setAttribute(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"style"</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"text-align:right"</span><span style="font-family: Consolas; font-size: 10pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: green; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">// For Deleting the record, we are using a Delete icon
web-resource and calling a method on it click event</span><span style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.insertCell(5).innerHTML = </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'<input
width="16px" height="17px" type="image" \<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;"> src =
"/WebResources/hel_/image/icon/delete/recyclebin.png" \<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;"> value =
"Delete" \<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;"> onClick
= "heloptyact.deleteOpportunityActivity(this, \''</span><span style="font-family: Consolas; font-size: 10pt;"> + hel_primarykeyid + </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">'\')"
> '</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
row.cells[5].setAttribute(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"style"</span><span style="font-family: Consolas; font-size: 10pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"text-align:right"</span><span style="font-family: Consolas; font-size: 10pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">},<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> (error) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
window.parent.Xrm.Utility.alertDialog(error.message);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">}<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt; line-height: 107%;">);<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;"> </span></p><p class="MsoNormal" style="margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"><b style="background-color: #fcff01;">deleteOpportunityActivity:</b> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> (obj, id) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
window.parent.Xrm.WebApi.online.deleteRecord(</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_opportunityactivities"</span><span style="font-family: Consolas; font-size: 10pt;">, id).then(<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> success(result) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
bindOppActivity();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> },<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> (error) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
window.parent.Xrm.Utility.alertDialog(error.message);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> );<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">},<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"><b style="background-color: #fcff01;">openOptyActivityRecord:</b> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> (recordId) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 10pt;"> entityFormOptions = {};<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> entityFormOptions[</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"entityName"</span><span style="font-family: Consolas; font-size: 10pt;">] = </span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"hel_opportunityactivities"</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> entityFormOptions[</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"entityId"</span><span style="font-family: Consolas; font-size: 10pt;">] = recordId;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> entityFormOptions[</span><span style="color: #a31515; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">"openInNewWindow"</span><span style="font-family: Consolas; font-size: 10pt;">] = </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">true</span><span style="font-family: Consolas; font-size: 10pt;">;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: green; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">// Open the form.</span><span style="font-family: Consolas; font-size: 10pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
window.parent.Xrm.Navigation.openForm(entityFormOptions).then(<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> (success) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
console.log(success);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> },<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 10pt;"> (error) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">
console.log(error);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;"> });<o:p></o:p></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">
</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; text-align: left;"><span style="font-family: Consolas; font-size: 10pt;">}</span></p><b><span face=""Segoe UI",sans-serif" style="font-size: 14pt; line-height: 107%;"></span></b><p></p></div><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6374430579610947318.post-49447414280070674392021-04-02T15:37:00.009+05:302021-07-08T10:05:46.817+05:30Reopen closed activity in Dynamic 365 Crm<p><span face=""Segoe UI", sans-serif" style="font-size: 12pt;">Once an activity is marked as completed in Dynamic 365
CRM, there is no out-of-box way to reopen it.</span></p>
<p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">So here I am outlining a solution that could be used to
reopen any close activity. </span></p><p class="MsoNormal"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">It involves us to</span></p><ol style="text-align: left;"><li><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">A Jscript WebResource</span></li><li><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Creating custom button on specific activity entity</span></li></ol><p></p><p class="MsoNormal"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">1] Create a Jscript Web resource<o:p></o:p></span></b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 9.5pt;"> reopenActivity() </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> activityName =
Xrm.Page.data.entity.getEntityName();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> activityId =
Xrm.Page.data.entity.getId().replace(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">'{'</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">''</span><span style="font-family: Consolas; font-size: 9.5pt;">).replace(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">'}'</span><span style="font-family: Consolas; font-size: 9.5pt;">, </span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">''</span><span style="font-family: Consolas; font-size: 9.5pt;">);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> entity = {};<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> entity.statuscode = 1;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> entity.statecode = 0;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
Xrm.WebApi.online.updateRecord(activityName, activityId, entity).then(<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 9.5pt;"> success(result) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">var</span><span style="font-family: Consolas; font-size: 9.5pt;"> updatedEntityId = result.id;<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
Xrm.Page.data.refresh();<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> },<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">function</span><span style="font-family: Consolas; font-size: 9.5pt;"> (error) {<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">
Xrm.Utility.alertDialog(error.message);<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;"> }<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;">
</p><p class="MsoNormal" style="margin-bottom: 0cm; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm;"><span style="font-family: Consolas; font-size: 9.5pt; line-height: 107%;"> );</span><o:p></o:p></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; margin-top: 0cm; mso-add-space: auto; mso-layout-grid-align: none; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0cm; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">}</span></p><div class="separator" style="clear: both; text-align: center;"></div><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><p class="MsoNormal" style="text-align: left;"><b><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">3] Create a custom button using Ribbon Workbench<o:p></o:p></span></b></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Create a button and define its various parameters.<o:p></o:p></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">ID : <b>new.synlims_inspection.ReOpenActivity.Button</b></span></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="line-height: 107%;">Tool Tip Description: <b>Re-Open this Activity to be edited.<br/><br/>The activity moves to the open activity views.</b></span></p><p class="MsoNormal" style="text-align: left;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglaZDqKmDT9YAOIHvH1hYIzlWlsVovCOhkHDvL837vnIw8mUopey4U4Ur5gElVmO4a9SDR3E250zz0jQC9kP4xto2SeYEZLWgtIF8FexdwoH81Xs-bdEb0-XUnL1Yti1ZA3160NylMKU8/s602/Picture3.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="427" data-original-width="602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglaZDqKmDT9YAOIHvH1hYIzlWlsVovCOhkHDvL837vnIw8mUopey4U4Ur5gElVmO4a9SDR3E250zz0jQC9kP4xto2SeYEZLWgtIF8FexdwoH81Xs-bdEb0-XUnL1Yti1ZA3160NylMKU8/s16000/Picture3.png" /></a></div><p></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Create a command for button and link the Jscript library
created above.<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"></div><p class="MsoNormal" style="text-align: left;">Command ID : <b>new.synlims_inspection.ReOpenActivity.Command</b></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho9FQGaBRQf86za49x-_tPs7UfLz9DB-tdXv_kdvpw2Q07s5XR84JyCzQoOQNP5hyXSBosPIN-W5TW7rCLnn-Sa-WcnuQEyCARXwqPt6oe1Ps2qFetmNUcuwqhanxWNbzHq2qYNcCejnk/s602/Picture4.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="294" data-original-width="602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho9FQGaBRQf86za49x-_tPs7UfLz9DB-tdXv_kdvpw2Q07s5XR84JyCzQoOQNP5hyXSBosPIN-W5TW7rCLnn-Sa-WcnuQEyCARXwqPt6oe1Ps2qFetmNUcuwqhanxWNbzHq2qYNcCejnk/s16000/Picture4.png" /></a></div><p></p><p class="MsoNormal" style="text-align: left;"><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;">Create a FormStateRule<o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"></div><p class="MsoNormal" style="text-align: left;">ID : <b>new.synlims_inspection.ReOpenActivity.EnableRule</b></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKX5JArYtQxZoeEFqdp5mNPE3jC_6oh0OXuSNiUuV6rsDeKwJ8-0p1cKIe7Q-dh0DfVrbobeVj3_hWBDSp4fotEW6BuSbHP1XsU-3Bks0J3XrUpRcjttWOhGIYtf_8-qda5QwLk1qg_E/s602/Picture5.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="225" data-original-width="602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKX5JArYtQxZoeEFqdp5mNPE3jC_6oh0OXuSNiUuV6rsDeKwJ8-0p1cKIe7Q-dh0DfVrbobeVj3_hWBDSp4fotEW6BuSbHP1XsU-3Bks0J3XrUpRcjttWOhGIYtf_8-qda5QwLk1qg_E/s16000/Picture5.png" /></a></div><h1 style="text-align: left;"><br /></h1><h1 style="text-align: left;">Here is a video link for detailed explanations</h1><span face=""Segoe UI",sans-serif" style="font-size: 12pt; line-height: 107%;"><br /></span><p></p></div><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen="" class="BLOG_video_class" height="414" src="https://www.youtube.com/embed/Xrny2RnIIAE" width="661" youtube-src-id="Xrny2RnIIAE"></iframe></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><p></p><div></div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-6374430579610947318.post-7949238223805073672021-01-12T15:54:00.000+05:302021-01-12T15:54:39.420+05:30Dynamic CRM RetrieveMultiple fetching Condition expression<p> </p><p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt;">I observe that RetrieveMultiple build
query different for Classic UI and UCI and to my surprise when we use default sub
grid with displaying only related records, it comes with a difference in query
getting generated.</span><span style="font-family: "Segoe UI", sans-serif; font-size: 12pt;"> </span></p><p>
</p><p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: "Segoe UI",sans-serif; font-size: 12.0pt;">Here, I have used to code to fetch condition
expression that I was interested in and use it further to my business logic<o:p></o:p></span></p><p><br /></p><p></p><p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> (context.InputParameters.Contains(</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Query"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">))</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 9.5pt;">{</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> (context.InputParameters[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Query"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">] </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">is</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">
FetchExpression)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">{<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">// It seems UCI
build and send Fetch Expression</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>FetchExpression fetchExpression =
context.InputParameters[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Query"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">] </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">as</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">
FetchExpression;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>FetchXmlToQueryExpressionRequest
fetchXmlToQueryExpressionRequest = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">new</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> FetchXmlToQueryExpressionRequest()<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>{<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>FetchXml = fetchExpression.Query<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>};<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>FetchXmlToQueryExpressionResponse
fetchXmlToQueryExpressionResponse =
(service.Execute(fetchXmlToQueryExpressionRequest) </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">as</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> FetchXmlToQueryExpressionResponse);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>pluginQueryExp =
fetchXmlToQueryExpressionResponse.Query;</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">else</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> (context.InputParameters[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Query"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">] </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">is</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">
QueryExpression)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">{<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="color: green; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">// Classic UI
build and send Query Expression</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>pluginQueryExp =
((QueryExpression)context.InputParameters[</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">"Query"</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">]);</span><span style="font-family: Consolas; font-size: 9.5pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> (pluginQueryExp.LinkEntities.Count > 0)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">{<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> (pluginQueryExp.LinkEntities[0].LinkCriteria.Conditions.Count
> 0)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>{<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>accountId = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">new</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">
Guid(pluginQueryExp.LinkEntities[0].LinkCriteria.Conditions[0].Values[0].ToString());<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">else</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">if</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">
(pluginQueryExp.Criteria.Conditions[0].Values.Count > 0)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: black; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>accountId = </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;">new</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;">
Guid(pluginQueryExp.Criteria.Conditions[0].Values[0].ToString());<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: black; font-family: Consolas; font-size: 9.5pt; line-height: 107%; mso-bidi-font-family: Consolas;">}</span><o:p></o:p></p><br /><p></p>Unknownnoreply@blogger.com0