Requirement In Dynamics 365 Customer Engagement (CE), managing data is crucial for maintaining a clean and efficient database. When we delete records, out of the box auditing feature can help to see audit information of the deleted record but what if we want to see the reason why this record was deleted?. With a simple customization, we can implement this… Read more »
Requirement Add validation on child entity form based on parent entity. Details Sometimes we want to check name of the parent entity in the child entity quick create form for validation. We can use JavaScript for this validation. For the demo let’s say when someone will try to create contact record from subgrid under Account we want to display a… Read more »
This is our last post to create a RSS feed dashboard in Microsoft Dynamics CRM 2013. Please check our previous posts to create a RSS feed web resource for Microsoft Dynamics CRM Team blog and Twitter user account. In this post we will use these web resources in our dashboard. Please follow our previous post to get RSS feeds and create web resources for… Read more »
I found one question in CRM Development form where user asked to show some processing message during long function execution, we have done this in many projects, so I thought to write this post so that it can be help CRM developers. if you are doing some processing or calling any webservice which is taking time to execute and you want to… Read more »
If you want to fetch Max value from CRM entity record using Javascript, you can use below code, remember to change entity and field name accordingly var authenticationHeader = GenerateAuthenticationHeader(); // Prepare the SOAP message. var xml = “<?xml version=’1.0′ encoding=’utf-8′?>”+ “<soap:Envelope xmlns:soap=’http://schemas.xmlsoap.org/soap/envelope/’”+ ” xmlns:xsi=’http://www.w3.org/2001/XMLSchema-instance’”+ ” xmlns:xsd=’http://www.w3.org/2001/XMLSchema’>”+ authenticationHeader+ “<soap:Body>”+ “<RetrieveMultiple xmlns=’http://schemas.microsoft.com/crm/2007/WebServices’>”+ “<query xmlns:q1=’http://schemas.microsoft.com/crm/2006/Query’”+ ” xsi:type=’q1:QueryExpression’>”+ “<q1:EntityName>EntityName</q1:EntityName>”+ //change entity name “<q1:ColumnSet… Read more »
If you are looking to run .exe from MS CRM 4.0, then you can do this easily. You can create a ISV button on MS CRM form and create on global function on formonload can call it in ISV button JS.. you can write below code to run .exe var _Object=new ActiveXObject( “WScript.Shell” ) ; _Object.Run(“C:\WINDOWS\system32\calc.exe” ); you can also pass… Read more »
sometime we need to perform some action when activity is closed in MS CRM.In that case you have to capture close activity event, you can do this using event.Mode property in onsave event. you just have to write below code. if(event.Mode==5) //Close activity event { //you code to implement your logic } Enjoy !!!
As you know that we can set control formatting of bit field to use it as checkbox. But only changing formatting does not make it to behave like a checkbox because of onchange event. Let take an example for this, like we have one field “Calculate Value” and we want to calculate some value on the selection of this bit… Read more »
Most of the client asks for this requirement. They want to hide picklist options based on security roles. Let’s take an example for this, for example if we have picklist “Customer Status” having four option like “Request for Approve”,”Approved”,”Rejected”,”Black Listed”. Let’s say we have requirement to show only first option to all users having security roles other then “System Admin”…. Read more »
Today I found one question in MS CRM Development Forum to format Left navigation item, we can easily do this with JS. Just use below code on form load. I have tested this in contact form to form “More Addresses” var Item=document.getElementById(‘navAddresses’); if(Item!=null){ Item.style.fontWeight = ‘bold’; Item.style.color = ‘#ff0000’;} and result will be as below