The NAV Style/StyleExpr properties have been around for a while but I couldn't find an accurate table of the values as they are circa 2018. Hence, a quick little reference:
1/13/20 - This apparently only applies to NAV. See note at the end for connecting to Business Central It took me a little while to nail down authenticating to a Dynamics NAV OData web service with Postman. Fiddler does it quite easily but I suspect it is a little more intelligent while Postman requires the correct settings for everything. First, in NAV you need to have NTLM authentication enabled. I have found this is required any time you want to use the web services with anything other than .NET (and even then...). Now, with NTLM enabled, you might think the authentication is NTLM but you'd be wrong. It's Digest. There are two flavors of Digest: MD5 and MD5-sess. By default, Postman will come up with MD5. I discovered it was supposed to be MD5-sess by using Chrome's developer console. With this console open, make the GET request and you can see all of the data being exchanged. Within the Authorization header, toward the end, you wi...
I was recently setting up Zetadocs on a new server (existing database) and I got this message when closing the General Settings screen. Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionKeyNotFoundException' was thrown. I couldn't find the error anywhere in Google, hence this post. The problem is that on a new server, the key needed to decrypt Sharepoint Online's login information will not have been installed. To fix this, first connect to the service where Zetadocs was first installed (or is working) and open the Enrcryption Management screen. Click the "Export Encryption Key" button and save the key to a file. You will be prompted to secure the file with a password. Once you have the file saved, copy it to the new server then go into the Encryption Management screen on its service and click "Import Encryption Key". Enter the password for your file and the new key will be imported.
It would seem that Microsoft is currently in the process of phasing out "basic style" authentication methods. They intended to phase out basic authentication in Business Central 2021 wave 1 but that got pushed back to 2022 wave 1. For CRM, though, the time is now . For those of you still running on older NAV systems, you are going to start seeing CRM integration break in the coming months due to elimination of Regional Discovery Services . There are different options to buy yourself some time but you should start coming to terms with the fact that OAuth authentication is is in your future. There is a short term solution (until April 2022) for NAV versions 16 and above. For 17, there will be a hotfix to implement OAuth but for 16 you will most likely need to do a technical upgrade along with merging in the necessary OAuth code - and that's just a guess. For this post, I'm going to document the process for implementing the short term fix to updat...
Comments
Post a Comment