Softstuff Consulting
My occasional musings of a technical nature
  • Send us a message
  • About Softstuff Consulting
  • Privacy Policy
  • Main Website
Windows

Run a program as a different user in the Windows 10 UI

by Ian Blair December 9, 2019 No Comments

Occasionally you might need to run a program but need additional rights, for example if you are logged in as a normal non administrator user, and you have to do something that requires administrator rights. Instead of logging out and logging back in again, or logging in again as a new user to the machine […]

Windows

How to take a screenshot of the Windows UAC dialog

by Ian Blair December 8, 2019 No Comments

Consider this you are writing a training manual, some software documentation or even a blog post and the program you are working with requires the user to approve the Windows UAC dialog. You need to take a screenshot but each time you try nothing happens. Here is the solution When the dialog triggers, select the […]

Windows

How to open the run dialog Windows 10

by Ian Blair December 7, 2019 No Comments

You might have noticed the run dialog seems to have gone only to be replaced with Cortana, and while Cortana usually does a good job sometimes it returns too much information when you just want to quickly start another application. Fortunately its not really gone just accessed with the keystroke Windows Key + R But […]

C# , Xamarin

Forcing Portrait mode in an Android Xamarin application

by Ian Blair October 8, 2019 No Comments

Ensuring your Xamarin application runs in a specific screen orientation couldn’t be simpler. In your MainActivity class simply add the following to the [Activity()] Activity attribute. ScreenOrientation.Portrait or ScreenOrientation.Landscape So that the Activity Attribute looks something like this Simple.

C# , Dynamics365 , Visual Studio

Quickly generate an entities.cs file for early binding

by Ian Blair June 17, 2019 No Comments

The decision to write early or late bound code is often a tricky one. I personally think if you are in an environment that you can control, for example you are an inhouse developer for the company that ‘owns’ CRM then early binding makes sense as you can add a step into your development/deployment pipeline […]

Dynamics365 , JavaScript

Calling an action with parameters

by Ian Blair June 11, 2019 No Comments

In the previous post I showed how to call an action from javascript using the new features in the V9 javascript api, but in this post I will expand to show how to call the action with some simple parameters. First we need to create an action with some input parameters. In this example the […]

Dynamics365 , JavaScript

Calling an action from Javascript in a Web Resource

by Ian Blair June 9, 2019 No Comments

This article follows on from Getting optionset lists to use in a webresource HTML form and Creating an action to call from Javascript in a HTML form and will show how to actually call the action from javascript. In the previous articles we created a simple plugin, and then connected that to an action in Dynamics […]

Dynamics365

Creating an action to call from JavaScript in a HTML form

by Ian Blair June 2, 2019 No Comments

Following on from my previous Dynamics 365 post about getting optionset data from CRM to use in drop down lists in HTML forms we can use the previous piece of code that created a small workflow plugin. To do this you will need to create an Action in CRM. An action is really just a […]

C# , Dynamics365

Getting optionset lists to use in a webresource HTML form

by Ian Blair June 1, 2019 No Comments

Sometimes when building a custom HTML form to embed in a CRM form it is a requirement to get one or more sets of optionset values to use in a drop down list. Probably the simplest way to do it is to create a small workflow plugin that will read the values and return them […]

C# , Dynamics365 , Visual Studio

Using ‘other’ assemblies in Dynamics plugins

by Ian Blair May 27, 2019 No Comments

This is not supported by Microsoft, it will work and would be useable as a last resort but I would strongly recommend that you migrate any code with the custom assemblies to the Azure service fabric instead.  Sometimes a plugin turns out to be a little more complex and needs a third party assembly, or […]

Posts navigation

Previous 1 2 3 4 5 Next

Recent Posts

  • How to make your Powershell scripts more annoying
  • What motherboard is in my PC
  • A Dynamics365 plugin thought experiment
  • Registering a Dynamics365 plugin and I get an error
  • Going back in time with Dynamics365

Categories

  • Bootstrap
  • C#
  • CSS
  • Dot Net Core
  • Dynamics365
  • JavaScript
  • Powershell
  • T-SQL
  • Thoughts
  • VBScript
  • Visual Studio
  • Windows
  • Xamarin

Recent Comments

  • S0ftStuffB055 on Call a Dynamics365 workflow from JavaScript
  • Siva on Call a Dynamics365 workflow from JavaScript
  • TC Sharpe on Throw exceptions in Dynamics365 workflow plugins, or don’t
  • BigOwl on Throw exceptions in Dynamics365 workflow plugins, or don’t
  • CRMGod on Access a Dynamics365 embedded webresource

Archives

  • January 2021
  • May 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • October 2019
  • June 2019
  • May 2019
  • February 2019
2025 Softstuff Consulting. Donna Theme powered by WordPress
  • Twitter