JavaScript

Get Entity Metadata & Attribute Metadata

JavaScript 

[vc_row][vc_column][vc_column_text] SUMMARY [/vc_column_text][vc_separator][vc_empty_space height=”15px”][vc_column_text]Get CRM Entity MetaData & Attribute MetaData using JavaScript. This Code snippet uses the SDKRest.js library. This example does not require JQuery.[/vc_column_text][vc_empty_space height=”80px”][/vc_column][/vc_row][vc_row css=”.vc_custom_1441482115526{margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}”][vc_column][vc_column_text]CODE EXAMPLES[/vc_column_text][vc_separator][vc_empty_space height=”10px”][vc_tour interval=”0″][vc_tab title=”CODE” tab_id=”1441477385-1-6″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”Code Examples” tab_id=”1441480478401-1-8″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Code Example” tab_id=”1441489788797-3-9″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Information” tab_id=”1441627538859-4-3″][vc_wp_text] No additional information. [/vc_wp_text][/vc_tab][vc_tab title=”Notes” tab_id=”1441480494692-2-9″][vc_wp_text] No additional information. [/vc_wp_text][/vc_tab][/vc_tour][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]MORE INFORMATION[/vc_column_text][vc_separator][vc_empty_space height=”50px”][vc_wp_tagcloud title=” ” taxonomy=”my-product_category”][/vc_column][/vc_row]

Read details

Hide Social Pane Items

JavaScript  ,

[vc_row css=”.vc_custom_1441482115526{margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}”][vc_column][vc_tour interval=”0″][vc_tab title=”CODE” tab_id=”1441477385-1-6″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”Code Examples” tab_id=”1441480478401-1-8″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Code Example” tab_id=”1441489788797-3-9″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Information” tab_id=”1441627538859-4-3″][vc_wp_text] No additional information. [/vc_wp_text][/vc_tab][vc_tab title=”Notes” tab_id=”1441480494692-2-9″][vc_wp_text] No additional information. [/vc_wp_text][/vc_tab][/vc_tour][/vc_column][/vc_row][vc_row][vc_column][vc_wp_tagcloud title=” ” taxonomy=”my-product_category”][/vc_column][/vc_row]

Read details

Get Party List data, Set a Regarding Field

JavaScript  , , ,

[vc_row css=”.vc_custom_1441482115526{margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}”][vc_column][vc_tour interval=”0″][vc_tab title=”CODE” tab_id=”1441477385-1-6″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”Code Examples” tab_id=”1441480478401-1-8″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Code Example” tab_id=”1441489788797-3-9″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Information” tab_id=”1441627538859-4-3″][vc_wp_text] No additional information. [/vc_wp_text][/vc_tab][vc_tab title=”Notes” tab_id=”1441480494692-2-9″][vc_wp_text] No additional information. [/vc_wp_text][/vc_tab][/vc_tour][/vc_column][/vc_row][vc_row][vc_column][vc_wp_tagcloud title=” ” taxonomy=”my-product_category”][/vc_column][/vc_row]

Read details

Namespaces in JavaScript libraries (incomplete)

JavaScript  ,

[vc_row][vc_column width=”1/1″][vc_wp_text]One of the biggest challenges when working with JavaScript is the concept of “Global Namespace Pollution“. If two or more functions have the same name:

Because JavaScript does not have a function overloading mechanism, Function B will override Function A, assuming that the library containing Function B was loaded last. Microsofts advice to anyone writing JavaScript is to use Namespaces or a unique prefix/postfix. Unique Function Prefix

Namespaced library names

Usage

[/vc_wp_text][/vc_column][/vc_row][vc_row css=”.vc_custom_1441482115526{margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}”][vc_column width=”1/1″][vc_tour interval=”0″][vc_tab title=”CODE” tab_id=”1441477385-1-6″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”Code Examples” tab_id=”1441480478401-1-8″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Code Example” tab_id=”1441489788797-3-9″][vc_wp_text]

[/vc_wp_text][/vc_tab][vc_tab title=”SDK Information” tab_id=”1441627538859-4-3″][vc_wp_text] No additional information. [/vc_wp_text][/vc_tab][vc_tab title=”Notes” tab_id=”1441480494692-2-9″][vc_wp_text] JavaScript Libraries for Microsoft Dynamics CRM((https://msdn.microsoft.com/en-us/library/bd56ab90-2179-48ad-bb4a-9539d7c770c2#BKMK_CreatingScriptLibraries)) [/vc_wp_text][/vc_tab][/vc_tour][/vc_column][/vc_row][vc_row][vc_column width=”1/1″][vc_wp_tagcloud taxonomy=”my-product_category” title=” “][/vc_column][/vc_row]

Read details