Archive

Author Archive

Dynamics 365 and Microsoft Power Platform | Release planner

As the Dynamics Release Wave 1 2022 is being deployed this month, if you are planning for an upgrade of your existing system, Release planner tool (BETA) helps you to organize and plan for New and Upcoming features.

  • To get started, first create an account. Alternately you can connect using your Work Account.
  • Pick the feature you want to try add that to your plan by clicking ‘+ To my plan’.
    • Click ‘Learn more’ to understand about the feature.
  • Once you add the Features, go to ‘My Release Plans’ for collated list.
  • Refer this article by Microsoft FastTrack Team on how to plan and approach the products release wave upgrades.

🙂

Categories: CRM, Dynamics 365 Tags:

Canvas App | Edge Browser | Quick way to test the Apps Responsiveness

Its imperative to test the Canvas App’s responsiveness and on different devices to make sure the layout is responsive and intuitive. In this article, lets see how to test your Canvas App in different device orientations.

Steps to test the Canvas Apps Responsiveness:

  • Open the App in Edge browser.
  • Press F12 to open the ‘Dev Tools’ Pane.
  • From ‘DevTools’ pane, click on ‘Toggle device emulator’ icon (Highlighted in screen below)
  • Now you have the options to test the responsiveness using ‘Responsive’ option.
  • Or pick any of the device option form the list. Use the ‘Rotate’ option, to test in Landscape orientation.

🙂

[Step by Step] Using JSLint extension in VSCode

In this article, lets see how to Install and use JSLint extension in VSCode.

What is JSLint:

  • JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool.
  • JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem.

Install JSLint extension in VSCode:

  • From the VSCode ‘Extensions’, search for ‘JSLint’ and Install.
  • Next, we need to install ‘jslint’ Globally by running ‘npm install -g jslint’ command from Terminal.
  • All the required files gets installed and Terminal looks as below.

Run JSLint on a JavaScript File:

  • Open the JavaScript file, which you want to validate in VSCode.
  • Open the Terminal and run ‘jslint {file_name}’ command. In my case, its ‘jslint HelloWorld.js’.
  • Script violations will be listed in Terminal as below.

🙂

Categories: JScript Tags: ,

Power Apps Portals | Progressive Web Apps (PWA)

What is a Progressive Web App (PWA):

  • PWA at core is a website built using web technologies but that acts and feels like an App.
  • Users can install a PWA on any device be it a desktop or mobile from the browser or through app stores.
  • Main difference between PWA and Web App is  a web app is designed to run inside of a web browser and cannot be installed on a device. 
  • Users can also pin the PWA app directly to the home screen on their mobile device.

Portals as progressive web apps:

  • We can enable a Portal as a progressive web app (PWA), with native app–like look and feel, by using Power Apps portals Studio.
  • This capability enables external and internal customers to use a portal as an app.

Steps to build a portal as a progressive web app:

  • Connect to Power Apps maker portal.
  • Select the Portal App and click ‘Edit’
  • Portal opens up in In portals Studio.
  • Select Progressive web app icon and set ‘Enable PWA’ option.
  • Click on ‘Customize PWA’ to modify App’s details.
  • Now click on ‘Browse Website’, which opens up Portal application along with ‘App available’ option.
  • Click ‘Install’ to install Portal as a Desktop App.
  • Post installation, you would get Portal as Desktop App as below. You have options to pin the App to taskbar or to Start.

Manage offline behavior:

  • PWA offers support for a smooth navigation experience when the device being used is offline or disconnected from the internet.
  • You can choose the pages within your portal that will be available offline (read-only), and a message page for the rest of the portal capabilities that haven’t been enabled for offline access.
  • Under ‘Customize PWA’ pane, click on ‘Manage offline pages’.
  • Select the Pages that will be available offline.

Refer documentation for more details.

🙂

Categories: Portals Tags: ,

Dataverse | New Auditing Features

February 14, 2022 Leave a comment

