Hi All,
i notice there is no more ShowMyCode for app.json in BC 19.
how do we block download source?
i used this, but still able to be downloaded
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": false,
"includeSourceInSymbolFile": false
},
Answers
version 18 and before all are disabled to download.
but now can be download by the user
If that is the case that is the problem, when using VSCode to publish, your are publishing in the dev scope. which allow users to download your source code no matter what your app.json.
how it should be then?
all along i always publish using Vscode
There are mulitple way, the manuel process is building your app file, go in BC and search for Extension Management, and press the upload action.
Personally i like: to do it with powershell/ a pipeline.
check out Publish-PerTenantExtensionApps in bccontainerhelper (https://freddysblog.com/2021/01/27/publishing-apps-to-a-business-central-online-environment/#more-6511)