Dynamics 365 Business Central: How to encode and decode URL/HTML (UrlEncode, UrlDecode, HtmlEncode, and HtmlDecode)

Today I would like to briefly talk about how to encode and decode URL/HTML in Business Central.

First of all, UrlEncode and HtmlEncode do fundamentally different things.
UrlEncode replaces special characters with characters that can be understood by web browsers/web servers for the purpose of addressing, hence URL. For example,

Source : Dynamics 365 Lab
Read more…

Dynamics 365 Business Central: How to quickly get host name from URL via AL

Today I would like share a mini tip, how to quickly get host name from URL via AL.

As you might know, A URL (Uniform Resource Locator) is a unique identifier used to locate a resource on the Internet. And in the Internet, a hostname is a domain name assigned to a host computer.

Source : Dynamics 365 Lab
Read more…

Get your BC artifact URLs without PowerShell

In June 2020, a drastic change happened to how we can work with Microsoft Dynamics 365 Business Central in containers: Instead of ready made images, BC started to rely on artifacts (see Freddy’s blog post on the topic). As a result of that, you can no longer just use an image to start BC but instead need to first find out what the right BC artifact URL for your type, version, localization etc. is.

Source : Tech blog – Tobias Fenster
Read more…