Audit data is now stored separately from customer records so an organization’s audit log can grow to many terabytes in size without limiting available Database capacity.

Audit Retention Policy:

  • In the ‘Admin Center’, on the ‘Environment’ page now we have ‘Auditing -> Manage’ option to set the Audit Retention Policy.
  • Select one of the options from the dropdown to set the retention duration.
  • Audit records are automatically deleted after the retention period is over, relieving administrators from the burden of deleting audit data manually. 
  • It is also possible to keep the audit log indefinitely by not specifying a retention period.

Free up capacity:

  • With the new audit deletion options, Administrators can delete the logs of one or more audited tables, delete the user access logs, or delete logs up to a specific date in order to free up storage space.

Refer the docs link for more insights.

Power Apps Ideas (Preview)

February 3, 2022 Leave a comment

In this article lets explore the Power Apps “Ideas” feature, which would be a blessing for all App Makers who write formulas using Power Fx.

As we know Power Fx is a programming language for low code, and makes it possible for hundreds of millions of people with Excel-like skills to add advanced logic to their apps.

What is Power Apps Ideas:

Power Apps Ideas is created to help everyone from the new makers to the seasoned IT pros to ease and speed up the formula authoring experience by using the power of AI models.

A quick example:

  • I’ve the following Canvas App with Dataverse as Source. App has a Gallery control displaying ‘Department’ table.
  • ‘Department’ table has a Date Time field called ‘Establishment Date’ and displaying values in MM/DD/YYYY HH:MM format.
  • So what if I want to display ’27/12/2021′ as ’27 December 2021′. You need to form the syntax by yourself which could be tricky.
  • Now lets see, how ‘Ideas’ works here.
  • Select the date label from Gallery and select ‘Ideas’.
  • Go ahead and type the format you are looking for. I’ve typed my desired format as “27 December 2021 5:30 AM“.
  • Now click on ‘Get ideas’ button and you would get the formula for your desired format.
  • Go ahead an click ‘Apply’, you get following notification, that formula expression has got updated.
  • That’s the power of ‘Ideas’.
  • Power Apps Ideas feature currently supports only Gallery and Data table controls for the Items property, and it now supports Microsoft Dataverse, Sharepoint List and Excel as connectors.

Methods to use “Ideas”:

There are two methods to benefit from Power Apps “Ideas” in your app.

Method 1: Transform natural language to Power Fx formulas

Method 2: Transform examples to Power Fx formulas
  • This is nothing but the Date format example, I’ve explained in above sections.
  • With Power Apps Ideas, you can now simply select that field, then in the ideas pane, enter your desired format, and press enter.
  • One or a few formula suggestions will be popped out for you to select from.

🙂

Categories: PowerApps Tags: , ,

Model Driven App | Modern advanced find

January 28, 2022 1 comment

Finally the most awaited upgrade to the Legacy ‘Advanced Find’ Experience is coming up as part of 2022 Wave 1 release.

Legacy Advanced Find Experience

With Modern advanced find, you can access any table in a model-driven app through search and use advanced filters to explore the data easily.

Modern advanced find benefits:

  • Explore any table in a model-driven app through structured search and filters. Edit columns and filter data to construct views that help you apply the right lens on your data easily.
  • Choosing the right view to access is easier with the latest enhancement to view selector having the ability for you to search for a view.
  • Managing views is simpler with personalization options to build your own set of views, hide views, and order them differently. Your personalized view list travels with you across all apps and all devices, online and offline.
  • Collaborate with your team by sharing views easily and managing the views shared to you.
  • All of the capabilities mentioned above will replace the legacy advanced find experience.

Availability Dates:

Enabled forPublic previewEarly accessGeneral availability
Users by admins, makers, or analystsFeb 2022Apr 2022

🙂

Power Apps | Business Rule | Set Field Value vs Set Default Value

January 19, 2022 2 comments

While configuring Business Rules you might have noticed ‘Set Field Value’ and ‘Set Default Value’ Actions.

