Rollback Microsoft Office to a previous version

Microsoft OfficeIn the last post, I mentioned uninstalling and reinstalling an old version of Microsoft Office to stop Microsoft Dynamics GP crashing when sending emails using MAPI. However, you don;t need to uninstall Office to roll back the version.

There is a command you can run to roll Office back to a previous version. You can find out the version numbers for Office here and then run this command at an escalated Adminstrator prompt to roll back the version of Office (change the highlighted section to the version number to which you want to roll back):

"C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe" /update user updatetoversion=16.0.12730.20236

Once the roll back of Office is complete, launch one of the products and select File » Office Account and then click Update Options » Disable Updates to stop Office being automatically updated:

Stop Microsoft Office automatically updating

With this done, Microsoft Office is rolled back to an old version and will not automatically update.

here are other approaches discussed online, but I have tested the above and it worked correctly for me where the others didn’t.

Microsoft Dynamics GP crashes sending emails using MAPI

Microsoft Dynamics GPOn my Microsoft Dynamics GP demo environment I have Office Professional Plus 2019 installed and Dynamics GP configured for MAPI integration for the sending of emails (I sometimes have my demo environment used when I don’t have an Internet connection so have a hMaiLServer installed for emails instead of relying on the company Exchange). I got caught doing a demo last week when sending an email, Microsoft Dynamics GP crashed whenever I did anything involving integration with email.

I first encountered the crashes when trying to email a creditor remittance, but soon found that even trying to open the Email Settings window did the same thing; in fact any window which tries to connect with Outlook, caused Dynamics GP to crash. I did some investigation and repairs of Office, as well as rolling back a version or two to see if that resolved the problem. Unfortunately it didn’t resolve the problem so I opted to remove and reinstall Microsoft Office from the original media which I know had worked. And it worked again; the rollbacks should have worked, but I may ot have rolled back far enough.

As this old version worked fine, I have disabled automatic updates of Office to make sure I don’t have problems again.

Creating An Outlook Item Shortcut

Microsoft OutlookEarlier this month I did a post on command line parameters to create an Outlook item (such as an email or appointment). In that post I mentioned it was easy to create a shortcut for them, but realised afterwards, that it might be beneficial to cover creating the shortcut.

To create a shortcut, right click on the Windows desktop, and click on New » Shortcut:

Windows right-clickcontext menu

Continue reading “Creating An Outlook Item Shortcut”

Shortcut Command Line Parameters For Outlook Email, Appointments, etc.

Microsoft OutlookI’m currently setting up a new laptop and re-creating all of the shortcuts I am used to having, which includes shortcuts not only for Outlook itself, but also for the types of items. For example, I want to use the Run window and type EMAIL and have a new email window open.

Creating the shortcuts is straight forward, but you need to know the command line parameters:

Appointment:
   /c ipm.appointment

Contact:
   /c ipm.contact

Email:
   /c ipm.note

Note:
   /c ipm.stickynote

Task:
   /c ipm.task

I wish the email one was email instead of note as I never remember it on first attempt.

How to Schedule a Skype for Business Meeting

Microsoft Dynamics GPI’m posting this because it took me far longer to work out how to schedule a Skype for Business meeting than it should have done.

The reason it took so long to find out how to do this, was because I was looking in Skype for Business itself. I should have been looking in Outlook:

Continue reading “How to Schedule a Skype for Business Meeting”

Workaround to Workflow Notification View/Edit Link Doesn’t Work on Outlook 365 Online

Microsoft Dynamics GPThe other day I posted about a problem with the online version of Outlook in Office 365 stripping the View/Edit link from the Workflow notification emails. This was confirmed as a bug with the online version of Office 365 with a recommendation from Microsoft Dynamics GP Support to raise a call with the Office 365 team.

That’s going to be a long term solution to the problem, where the client would much rather have a fix in the short term.

Well, no fix in the short term, but I realised there was probably a very simple workaround to the problem.

I constructed a custom link on the Email Message which has the same query string as the normal drill down link, but I replaced the dgpp and server parts of the link with a link to a custom page on my website (see selected section):

Message Setup

<a href='https://www.azurecurve.co.uk/mdgp.php?Db=GP&Srv=SERVER&Cmp=IDEAL&Prod=0&Act=OPEN&Func=OpenReqInq&sReqID={%Requisition Number%}&bHistory=0'<{%Requisition Number%}</a>

The PHP webpage I created is configured to do a redirect to the dgpp drill down link used by Microsoft Dynamics GP and append the query string from the email hyperlink:

<?php
	header('Location: dgpp://DGPB/?' . $_SERVER["QUERY_STRING"], true, $statusCode);
?>

When I tested this on my demo environment it worked perfectly. I then passed it across to the client and they are currently testing.