BC Teardown #8: Do you actually have your source code?

BC Teardown #8: Do you actually have your source code?

Plot twist: the extension you paid for might be a black box.

The pain

A partner built your per tenant extension years ago and has moved on. You need a change before the next update, and nobody can find the code.

Why it happens

Business Central only lets you download a PTE’s source if its app.json allows it. The default is false, so many PTEs were published with no way to get the code back.

Before: The default: no source for you

"resourceExposurePolicy": {
  "allowDebugging": false,
  "allowDownloadingSource": false,
  "includeSourceInSymbolFile": false
}

// Extension Management: nothing to download

After: Source you can always get back

"resourceExposurePolicy": {
  "allowDebugging": true,
  "allowDownloadingSource": true,
  "includeSourceInSymbolFile": true
}

// Extension Management >
//   Download Source

The result

With the flag set, the source downloads straight from Extension Management. We pull it, rebuild it and put it under version control.

Tip: Already locked out? We assess the options with you, from the original developer to a clean rebuild.

Download this teardown as a PDF


Got a Business Central problem like this? Free BC update readiness check. Senior Microsoft certified developers, and you talk to the person writing the code. Contact Dataflow Solutions.