{"id":1008,"date":"2026-11-11T08:30:00","date_gmt":"2026-11-11T13:30:00","guid":{"rendered":"https:\/\/www.dataflowsoln.com\/blog\/?p=1008"},"modified":"2026-11-11T08:30:00","modified_gmt":"2026-11-11T13:30:00","slug":"do-you-actually-have-your-source-code","status":"publish","type":"post","link":"https:\/\/dataflowsoln.com\/blog\/do-you-actually-have-your-source-code\/","title":{"rendered":"BC Teardown #8: Do you actually have your source code?"},"content":{"rendered":"<p><em>Plot twist: the extension you paid for might be a black box.<\/em><\/p>\n\n<h2>The pain<\/h2>\n<p>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.<\/p>\n<h2>Why it happens<\/h2>\n<p>Business Central only lets you download a PTE&#8217;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.<\/p>\n<h2>Before: The default: no source for you<\/h2>\n<pre style=\"background:#0c182c;color:#e6ecf5;padding:20px 24px;border-radius:10px;overflow-x:auto;font-size:15px;line-height:1.55;\"><code>\"resourceExposurePolicy\": {\n  \"allowDebugging\": false,\n  \"allowDownloadingSource\": false,\n  \"includeSourceInSymbolFile\": false\n}\n\n\/\/ Extension Management: nothing to download<\/code><\/pre>\n<h2>After: Source you can always get back<\/h2>\n<pre style=\"background:#0c182c;color:#e6ecf5;padding:20px 24px;border-radius:10px;overflow-x:auto;font-size:15px;line-height:1.55;\"><code>\"resourceExposurePolicy\": {\n  \"allowDebugging\": true,\n  \"allowDownloadingSource\": true,\n  \"includeSourceInSymbolFile\": true\n}\n\n\/\/ Extension Management &gt;\n\/\/   Download Source<\/code><\/pre>\n<h2>The result<\/h2>\n<p>With the flag set, the source downloads straight from Extension Management. We pull it, rebuild it and put it under version control.<\/p>\n<p><strong>Tip:<\/strong> Already locked out? We assess the options with you, from the original developer to a clean rebuild.<\/p>\n<p><a href=\"https:\/\/dataflowsoln.com\/blog\/wp-content\/uploads\/2026\/11\/BC-Teardown-8-carousel.pdf\" target=\"_blank\" rel=\"noopener\">Download this teardown as a PDF<\/a><\/p>\n<hr \/>\n<p><strong>Got a Business Central problem like this?<\/strong> Free BC update readiness check. Senior Microsoft certified developers, and you talk to the person writing the code. <a href=\"https:\/\/www.dataflowsoln.com\/#contact\">Contact Dataflow Solutions<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Plot twist: the extension you paid for might be a black box.<\/p>\n","protected":false},"author":2,"featured_media":28,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[9,15,22],"class_list":["post-1008","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bc-teardowns","tag-business-central","tag-per-tenant-extensions","tag-source-code"],"_links":{"self":[{"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/posts\/1008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/comments?post=1008"}],"version-history":[{"count":1,"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/posts\/1008\/revisions"}],"predecessor-version":[{"id":1030,"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/posts\/1008\/revisions\/1030"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/media\/28"}],"wp:attachment":[{"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/media?parent=1008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/categories?post=1008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dataflowsoln.com\/blog\/wp-json\/wp\/v2\/tags?post=1008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}