Alexio Chandiwana on The Oops Factor

Chatting with Alexio about football, the amazing work that he’s doing with the Africa PowerPlatform community, & how his journey into IT started (with some pitfalls along the way!)

If you’d like to come appear on the show, please sign up at http://bit.ly/2NqP5PV – I’d love to have you on it!

Click here to take a look at the other videos that are available to watch.

Olena Grischenko on The Oops Factor

Talking about hobbies that we enjoy, though it may not fit our ‘public persona’, the importance of asking questions regardless of how we could be perceived, & work roles that can really suit our skills

If you’d like to come appear on the show, please sign up at http://bit.ly/2NqP5PV – I’d love to have you on it!

Click here to take a look at the other videos that are available to watch.

Managed Solutions, & replacing a field

Well to start with, I’m sure that I’m going to get pulled up by some people for my use of the word ‘field’ in the title. After all, officially it’s now a ‘column’! But I (still) can’t let go of calling them as I’ve done so for over a decade, so field it is.

Now to the actual topic of this blog post, which is centred around Managed Solutions. Leaving aside the whole debate about whether we should be using managed or unmanaged solutions (& when/where to do each), there is one definitive benefit of using a managed solution.

See, unmanaged solutions are additive in nature. Work is done in the development environment, then deployed. Further work is done (additional items added, etc), and deployed, and they then appear in the downstream environments. However, if you delete an item in the development environment, it’s not removed when the solution is deployed downstream.

Managed solutions, on the other hand, are both additive & detractive. As with unmanaged solutions, items added in the development environment are also added downstream when deployed. However, if an item is removed from the solution in the development environment, it will also be removed when the solution is deployed downstream. It’s one of the useful ways to ensure that you don’t end up with random unused items just lying around in Production (which have a habit then of popping up in the Advanced Find window, for example). So it’s really quite handy for a lot of reasons to go down this route.

Well, I found myself going down this route recently, but with slightly unexpected results, I’ll freely admit…

The scenario was that we had deployed a managed solution to the UAT (test) environment on a client project. Then the client changed their mind (shock & horror!!) as to a specific item, and we needed to change it from a text item to a lookup item. Obviously (as per best practise, of course) this would need to be done in the development environment, and then released downstream. Given that this is a managed solution, I’d expect this to work, without any issues. Well, it didn’t…

The change in the development environment (deleted the old item, ‘re-created’ it as a lookup with the same system name) was done, we exported it as managed, and then went to import it in the UAT environment. It took the solution file, thought about it for a while (it’s somewhat of a large solution), & then errored:

Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault] Message: Attribute mdm_field is a String, but a Lookup type was specified.

Now I was somewhat confused by this message occurring. It’s not been the first time I’ve seen it over the years, but in my previous experience I’ve seen it when handling unmanaged solutions. It’s when you delete an item in the development environment, re-create it as a different item type (with the same underlying system name), and then deploy it as unmanaged. The solution import in the second environment fails due to the different in the type (as it sees the same name). This, of course, is to be expected.

But here we’ve been using managed solutions for deployment, and as mentioned above, they’re detractive as well. The expected behaviour (at least from my side of things) would be that the system would note that the item type has changed, remove the old item, & import the new item. In my mind, that’s logical, but apparently not?

See, even managed solutions have their limitations, of which this is one of them. Having checked with several other people who I reached out to around this, I’ve discovered that it can’t work in the way that I was expecting it to. Instead, a specific process has to be followed

  1. In the development environment, remove the item, & export the solution as managed
  2. In the downstream environment(s), deploy this (interim) managed solution. This will remove the item from the environments
  3. In the development environment, re-create the item with the different system type. Then export it as managed
  4. In the downstream environments, deploy this solution. This will then add the item (with the new system type) into the environment.

This means that development & deployment teams (if separate ones) need to co-ordinate around this, to ensure it’s done in the right way. It could also be developed/exported in succession, and then imported in succession as well (either manually, or through an Azure DevOps Pipeline, for example).

This worked wonderfully for us, and to be honest, I was quite relieved after several hours of frustration with things. Even better, it was a Friday, so meant that the week could end well!

