Kody Wildfeuer's blog

kodyw.com

Month: April 2020

My Favorite Dynamics 365 2020 Spring Release Enhancement – Quick Find search by View

To me the best feature that I have seen in the latest release for Dynamics 365 is subtle but a game changer. 

The change is related to how quick find has worked in the past. Let me give you some background. 

How things have always worked in Dynamics with Quick Find search.

Searching and filtering in Dynamics can be complicated.

One of the complications relates to the Quick Find capabilities. 

So, say you are on a view and you would like to quickly find something. (See what I did there? 😎)  You see the handy dandy search box so you type in what you want to search on and click enter. You see a few results but they do not fit the criteria of the view you are currently on. 

🤨🤨🤨

Confusing right? Yes, this has always been confusing for users and honestly myself when I first started learning the system. It is a gotcha of the system and it needs to be explained to be understood. 

Let me explain what happened in this scenario. 

Whenever the user uses the Quick Find search it ALWAYS uses the generic global search.

It has not taken into consideration any view filters. 

This has led to many situations where users get way too many results that they do not need and then they have to look through the returned records of the search.

This can be a huge waste of time and make the user frustrated.

Trust me – they have told me how frustrating this can be and I have looked far and wide for a solution in Dynamics. Sadly, there has been no easy ways to change Quick Find behavior without changing it for all users. 

Behold – we have a solution in this latest release for Dynamics.

The Quick Find search now respects the view!

Let me walk you through the change. 

Now – whatever view a user is on – the quick find WILL respect those filters. This is amazing. This is the behavior that everyone has always assumed was happening when they were searching. Less confusion and frustration for users. I love it. 

What does this mean going forward? 

More Accurate Searching.

Users will have more accurate Quick Find searching capabilities to narrow down the data to see what they are actually looking for without getting results that are not relevant.

Also – this makes separate apps more effective because you can curate the views that are specific to that role for the user to search on using Quick Find. Before this change apps didn’t make the most sense due to Quick Find not respecting the views given to the user – so they would see search results that have nothing to do with what they need. To me this makes breaking out functionality to apps the way to go due to this change. 

In conclusion – this change is small in scope but massive in impact to end users.

They will love this platform even more with amazing enhancements like these. Keep them coming Microsoft!

Go forth with Dynamics!

Headspace – Review

I have been using the Headspace app for longer than two years now. Before this app I wanted to meditate but the resources to learn it were too spread out and sparse.

Headspace makes it easy to get into meditation.

Getting into meditation is the hardest part. The app has a free introduction to meditation playlist that starts building the skills needed to meditate. This has honestly been the best introduction I have found on the subject. The first few sessions your mind fights you to get up and do something. Notice your mind’s response – this is what meditation will eventually reduce.

Start the app, pick a time, then meditate. That’s it. Simple.

The best part about Headspace is that you no longer need to think about what you are going to meditate about. All I do is select the daily meditation and pick the amount of time I want to meditate (10 mins). You can select from 5 minutes to 20 minutes but I have been most successful with 10 minutes.

All of the benefits of meditation with minimal work involved.

The typical feelings around meditation are around not noticing any results. I have done this multiple times and it is true. The effects of meditating do not stick out – especially at first. Do not give up at this stage! It takes awhile to recognize the more laid back nature that you have. The thing that really made me realize how much better I feel when I meditate is when I stopped meditating. I felt more impulsive and reactive. My wife could tell as well if I didn’t meditate.

Stick with meditation for a month – then stop and see if there is a difference.

I now look forward to meditating every morning and I have built an entire morning routine around this practice. This app has had a significant impact on my life in being able to be more present. Being more present had allowed me the ability to notice and make changes that I would otherwise be blind to.

The app hooked me – give it a try! It is worth it.

https://www.headspace.com/

How to get your computer setup for Dynamics 365 Development

Every time I start a new job or get a new machine at work I need to go through a ritual of setting up the tools that I will need for my job doing development work with Dynamics 365. Below are the tasks that I consider essential for anyone tasked with working with the product. 

Dynamics SDK

The dynamics 365 SDK (Software Development Tools) will be needed to register plugins and custom code onto the platform. To get these resources use the following link: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/download-tools-nuget

XRM Toolbox

Next up is a tool that can be thought of as an app store for development tasks and tools that can make your life easier. 

https://www.xrmtoolbox.com/

Visual Studio 

