Skip to main content

Posts

Showing posts from 2017

Execute/Access CRM actions from Iframe using Javascript- Dynamics CRM 2016 / 365 (Turbo Forms)

Execute/Access CRM actions from Iframe using Javascript- Dynamics CRM 2016 / 365 (Turbo Forms) Some times we need to perform CRM Page actions from Iframe , for that purpose use below code snippet . Code to be written on Iframe Page window.parent.postMessage("Submitted", "*"); Code to be written on CRM Form Javascript if (window.XMLHttpRequest)     window.parent.addEventListener( "message" , receivePostMessage, false ); else     window.parent.attachEvent( 'onmessage' , receivePostMessage); function receivePostMessage(e) {          if (e.data == "Submitted" ) {         // CRM Actions  , here I am closing the form as an example.         Xrm.Page.ui.close();     }

How to hide CRM 2016 / 365 bottom save button using Javascript (Turbo Forms)

How to hide CRM 2016 / 365 bottom save button using Javascript (Turbo Forms)  Some time client will request you to hide the bottom right corner save button in status bar to prevent the user click. You can use below JavaScript snippet to do that. function  hideSaveFooter() {      try {         $(window.parent.document).ready( function () {             setTimeout( function () {                  try {                      debugger ;                     $( "#savefooter_statuscontrol" , window.parent.document).hide();          ...

Dynamics CRM 2016/365 Field Properties

Dynamics CRM 2016/365 Field Properties  Every time you create new field, remember that there are several properties that you can configure this field. All properties are described as following points: Display Name : The label of the field, visible in all the places where field is referenced such as forms, views, and reports. Name : The logical name of the field;   Description : This is used to provide additional information or setup tooltips for the field. Field Requirement : The requirement level of the fields. It has three options: Business Required, which is mandatory; Business Recommended, which means it is recommended for business: and Optional. Searchable : This property defines whether we can query the entity record based on this field or not using advanced find. Field Security : Used to protect fields based on the field level security profile; we can configure the field level security for both...

Dynamics CRM 2016/365 Data Types

Dynamics CRM 2016/365 Data Types All data types of Microsoft Dynamic CRM are listed in following table. Data Type Specification  Single line of text  Single line of text is used for single lines of text. Support a maximum of 4,000 characters. Using Options Email: Text Text area URL Ticker Symbol Phone:  Option sets  It is look like drop down list in Web page or combo box window form. It provide several options for selecting. Just 1 value can be selected. Storing the text as Title and integer as Value. Entity table just store the Value in database, other information are stored in  string map  table. There are 2 type of option Set Global Created in solution and can be referred to any local option Set. Local specify to entity only  Two options  It is Boolean Value Yes/No is default option, can be renamed as needs Can be set default opt...