Bhubaneswar, Odisha, India
+91-8328865778
support@softchief.com

Category: Dynamics 365 CRM

Change the default currency to local currency in dynamics 365

Dynamics 365 or Dataverse supports multiple currency. You can choose a base currency while creating an environment. For example USD. But if your users are working in different currency then they can change their default currency so that while dealing with customers, they can select local currency. To update default local currency the user need…
Read more

Change the rollup field update frequency in Dataverse or Dynamics 365

By default, each attribute is updated hourly. When a rollup attribute is created or updated a Mass Calculated Rollup Fields job is scheduled to run in 12 hours But you can change it. Follow below steps to change the frequency. Business Scenario: We have a Total Loan Amount Rollup field in customer table and we want…
Read more

Send Email on behalf of another user inside Dynamics 365 model driven app

In Dynamics 365, You can use Timeline control or Activities area to create Emails, Phone calls etc. from within Dynamics 365. While creating an Email Activity inside Dynamics 365 record, by default the FROM address is populated as current login user but you can choose a different user in the FROM address, if you want…
Read more

Get header field value on Form Dynamics 365 Model driven app using JavaScript

You can add maximum 4 fields on header of a entity form in model driven apps. But in JavaScript if you want to get values of any header field of the form you have to use header prefix while reading values. Check the code below and use it according to your business need. Hope it…
Read more

How to enable Export PDF option for custom entities/tables in Dataverse Model Driven apps Dynamics 365

In Dynamics 365 Sales, you have seen that there is an EXPORT TO PDF button available for Quote and on clicking of which you can choose a Quote document template and you can download the PDF or send the PDF as an attachment to respective customer of your choice. The below snapshots are from Quote…
Read more

Sample code Console App for Dataverse Dynamics 365 Power Apps

Console App Sample code.

Sample JavaScripts for Dynamics 365 CE or DataVerse Power APps

Dynamically Add event handlers in Dynamics 365 Form Scripts. Take a look of all code : https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-webapi https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference Hope this helps

Sample code for Plugin using Plugin Images in Dynamics 365 or Power Apps Dataverse

Here sample code given for Plugin using Plugin Images. Hope this helps.

Sample Custom Workflow Code Dynamics 365 CE or Dataverse

Here is the Sample Custom Workflow Activities code for your usages. Modify the code as per your business need. Hope this helps.

RetrieveMultiple Plugin Code to Change View using normal view and Advance Find Views in Dynamics 365 power apps

You can use retrievemultiple message if you want to manipulate the records displayed in a view in power apps views or advance find views. The below plugin code will only display competitor relationship type accounts records if the current user is a IT User else it will display all other account records without relationship type…
Read more

Use FormContext and XRM in HTML Web resource in Dynamics 365 or model driven Power Apps

As Xrm.Page and parent.Xrm are deprecated, you have to use FormContext object and Xrm object using a different approach. This approach will only be used when you added HTML web resource inside a table form as a component. Follow below steps. The business scenario is given below: “Display different Notice content using HTML web resource…
Read more

Hide show button on security role using JavaScript and ribbon workbench Dynamics 366 or Dataverse

here you will understand how to use Enable Rule to hide or show command button as per security role of current user. Business Scenario: The command button “Create Vehicle” on Student table form should only be visible for salesperson security role and for other security role it should be hidden. Follow the steps below: Step…
Read more

Synchronous call from JavaScript to Dynamics 365/ Dataverse Web API using XML HTTP

If you want to call Dataverse/ Dynamics 365 Web API using synchronous calls with XML HTTP object with JavaScript then use the below code and update your code accordingly. The below code snippet checks if a matching enrollment record exist for the same student and course then alerts message and restricts save operation. This function…
Read more

Show hide sitemap sub-area in model driven power apps as per table privilege

In model driven power apps, a sub-area can point to a table, web resource, custom page, URL link and dashboard. You can hide sub-areas as per the table privilege or miscellaneous privilege. here I explained about hiding sub area using table privilege. Watch the video to know more.

Append v/s Append To in Dynamics CRM/ Dynamics 365 CE/ Dataverse

Append and Append To privileges are very confusing for all. This article will explain you what is the difference between them. Append and Append To generally deals with the entities that are having a one-to-many (1:N) (Parent : Child) relationship or many-to-one (N:1) (Child: Parent) relationship. Basically appending means when you select a lookup value…
Read more

Xrm.WebApi calls as synchronous in Dynamics 365/ Dataverse

By default Xrm.WebApi methods are asynchronous so you may get some issues in your script logic. SO how to make this synchronous? Change the code to use async and await keywords. The sample code given here. Hope this will help.

Conditions Branch in Business process Flow (BPF) for Dynamics 365

In Business Process Flow, you can add conditional checks to add more stages or bypass some stages as per business need. Lets take an example. While capturing loan information for a customer, it needs to be checked the loan amount if its greater than 300k then add more stage to capture more information in BPF.…
Read more

Dynamics 365 CE CRM and Power Platform Complete Syllabus

Here is the Dynamics 365 CE CRM and Power Platform Complete Syllabus.

Immersive business process flow in Power Platform configuration and concept

Immersive BPF can be run independently from Power Automate screen. It not required to embed inside model driven apps. Lets explore the steps how to create immersive BPF in power platform. Step 1 : Create a Immersive BPF from power automate portal Open flow website and select correct environment. Click on My flows option. The…
Read more

Change State of record using Plugin in Dynamics 365 CE

To Change record status of dynamics 365 records use below code. Update your code accordingly to suit your business need. Hope this helps.

Status Change Message Plugin Call in Dynamics 365

When you want to call a Plugin on Status change of a record in Dynamic 365 CE then you should use EntityMoniker. Check the code below and update it accordingly and use in your project. IMPORTANT NOTE While registering message in Plugin Registration tool, you have to add SetState and SetStateDynamicEntity messages . Hope this…
Read more

(Solved) npm ERR! code E404 while working with Power Apps PCF

ERROR While working with command npm install you might be facing the 404 issues as given in below screenshot. Solution inside your PCF folder run the commands. STEP 1 : run below commands to solve this issue. npm config set registry http://registry.npmjs.org STEP 2 : run below command next npm -g install npm STEP 3…
Read more

Restrict/Cancel Save operation conditionally in JavaScript as per Async operations result in Dynamics 365

Sometimes you get requirements where you are doing some validation check in JavaScript by calling XRM.WebAPI or some Async operation and if validation failed, you want to restrict Save operation. If the call code is synchronous then there is no issues. But if the code is asynchronous, you need to take special care otherwise it…
Read more

LDM Learning Download Manager Error MCT

IF you find the error in downloading MCT files using LDM application follow these steps. Step 1 : Login LDM Portal Login to https://learningdownloadcenter.microsoft.com/ Click on FAQ link. Choose LDM and find How to enable the browser download experience? option and inside that click enable browser download experience option. Now you can download with out LDM.

Project Service module features in Dynamics 365 Customer Engagement (CE)

In Dynamics 365 CE, Project Service is used to manage service based projects. The below flow explains how a project service flow looks like. The Steps include are given below. Project Sales Management Project Leads Project Opportunities Project Quotes Project Contracts Owning Company Contracting Unit Cost Currency Sales Currency Billing Method Project Pricelists Transaction Classes…
Read more