Though the ‘Set Field Value’ and ‘Set Default Value’ Actions look identical, there are following subtle differences.

Set Default Value:

  • ‘Set Default Value’ only triggers on ‘Create’ event and does not trigger on ‘Update’.
  • To understand this better lets go with an example, I’ve a ‘Student’ table with ‘Department’ and ‘College Fee’ columns.
  • In my ‘Business Rule’, I am setting ‘College Fee’ field value to ‘10000’ using ‘Set Default Value’, when the ‘Department’ sets to ‘IT’.
  • Now in my App, on Student’s ‘Create‘ form, the ‘College Fee’ field sets to ‘10000’ when the Department is IT as configured in Business Rule.
  • If I open an Existing ‘Student’ record, and set the ‘Department’ to ‘IT’, ‘College Fee’ field will not get set to ‘10000’, which proves that ‘Set Default Value’ action defined in ‘Business Rule’ does not trigger on ‘Update’ event.
  • One more key point is, ‘Set Default Value’ can’t override an existing field value.
    • For example, on ‘Student’ create form, manually type some value in ‘College Fee’ and then change the ‘Department’ to ‘IT’ .
    • This triggers ‘Set Default Value’ action, but the ‘College Fee’ value wont get changed to 10000 as there was already a manually typed presented in ‘College Fee’.
  • Also, ‘Set Default Value’ does not have ‘Clear’ option.

Set Field Value:

  • ‘Set Field Value’ triggers on both ‘Create’ and ‘Update’ of the record.
  • Also, ‘Set Field Value’ has a ‘Clear’ option.

Hope these differences helps you while choosing between ‘Set Default Value’ and ‘Set Field Value’,

🙂

Dataverse | Traditional Quick Find vs Enhanced Quick Find (2020 Wave 1 Update)

January 10, 2022 Leave a comment

I got a following question from a blog follower who recently started working on Dataverse on ‘Quick Find Search’.

Why the ‘Quick Find’ view not fetching the data though there are matched records?

So this article is for those who recently started working on Dataverse to differentiate Traditional vs Enhanced Quick Find view.

Traditional ‘Quick Find’:

  • Traditional ‘Quick Find’ fetches the matched rows irrespective of the current view.
  • As an example, below ‘Male Students’ view contain 2 records where Gender=Male.
  • If I search for a ‘Female’ record which is not part of this view, it will show up as below.

Enhanced Quick Find (2020 Wave 1 update):

  • With the 2020 Wave 1 update, by default ‘Quick Find’ fetches the matching records only from the currently selected view.
  • As an example, If I search for a ‘Female’ record while a ‘Male Students’ view selected, no records would be fetched. This is because of the search confined to the selected ‘Male Students’ view.

How to enable Traditional Quick Find post 2020 Wave 1 Update:

  • Post 2020 Wave 1 Update, ‘Traditional’ Quick Find will be turned off, by default.
  • To enable ‘Traditional’ Quick Find, from the Admin Center, select the Environment, go to Settings -> Features and turn on the “Use quick find view of an entity for searching on grids and sub-grids” setting.

🙂

Categories: PowerApps Tags: ,

C# | Telesign | Send SMS | Couldn’t load type Telesign.MessagingClient

Telesign is a Communications Platform as a Service company. We can Send and receive text messages effortlessly with TeleSign’s global text message API.

Other day I’ve subscribed to Telesign trial and was trying to send SMS from my C# console application.

As a first step I’ve installed ‘Telesign’ NuGet package to my C# console project and pasted the code copied form Telesign portal.

I got following “Couldn not load type ‘Telesign.MessagingClient’ from assembly Telesign” exception when I ran the code.

Reason and Fix:

  • My C# console project name was ‘TeleSign’ which conflicted with ‘Telesign’ NuGet package assembly.
  • Rename the Project solved the issue.

Its trivial issue but took sometime to figure out the reason. Hope this helps.

🙂

Categories: C# Tags: ,