Have you ever come across this, and been frustrated as well? Have you got a similar story with something else that happened to you around solutions? Drop a comment below – I’d love to hear!

The Bespoke Badger

Some of you, no doubt, will be wondering what exactly this post is about. Others will be all too familiar with this, and likely be nodding their heads as they read through it. Cryptic, right? Well, let’s begin….

Our community. It’s amazing – that’s simply the only way to describe it. People give talks at User Groups, engage on the forums, hack at hackathons. Outside of our ‘day jobs’, we continue with sharing the knowledge & love that we have for things. Look around the world, and the number of user groups is astonishing. So many great people out there who are speaking, blogging, mentoring, etc.

Of course, socialising was a major part of this as well. Go to any event, and afterwards you’d likely find a large percentage of people going to their local ‘watering hole’ (aka pub/bar/drinks location), and continuing to chat around things. It’s one of the reasons why I was drawn into the community several years back.

Then in early 2020, COVID-19 hit. Suddenly there were no user group meetings in person. Most of us were working from home, spending a lot (most?) of the day on Teams calls. We couldn’t get out, we couldn’t socialise, and we definitely couldn’t hang out & have drinks (non-alcoholic drinks ARE counted as drinks as well, for the record!) together. It was depressing, and weighed us all down.

Then a hero stepped forward. Admittedly, due to it being Chris Huntingford, he was already a hero in most people’s eyes, but this took things to the next level. He realised the need for social interactions in this ‘new world’ that we were facing, and started a virtual pub. The Bespoke Badger was born!

Image

Running on Thursday evenings, starting off around 6:30pm UK time, and going…until the last person left. People would drop in to say hi, catch up with friends, and drop off again. Some stayed for a few minutes, others stayed for hours. Some even would stay the whole night!

It wasn’t just the UK though. Plenty of people from multiple European countries joined as well, and soon became regulars. The USA would start coming online too (even though it was during the workday there) across multiple time-zones. One person (no names!) there even re-organised their Thursday schedule so that no-one would book meetings whilst it was ‘Bespoke Badger time’. Even people based in the Far East, Australia & New Zealand would come on as well (being Friday their time).

Sure, there were regular topics brought up again & again, but we all had a laugh from them. Welcoming new members to the Badger, sharing laughs & sadness together. Even better, no queues at the bar to get drinks, as all it usually took was a short trip to the kitchen! Some technology talks as well (careful not to mention SharePoint!), but SO many different subjects & topics that came up.

Larry Merkelis took over as the Landlord, and would throw open the (virtual) doors with aplomb every week.

undefined

Now you might be thinking ‘why would I spend my evening on yet another virtual call’? Well, from my experience (& those of others), it’s not just ‘another virtual call’. Time flies by, we’re all having fun, and then suddenly you realise it’s past midnight, and you’ve been there for 5+ hours.

Why am I mentioning all of this? Well, for a few reasons. For me, the Bespoke Badger has become a staple in my weekly schedule (which my family all knows about), and a way to keep up/connect with friends, as well as meeting new people.

The Christmas Party (held this past weekend, organised by Tricia Sinclair & Alison Mulligan) had a total of 87 people from around the world joining in live, covering 11607 minutes (that’s almost 200 hours!) across them. Awards were presented, and I was honoured to received the ‘Social Butterfly’ award, presented by Dona Sarkar.

Current times can be challenging, but I feel that the Bespoke Badger makes it so much more bearable for so many of us.

You may have come for the nerdy tech stuff, cool apps and awesome Microsoft gear, but you will stay for the heart-warming, encouraging people. We’ll all welcome you with open arms, cheer you up, help you out and take so much care.

Image

So come along & check it out, and join us there. There’s a website (https://www.thebespokebadger.com/) & Twitter (https://twitter.com/BespokeBadger). We’re more than welcoming (you’ll get used to the ‘in jokes’), and would love to see you.

Wishing you happy holidays!

Daryl Labar on The Oops Factor

Finding out about Daryl’s love of reading with his children, why we should push our limits, an amusing driving story involving woodchucks, and why exactly he denied new laptops to everyone in the company!

If you’d like to come appear on the show, please sign up at http://bit.ly/2NqP5PV – I’d love to have you on it!

Click here to take a look at the other videos that are available to watch.