Introduction:
Power Platform, Microsoft Dynamics CRM 4.0, 2011, 2013, 2015, 2016, D365 CE, C#, ASP.net and MVC, Azure
Saturday, May 9, 2026
How to Show Notification in Model Driven App using C#
Thursday, April 16, 2026
How to Clear Cache in Canvas PowerApps while working on Offline mode?
Introduction
In this blog, we’ll look at how to clear cache in Canvas Apps when using the Power Apps mobile application, especially when the app behaves inconsistently.
Issue Faced
The app works perfectly in browsers like Edge, Chrome, and Firefox.
However, when running the same app on mobile:
Sometimes it works
Sometimes it doesn’t reflect recent changes
Troubleshooting Attempts
I tried the following steps:
Created a new app → worked fine
Tested in browser → worked fine
Tested in mobile/tablet mode → worked fine
After making changes to the app:
Browser version → worked fine
Mobile version → did not reflect updates
I also tried clearing cache from mobile device settings, but that did not resolve the issue.
Solution (Fix)
The issue was resolved by clearing cache directly inside the Power Apps mobile application:
Open the Power Apps mobile app
Log in to your account
Tap your profile picture (top-left corner)
You will find a “Clear Cache” option
Tap it and confirm
Conclusion
Clearing cache from within the Power Apps mobile app ensures that the latest version of your Canvas App loads correctly and resolves inconsistent behavior.
Tuesday, March 24, 2026
How to Retrieve Security Role based on Access in Dataverse using FetchXML ?
Introduction:
- Navigate to https://make.powerautomate.com
- Click New Flow
- Create an Instant Cloud flow
- Add Input Parameter as Name (to query what type of Access with Table Name)
- Same Formatting to pass as Input Parameter
- prv + AccessType + TableLogicalName
- prv - Prefix
- AccessType - What type of access?
- Read
- Write
- Create
- Append
- AppendTo
- Share
- Assign
- TableName - Which table to query?
- Account
- Contact
- etc
- Now Add List Rows
- Add Table Name as Security Role
<fetch> <entity name="role"> <attribute name="name" /> <attribute name="roleid" /> <link-entity name="roleprivileges" from="roleid" to="roleid" alias="rp"> <attribute name="privilegedepthmask" /> <link-entity name="privilege" from="privilegeid" to="privilegeid"> <filter> <condition attribute="name" operator="eq" value="prvReadAccount" /> </filter> </link-entity> </link-entity> </entity> </fetch>
- Add Table Name as Security Role
- In the above query am passing prvReadAccount
- Am getting all security roles having Read Permission of Account
- Am getting all security roles having Read Permission of Account
- Save and Run
- Sample image of Power Automate
- Sample Output
- Output comes with Security Role Name and Privilege id as well
Sample Privilege copied for ChatGPT
Thursday, February 12, 2026
Strange Popup in Power Apps Confirm(): What’s Happening?
Introduction:
In this blog we will see how to show New Confirm Pop up in canvas PowerApps
- Navigate to https://make.powerapps.com
- Create a new App
- Change your App to New version
- Write Below Code
- Confirm("Confirm Button Popup");
- Confirm("Confirm Button Popup");
- You will see browser PopUp
- But this is not an Actual Canvas App Popup, Lets see how we can get new Canvas PowerApps Confirm()
- Click Settings
- Select Updates
- Look for Modern controls and themes
- Toggle it ON
- Click Close
- Now Click the same button
- Now you will get the Confirm() canvas Pop Up
By following above steps we can get rid of Browser Popup and get the new Canvas App popup.
Understanding the Confirm Function in Canvas Power Apps
Introduction:
- Open https://make.powerapps.com
- Select Apps and Click New App and Select Start with a Page design
- Select Blank Canvas App and Click Create
- Once Page Opened, Verify the below PreRequisites
- Click Settings, select Support and make sure it is in Latest Version
- Once Selected Click Reload + apply version
- Save the App with Name
- Now Click Settings and Enable Modern Controls and themes
- Once App Loaded add a button
- On Select of Button Write below Code
- Confirm("Confirm Button Popup")
- Confirm("Confirm Button Popup")
- Now Add below Code
- Set(getSelectedOption,Confirm("Confirm Button Popup"));
- Set(getSelectedOption,Confirm("Confirm Button Popup"));
- Add a label to form and provide Text as "getSelectedOption"
- Now when user selects Confirm you will get response as True
- If User selects cancel you will get response as False
- Now when user selects Confirm you will get response as True
- Now Try below code for Title and SubTitle
- Set(getSelectedOption,Confirm("Confirm Button Popup",{Title:"Header Title",Subtitle:"Sub Title"}));
- Set(getSelectedOption,Confirm("Confirm Button Popup",{Title:"Header Title",Subtitle:"Sub Title"}));
- Now Try below code to update Confirm and Cancel Button text
- Set(getSelectedOption,Confirm("Confirm Button Popup",{Title:"Header Title",Subtitle:"Sub Title",ConfirmButton:"Ok",CancelButton:"Ignore"}));
- Set(getSelectedOption,Confirm("Confirm Button Popup",{Title:"Header Title",Subtitle:"Sub Title",ConfirmButton:"Ok",CancelButton:"Ignore"}));
- Now try below Code
- If(Confirm("Confirm Button Popup",{Title:"Header Title",Subtitle:"Sub Title",ConfirmButton:"Ok",CancelButton:"Ignore"}),Notify("Confirmed"),Notify("Cancelled"));
Based on selection it will show Popup if you Click Ok it will Notify as Confirmed else Cancelled
- If(Confirm("Confirm Button Popup",{Title:"Header Title",Subtitle:"Sub Title",ConfirmButton:"Ok",CancelButton:"Ignore"}),Notify("Confirmed"),Notify("Cancelled"));
Going further we don't want to spend much time in Creating Popup :) by having simple command we can achieve this.
Saturday, January 24, 2026
How to disable Form JavaScript Using URL in Model Driven app and MSCRM
Introduction :
How to disable Form JavaScript Using URL in Model Driven app and MSCRM .
- Navigate to your Environment
- Open the Form which is Broken in my Case it is CONTACT FORM
- Copy the URL and Put it in NotePad
- Append the Below Script in the URL
&flags=DisableFormLibraries=true - Final Output Will be
- Verify Form Loads Successfully
- Now if the Form Loads successfully it confirms that the issue is with Code
- Now you can open the form and add Debugger and Start your testing.
Based on above steps you can easily find the issue either it is from JavaScript or Form issue.
Tuesday, January 13, 2026
How do I patch a Currency field value from a Canvas Power App to Dataverse?
Introduction:
- Navigate to https://make.powerapps.com
- Click On Apps
- Click New and select Start from Page Design
- Click Create
- Now once the page opened Add a Datasource called Accounts
- Now Add a Gallery and Select Items as Accounts
- Now Add a Form and Select Items as Accounts and Gallery.Selected as Account
- Add a Column Annual Revenue ( in my case am using account table as my DS)
- Add a Submit Button
- On select of Submit button add below code
Patch(Accounts, LookUp(Accounts,Account = Gallery1.Selected.Account), {'Annual Revenue':Value(DataCardValue1.Text)})
- Patch - Save the record to DB
- Account - Table Name
- Lookup Query - Retrieve the record to Update
- Annual Revenue - Column Name
- Value - As Annual revenue is my Column to update it will expect Number
Thursday, January 8, 2026
How to disable recently used records in lookup fields in CRM and Dataverse?
Introduction:
In my case, I want to hide the “Recently Used” section in the Parent Account lookup so that only recently created records are shown. Let’s see how we can achieve this.
- Navigate to https://make.powerapps.com
- Select Tables
- Look for Account Tables
- In the Account Tables select the Forms
- Open Account Form
- Once the Form Opened select the field PARENT ACCOUNT
- At the right side you can see an Option to Select "Disable most recently used items"
- Click Save and Pubish
- Now open the Model Driven App and click the same field you cannot see the Recent Accounts
By following above steps we can easily disable most recent records from Lookup.
How to Show/Hide Particular Views based on Security Role ?
Introduction:
- Navigate to https://make.powerapps.com
- Click Tables
- Select the Tables you want to Restrict the views based on Security Roles
- In my case am Taking Account Table into Consideration
- Click On Account
- Select Views
- Select the Views and Click View Settings
- You can see 2 Options
- Everyone
- Specific security roles
- Everyone
- If you select Everyone all the users in the system can able to see the Views
- If you select Everyone all the users in the system can able to see the Views
- Specific security Roles
- If you select this you need to select Particular Role to see the views
- If you select this you need to select Particular Role to see the views
- Once done click Save and Publish
- Now Open your Model Driven App
- Open Account Entity You can see the Security Role Applied
By following above steps we can easily show or hide views based on security role.
How to Show Notification in Model Driven App using C#
Introduction: In this blog, we will see how to show Notification in Model Driven App Using C# Implementation steps: For your function apps...
-
Hi All, If any one facing the issue in Console application while connecting to MSCRM(onpremises) with IFD as Unable to Login to Dynamics ...
-
Introduction: In this Blog, we will see how to Download Image from Image Field from Dataverse using PowerApps Implementation Steps: 1. Nav...
-
Introduction: In this blog we will see how to Add an Image or Icon in SUBGRID / VIEWS in Model Driven Apps or Dynamics CRM Steps to Follow: ...