Calling a RTW from ribbon button on Dynamics 365
Hello, I had a customer request recently where the timing parameters may change periodically for certain fields on the form, we love to have workflows for citizen developers who can configure anytime without the need of developers. But to make the execution quick and smooth we love our client scripts. Below is the scenario, where I have to use the JavaScript to call the configurable… Continue Reading mscrmsama’s Article on...
Data Export Service for D365 CDS v9.1x and Azure SQL
Hi Geeks, Sharing something I have recently refreshed myself on with D365 for apps Data export service (DES) This is a standard OoB plugin form Microsoft to Sync data between Common data service and Azure SQL database. This process is commonly used for customers who want to use copy of CDS data to Azure SQL, Azure SQL being Datawarehouse and build reports on top of it, also migrate data… Continue Reading mscrmsama’s...
D365 Set status and statusreason from custom ribbon button using JavaScript on UCI
We have seen including myself this request quite a lot from early days on CRM 2011 ‘Set Status, Statusreason by clicking the ribbon button’. I started to love the new way of getting this done so quickly in latest UCI by just calling the Xrm.WebApi.updateRecord function to update the record. All we need before start is JavaScript Webresource, Ribbon button on the entity form. See below scenario… Continue Reading...
D365 CE UCI JavaScript: alert() throwing error, replace with Xrm.Navigation.openAlertDialog
Geeks, JavaScript on new interface UCI is throwing error when we use standard alert() method on BPF field OnChange event. alert(“message”); //Old code that is failing sometimes it takes you to infinite loop after you click Ok to come out of context. Easy fix as suggested by Microsoft to start use below code on UCI and .then() for call back functions is optional Continue Reading mscrmsama’s Article on their blog D365...
CRM Visual studio project Unsupported error: Project types may not be installed
Case study: When we download the CRM projects from the GIT or TFS repository with old version like VS 2013/2015 version and try to open in latest version like 2017/2019 Issue replication: Open the downloaded project from GIT repo in VS 2017/2019, then we hit with this error. Though the migration scripts run behind, to upgrade most of the code to work in latest version, but still we facing… Continue Reading...
Basics CRUDE JavaScript V9.x webapi Unified Interface
Hello, Thanks for visiting, some goodies for you. Recently I have met CRM MVP Guido Preite came to know the beauty of webapi on JavaScirpt. Smart code and quick development by XRM.WebApi wrapper for server side calls on clientside. Amazing part is, response is quite fast. function CreateRecord() { var data = { “name”: “Sample Account”, “primarycontactid”: { “firstname”:...