USD – ExecuteOnDataAvailable Action

In Unified Service Desk, the ExecuteOnDataAvailable action allows you to wait until data becomes available before executing a subaction. For example, let’s say we want to display a webpage of a map of a zip code if the contact’s zip code is populated. To do this, first confirm if the UII action ExecuteOnDataAvailable exists for your hosted control, and if not, create it: Next, create an action call. The ExecuteOnDataAvailable action … Continue reading USD – ExecuteOnDataAvailable Action

Dynamics 365 Timeout Settings

In Dynamics 365, we have the ability to configure timeout settings. Navigate to Settings->Administration->System Settings. You will see: Set session timeout Set inactivity timeout For Set session timeout, you can see there is a maximum session length, defaulting to 1,440 minutes (i.e. 24 hours). The minimum session length is 60 minutes. And, how long before the session expires do you want to show the timeout warning, defaulting to 20 minutes. For … Continue reading Dynamics 365 Timeout Settings

Using Browser Network Trace with Fiddler

When analyzing and troubleshooting network traces in browsers such as Edge, Chome, Firefox, and IE, you can export these and import them into Fiddler for further analysis. For example, let’s say you are working in Edge and are analyzing a REST API. You send a request through your browser to the API, that returns a list of customers: If you click F12 to open Developer Tools, you can see the request … Continue reading Using Browser Network Trace with Fiddler

Turning Off Dynamics 365 Error Report

In Dynamics 365, you may come across the error message below when using the application: “Microsoft Dynamics 365 has encountered an error. Please tell Microsoft about this problem. Microsoft Dynamics 365 has created an error report that you can send to help us improve the product. Microsoft respects the privacy of your personal information” You can turn this message off for users. To do this, go to Dynamics 365 Settings->Administration and … Continue reading Turning Off Dynamics 365 Error Report

Send a Dynamics 365 Email using C#

We will go through an example of sending an email in Dynamics 365 using C#. We have a contact in Dynamics 365 called Bob Smith. We will send the email to him. First, create a new console app: Using NuGet, add references and then the using statements: using Microsoft.Xrm.Tooling.Connector; using Microsoft.Xrm.Sdk; using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk.Query; Now add the code. We will first get the current user using WhoAmIResponse.  Then, we will … Continue reading Send a Dynamics 365 Email using C#

USD – IsAppLoaded

In Unified Service Desk, in the CRM Global Manager hosted control there is a way to check if a hosted control is loaded. The action is called IsAppLoaded. Let’s go through an example of using it. In my USD instance, I have a hosted control called “Bing Map” that displays maps: With the name Bing Maps Hosted Control: Let’s check if this is loaded. We will add a couple of … Continue reading USD – IsAppLoaded

Unified Service Desk – ExecuteOnExpressionTrue Action

The ExecuteOnExpressionTrue action in USD is useful if you would like to check conditions before executing actions. For example, let’s say we have a navigation rule that opens a contact. If the contact’s city is New York, we want to open a website for the nyc.gov. To do this, we will create an ExecuteOnExpressionTrue action on opening of the contact (BrowserDocumentComplete event). The ExecuteOnExpressionTrue does not exist for this contact entity, so we … Continue reading Unified Service Desk – ExecuteOnExpressionTrue Action

PowerApps Landing Page Tour

When navigating to https://powerapps.microsoft.com/, users will see a link to sign in on the top right. Click Sign In: From here, users will be directed to the PowerApps landing page. Here you will see several links, including: Home Learn Apps Data Business Logic Notifications Let’s look at each. Home Learn Apps Data This contains additional options for Entities, Option Sets, Data Integration, Connections, Custom Connectors, Gateways: Business Logic (Flows) Notifications Design … Continue reading PowerApps Landing Page Tour

Debugging JavaScript Functions Through Console

In this post we will show how to debug JavaScript through the developer console. We will do this example in Chrome, and it works in similar ways for other browsers. Consider the example where we have an HTML file with an embedded JavaScript function called HelloWorld(): Running this simply produces an alert: Now let’s open the debugger by pressing F12, and put a breakpoint on the code at line 6: … Continue reading Debugging JavaScript Functions Through Console