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

Month: April 2022

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

Display in-app notification in model driven apps power apps for Dynamics 365

You can display in-app notifications in Dynamics 365. Follow the below steps: Step 1 – Enable Settings for In-app notification Open a model driven app of your choice and click on F12. in console paste the below code and press enter. Make sure to use correct model driven app unique name. Step 2 – Prepare…
Read more

How to check dependencies of a component inside a solution in power apps

To check dependencies of a solution component first you need to open the component inside the solution. select the component and click Show Dependencies. Now it will open dependencies panel. Using which you can understand which other components depends on this component. You can notice the object type to understand component type. Here in our…
Read more

Managed v/s Unmanaged Solution in Power Apps Dynamics 365

Here is the list of differences between Managed and Un-Managed solutions in Power APps. Managed Solution: Completed solution ready for distribution/export, in which the solution components are prevented from being modified in the target environment to which it is imported. Possible to set managed properties, granular levels of rights to change components of the solution…
Read more

How to switch classic solution screen for dynamics 365

Microsoft already rolled out modern solution design using power apps. but sometimes you need to navigate to classic mode. TO switch to classic mode of solutions in dynamics 365 follow the below steps: Step 1 – Open Power Apps and Solution Area Browse https://make.powerapps.com/ and choose correct environment. Click on Solutions option from left panel.…
Read more

Enable Custom Entity for the Dynamics 365 App for Outlook for tracking activities

To enable custom entities or other entities inside Dynamics 365 Apps for outlook follow below steps: Watch video here or scroll to read the blog for steps: Step 1 : Edit Dynamics 365 App for Outlook go to make.powerapps.com. choose correct environment. click on Apps area. Search Dynamics 365 App for outlook App. Click on…
Read more

[Resolved] License cannot be assigned to a user without a usage location specified – While adding Guest user

While adding Guest user and assigning license you may get the below error. If you click the link it will open details and show the below error as The user is without a usage location specified. Resolution Click on Profile link and click Edit. In the settings area and choose Usage location and Save. Now…
Read more

How to display long text in power portal as form field caption

Sometimes you need to display a paragraph as a caption for a form field in power portal or table form. But table fields do not support paragraphs to display. So how can you do? Follow below steps: Add a section inside tab and in the section label specify the paragraph you want to display. drag…
Read more

Power Automate vs Logic Apps

Power Automate is built on top of Azure Logic Apps but there are differences in terms of the environments they are used from, e.g. Office 365 and Azure, which provides unique features and optional methods of construction. Here are some of the following key differences: Description Power Automate Logic Apps Focus End Users and Makers…
Read more

Create your first PCF custom control step-by-step and deploy in Power Apps

Follow below steps to create your first PCF control for Power Apps. Step 1 – Install Node JS First you have to install node.js using official website of Node JS. Follow the link https://nodejs.org/en/download/current/ to navigate to Node JS site. Click on Windows Installer to download the setup file. chose a folder to save the…
Read more

Connect Dataverse Dynamics 365 using Bearer token using power automate

To connect dynamics 365 dataverse using power automate you need to get the bearer token first. Follow below steps to get bearer token. You need to add URI with tenant id use correct tenant id from azure active directory application. URI = https://login.microsoftonline.com/652c35af-04b4-4d8f-9db0-9bb2c58bc908/oauth2/token Content-Type= application/x-www-form-urlencoded in body put below: (get this client id, client secret…
Read more

Add or Remove items options from Multi-select optionset field (Choices) in Dynamics 365 power apps using javascript

In this article you will see how you can add or remove dynamically optionset values in a multi-select optionset or choices data type field in dynamics 365 power apps. Lets take a scenario: you have two fields one is Gender Choice (Male, Female) (Single select optionset) and another is Degree Choices (MCA, MBA, BTech, Bsc)…
Read more

Hide command button on rule in Power Apps using PowerFX

To set visibility of command button using Power FX follow below steps: Add Command button using Edit in Preview method of Power Apps. Open any model driven app, click 3 dots to choose Edit in Preview and choose entity for which you want to add button. Choose where you want to add button. You can…
Read more

Open custom page as modal pop-up from dynamics 365 power apps

You can open custom pages as a modal pop from Dynamics 365 form custom command button click. Step 1 : Create a Custom Page inside a Solution ( Read here how to add custom page ) Add a custom page inside a solution. The page contains a textbox and a button. on button click we…
Read more

How to add Dynamics 365 Apps inside Microsoft Teams

Microsoft Teams is a hidden treasure. You can leverage Teams to add multiple diversified native and external apps from within the Teams App without navigating to external window. Follow steps below to add Dynamics 365 Apps inside Teams Apps. Step : 1 – Open Teams App and click Add App Open office.com using your official…
Read more