For the most part if you are working in the Microsoft ecosystem this tool will be needed in general but I will put it here because this is where you will want to be doing your plugin development. 

SSDT/SSIS

You will use this for data loading and integrations into and out of Dynamics. SSIS is a standard tool in the Microsoft ecosystem and is very powerful for loading massive amounts of data into and out of the system. 

https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-ver15

Kingswaysoft

To integrate the SSIS tool with Dynamics you will need a connector. My favorite is Kinsgwaysoft – which is a custom connector that allows for easy interaction with Dynamics 365 in terms of data integrations. You will need a license to schedule jobs but for local development everything works! This tool is amazing and I cannot recommend it enough. 

https://www.kingswaysoft.com/products/ssis-integration-toolkit-for-microsoft-dynamics-crm

Node.js

Node will be used as a framework for building PCF Controls within Dynamics. Long story short – you will need Node before you can start using the PCF control framework that you will install below. I would download the LTS version on the left side of the screen. 

https://nodejs.org/en/

PCF Control 

PCF Controls are basically plugins to interact and display data within the system using web development front end skills with javascript.

https://aka.ms/PowerAppsCLI

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf

Visual Studio Code

Some of the tools and tutorials will be focused around using Visual Studio code as the primary way to interact and develop PCF Controls. It is good to have this tool due to its convenience and ease-of-use as well. 

https://code.visualstudio.com/

Dynamics 365 Trial Instance

Sometimes you will need to try stuff out on your own but you will not want to pollute your company’s Dynamics 365 instance with your work. What you will want to do is set up a Trial instance of Dynamics 365 to do this discovery work. It will expire after a period of time but it will allow you to have an isolated place where you can do whatever you need to do within dynamics without causing a mess in your organization’s instance. 

Here is a blog post on steps on how to get started: https://arunpotti.wordpress.com/2017/12/06/how-to-setup-dynamics-365-30-days-online-trial-version/

There you have it – all of the tools that you will need to get started working on Dynamics 365. This might seem overwhelming but I assure you will get the hang of all of these tools and they will come in very handy. 

Go forth!

Dev.to – Tech Learning’s secret weapon

I have long been a fan of tinkering with technology. The problem has been finding good resources that do not send you off a cliff or into a corner. Finding bad or not helpful tutorials can be a demotivating factor when learning about new technologies. I have found a resource that has helped me always find amazing resources no matter the technology. 

Dev.to – Reddit for Developers

Dev.to is basically a social network that is focused only on different technologies. Hashtags separate different tracks. You can subscribe to these hashtags to find different content. These different content streams allow you to narrow down the different areas you are looking to dive into. New tutorials will show up on your feed similar to your reddit homepage showing you the latest stories from the different subreddits you subscribe to. You can also sort by the most upvoted posts for a technology – and this is where dev.to shines. This gives you the best content for a technology that is constantly updated and current. You can sort by different time periods like this week’s best posts, this month, and this year, and all time. Finding the best content on this site has allowed for a way better experience when trying to implement different technologies I am not used to – and it makes it less intimidating. 

Get Started

I would create a profile and put your experience level for you currently – if you are new to development or if you are senior the site will filter your content for your level. This is awesome!

After you create a profile I would subscribe to a few hashtags for whatever grabs your interest. Then sort to find the best content and run through a few tutorials. You will be happy you did!

Here is a link below to this site along with my profile if you would like to see the content I have liked. 

https://dev.to/

https://dev.to/kody

Go forth and code!

Life is a while loop

Life is simply a while loop

What I mean by this is that you are running in a continuous loop that breaks when you run into a bug. That bug spits out an exception and error message. The bug could be getting in trouble in school. Getting fired from a job or crashing your car.

Solve for the errors 

All we need to do in life is take these situations and error messages that break us out of our loop and add some conditionals within the loop to make sure a similar situation does not cause you to break out of your loop the next time.

If you break out of your loop – consider the conditional you have to add to make sure it doesn’t break you out of your loop the next time.

Build up conditionals

Build up conditional statements and your loop becomes more and more resilient to different situations. 

Seek out loop exceptions for better error handling

Soon you will be interested in being challenged by a break out of your loop instead of being depressed or unmotivated by the breaks. You will revel in creating the next conditional statement that will meet this challenge next time. 

Life is a while loop – keep that loop running!

Powered by WordPress & Theme by Anders Norén