How to disable download source code option in Microsoft Dynamics 365 Business Central

 Hi Readers,

Today I will show you how to disable the download source code option in the Extension Management in Microsoft Dynamics 365 Business Central.

At First, I have created a Project(SHOWMYCODE) in VS Code and then I have downloaded the symbols.

After Downloading the symbols go to the app.json file you will find there "ShowMyCode": True.

Like this in the image below.



After Publishing this app you go to Extension Management and check you will find the Download Source Enable as shown in the image below.


By Clicking the download source you will be able to download all the source code of that app.

So, Now the point comes how to stop this or disable this option.

This is Very Simple and Easy. What you need to do is go to app.json fine and make  "ShowMyCode": False. as shown in the image below.



As a developer, you should make it false so that the end-user will not able to download it. After making the changes again publish the app by pressing F5 and then again go to Extension Management as shown below.



So, the end-user will not be able to download the source code.

Microsoft Docs Link: JSON Files

Please comment below how you like the blog you can connect me on Linkedin  https://www.linkedin.com/in/sarabjot-kalsi-9549a576/

Comments

Post a Comment

Popular posts from this blog

Page Triggers in Microsoft Dynamics 365 Business Central / Navision with Example.