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

Author: Sanjaya Pradhan

(Solved) msbuild is not recognized as an internal or external command, operable program or batch file while working with PCF

When you run command msbuild you may face below error. ‘msbuild’ is not recognized as an internal or external command,operable program or batch file. Soution To solve this follow below steps. Step 1 – Go to properties of current machine This PC. Step 2 – click on Advanced system settings Step 3 – Click Environment…
Read more

(Solved) ERESOLVE unable to resolve dependency tree while installing a pacakge while working with PCF

While working with PCF you might install Fluent UI but you may face below issues. ERESOLVE unable to resolve dependency tree while installing a pacakge Solution To solve this follow below methods step by step. It means you have dependency conflicts. So try running the following options one by one. 1. Remove node_modules and package-lock.json and then run 2.…
Read more

(solved) Type ‘string | null’ is not assignable to type ‘string’ while working with PCF

While working with PCF you might get the below error. Type ‘string | null’ is not assignable to type ‘string’. Solution Make sure you have a default value for the value you’re trying to get. In this case, I had to default to empty string. Hope this helps.

(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.

The subscription is not registered to use namespace ‘Microsoft.AzureActiveDirectory’. See https://aka.ms/rps-not-found for how to register subscriptions.

To fix this use Azure Power Shell and hit the command Register-AzureRmResourceProvider -ProviderNamespace Microsoft.AzureActiveDirectory Now the error will go away. Hope this helps

Power Portal WEB API Read, Create, Update, Delete records using Dataverse tables

Step 1 : Create Site Settings Records Step 2 : Create Table Permission, Web Role and Contact Association Create Table Permission Create Web Role Associate Web Role with Contact Step 3 : Create Web Template to add liquid code Create a web template and add below code. Use Microsoft site for full tutorial . And…
Read more

Web Template v/s Page Template v/s Web Page in Power Portal

In Power Portal, Web pages are the final page that renders on browser but the web page construction depends on Page template and web template. Let us understand the relation between these three components. Web Template In Power Portal, web templates are the top-tier content records. They can work with HTML, CSS, JS, jQuery and…
Read more

Use validation on Submit button on Basic Form in Power Portal

In Power Portal, If you want to add custom validations on Submit button click then you have to use following code. Open the Basic form where you want to add validation using Portal Management model-driven app. navigate to additional settings and scroll down to custom JavaScript section. Specify the code below. Make sure to change…
Read more

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

How to install Project Service Operation (PSA) in an existing Power Apps environment

If you want to install Project service automation, follow below steps. Step 1 – Subscribe Project Operation trial Navigate to https://dynamics.microsoft.com/en-us/dynamics-365-free-trial/ and scroll down to select Project Operation. Click on Try for free. Validate existing credential or login using existing credential. Click on Continue. It will setup the Project operation. Step 2 – Assign License…
Read more

Create your first Power Portal App using Power Apps

Power Portal is a powerful no-code & less-code way of developing web apps for public users (Un-licensed) interactions with Dataverse records. In this blog you will come to know how to create a portal app step by step. You can create power portals using make.powerapps.com portal. Open the make.powerapps.com website and choose correct environment. Click…
Read more

Retrieve Many-to-Many (N:N) Relationship Records using Web API in Dynamics 365 using JavaScript

The below code can be used when you want to read N:N or many-to-many related records and do some logics for validations. As N:N intersect table cannot be found in Advance Find you can check the name of intersect table from powerapps solution. The below code runs on a command button click and checks if…
Read more

Declare environment variables and use it in Power Automate

You can configure or declare environment variables inside a power apps solution to keep configurable data items or static data items so that you can use the value in other apps such as canvas apps, power automate etc. Here in this post you will come to know how to declare an environment variable and call…
Read more

Configure a Community Portal in Power Portal using Power Apps

Microsoft provides many pre-build templates so that you can use it as a template without creating start from scratch portal. The templates contains all pre-built resources and components you can use. The pre-build portals are available as below. Community Portal Customer Self Service Portal Partner Portal Employee Self Service Portal Customer Portal In this post…
Read more

Chat with others from within Dynamics 365 Model driven apps using MS Teams

Your can now chat with your fellow colleagues and employees being within Dynamics 365 Model-driven apps using Microsoft Teams app. Follow the steps to enable the MS Teams feature inside Dynamics 365 Apps. Step 1 – Enable Teams Configuration Open any model-driven app and click on chat icon from top right corner. It will open…
Read more

How to add products inside an opportunity in Dynamics 365 CE CRM Sales Hub App

In Sales Hub App in Dynamics 365 CE/CRM Sales Life Cycle, Opportunity management is an important concept. In Opportunity, you can associate products with quantities the customer asked for. In this post you will know how to add products into an opportunity record. First open the Opportunity record in which you want to add products.…
Read more

Get Client URL in JavaScript for Dynamics 365 CE scripts

To get client URL use below script. It will return the URL like this https://[org].crm.dynamics.com. hope this helps.

Get current user id using JavaScript in Dynamics 365 CE CRM script

To get current user id you can use the following script: This will return GUID with curly braces. To get current user name you can use the following script: To get current user roles you can use the following script: Returns an array of strings that represent the GUID values of each of the security…
Read more

How to display progress bar using JavaScript for Dynamics 365 CE

Sometimes for long waiting scripts takes time to complete the execution. In this type of scenarios it is best practice to show a progress bar to user so that user will wait till the progress bar closes. In Dynamics 365, You can implement progress bar using JavaScript. The following sample method will tell you how…
Read more

Open windows using NavigateTo client API in Dynamics 365 Power apps

If you want to use scripts to open windows from command buttons or events in Dynamics 365 and Power Apps model driven apps use following scripts appropriately. Hope this helps.

Filter lookup with custom condition in JavaScript in Dynamics 365

For some business requirements you need to add some more conditions to filter lookup controls. SO in this post you will see how you can add custom filter conditions. First you need to create a JavaScript web resource and add below code. The requirement you need top add a condition to Account lookup on opportunity…
Read more

Best Dynamics 365 and Power Apps Online Training

Dynamics 365 Training Enroll NOW CE CRM & POWER APPS The trainings are Live online training delivered by MCTs and MVPS ensuring quality training and live project business scenarios. Know Your Trainer : Big demand in market to get jobs JOBS 100% Book your seat for upcoming Training Batch : Call to +91-8328865778 Twitter Youtube…
Read more