Tag: Dynamics 365
-
Dynamics 365 – Hide/Show Custom Ribbon Button by Ribbon Workbench
If you have a custom ribbon button and you want to hide/show it by a condition, this is what you need to do; Open Ribbon Workbench and navigate to your button Select Command of your button. Under Command properties scroll down to Enable Rules. Click “Add Enable Rule” button. Select…
-
Dynamics 365 Get OptionSet Text and Value using Javascript
It is very easy to get OptionSet text and value :
-
How to Set Lookup Field Value Using JavaScript -Dynamics 365
To set a lookup field value, you need 3 parameters. Id of the lookup record name of the lookup record entity name of the lookup entity Here is how to use these values to set an account lookup field. var lookupValue = new Array();lookupValue[0] = new Object();lookupValue[0].id = myAccountId;lookupValue[0].name =…
-
Dynamics 365 Best Practices – Web resource dependencies
Web resources are one of the most important and crucial feature of Dynamics 365. It allows you to extend form customizations, the Sitemap, business logic, ribbon buttons and so on.. You usually refer to the controls(attributes) from Web resources to change their values, validate fields, trigger some events. But if at…
-
Query Dynamics 365 CDS Data with SQL
SQL 4 CDS tool allows you to use standard SQL syntax to query and manipulate your data and metadata in Dataverse. You can add SQL 4 CDS to your XrmToolbox and start using it within your CRM data. With SQL 4 CDS queries are converted to FetchXML where possible, allowing…
-
Dynamics 365 – Form Notifications Using Javascript
This post discusses the use of form level and field specific notifications in JavaScript for showing notifications when certain fields change in Dynamics 365. It explains how to trigger notifications on form events and provides code examples for setting and clearing notifications at both form and field levels.