Opting In to the April 2019 Preview Features in Dynamics 365

To opt in to the April 2019 update, first, sign into https://admin.powerplatform.microsoft.com/. You will see: Click on Environments to display a list of your environments: Click on the environment you want to opt in: On the right, note the current database version, in this case 9.1.0.2251. In the updates section, select Manage: You will see “April 2019 update – These changes will go live in April, but you can activate them … Continue reading Opting In to the April 2019 Preview Features in Dynamics 365

Adding a JavaScript Function to a Field in Dynamics 365 Power Apps On Load with addOnChange

In this post we will look at how to add a function to field in Dynamics 365 / Power Apps, so when a form loads, the function will run on change of the field. We can do this by using addOnChange. Let’s say I have a field called My Optional Field (new_myoptionalfield) which is on an entity called My New Entity. The field is on the main form: Now let’s say … Continue reading Adding a JavaScript Function to a Field in Dynamics 365 Power Apps On Load with addOnChange

USD Toolbar Button Visibility and Replacement Parameter Logic

In Unified Service Desk, we can use Toolbar buttons to perform actions in the application. For example here we have toolbar buttons in the main application: Now let’s say we want to hide and show these buttons based on certain values. For example, if the user is based in the US, and the Maps application is loaded, we may want to show a button that allows us to open a … Continue reading USD Toolbar Button Visibility and Replacement Parameter Logic

Everything You Need to Know About Using Microsoft Excel with Dynamics 365

In Dynamics 365, there are several ways to use Excel to analyze data. In this post, we will look at the various different options. Let’s start with a view of All Accounts. Note we’re displaying this in the Sales Hub app. The logic applied to the web client as well. In the toolbar, we have several Excel options, including: Excel Templates Export to Excel Open in Excel Online Static Worksheet … Continue reading Everything You Need to Know About Using Microsoft Excel with Dynamics 365

Error Connecting to Dynamics 365 from Excel, Cannot Download the Information you Requested

When downloading a spreadsheet from Dynamics 365, you may run into the problem: Unable to open https://xxxxx.crm.dynamics.com/_grid/print/print_data.aspx?tweener=1. Cannot download the information you requested: To resolve this, in Internet Explorer options, uncheck “Do not save encrypted paged to disk”: Click OK and click Refresh All: If this doesn’t resolve the issue, or you get the issue: “This web query returned no data. To change the query, click OK, click the arrow … Continue reading Error Connecting to Dynamics 365 from Excel, Cannot Download the Information you Requested

Set and Retrieve a Lookup Id and Value using Xrm.WebApi

We can use JavaScript to connect to Dynamics 365 and set and retrieve a lookup id and value. Let’s say on an Account, we have the Owner field, which is a lookup: We would like to set the value of this lookup field through JavaScript. Let’s say we want to set it to another system user, Alan Steiner. To set the value, we will need to know Guid of Alan’s … Continue reading Set and Retrieve a Lookup Id and Value using Xrm.WebApi