Missing features in local BC Docker without SSL

BC, your local Docker and missing Functions due to missing SSL

Daniel Gorski
Daniel Gorski 10. Februar 2022
2 Min. Lesezeit

Have you ever tried to take a look at the phone / tablet client by using your browser?

Let's start from scratch and set up your local environment. In this case, I set up a new Docker container without SSL:

  1. Install Docker (if necessary)
  2. Enable Hyper V in BIOS/Windows (if necessary)
  3. Run Windows PowerShell as Administrator
  4. Install BCContainerHelper:
    Install-Module BCContainerHelper
  5. Run the wizard and follow the steps:
    New-BCContainerWizard
  6. After a while your container is ready 🎉

Open your browser and enter your local BC container address, for example:

http://bc18-ci/BC/tablet

Or go to a specific table or page:

http://bc18-ci/BC/tablet?page=5050

ℹ️ More details:
Opening the Business Central Tablet or Phone Client from a Browser

Select a specific contact and open the card:

Open contact card in BC container

To see the phone client, use this:

http://bc18-ci/BC/phone?page=5050

Phone client view in browser

On the Factbox "Contact Picture" we miss one function: "Take" (Take a Picture)

Without SSL:

Missing

With SSL:

Available

Jump into your Edge or Chrome browser and look for this experimental flag:

edge://flags/#unsafely-treat-insecure-origin-as-secure

Browser flag for insecure origins

Voilá

Restart your browser and try to take your photo using your local device/webcam:

Take a photo using local webcam

Click "Use":

Use the taken picture

And you're good to go:

Final result with stored contact picture

beyondit
tech
Azure
Docker
Business Central
SSL
Browser
Modulare ERP-Architektur für skalierbare Unternehmenssoftware

Architektur

Mehr als nur Warenwirtschaft - die Landtechnik Lösung

ERP-Systeme wurden jahrelang als Monolithen verkauft. Die eigentliche Stärke moderner Plattformen wie Business Central liegt jedoch in der Modularität - und gen

Read More
Read More
BeyondCues Subscription Billing KPIs in Business Central

Product

Subscription Billing Meets Real-Time KPIs: BeyondCues Sub. Billing

MRR, ARR, ARPU und Churn Rate direkt im Role Center von Business Central - ohne AL-Entwicklung. BeyondCues Sub. Billing bringt Subscription-KPIs dorthin, wo Sie

Read More
Read More