Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Is there any chance to recover source code of an app ?

Posted on by 48
Hi guys,
 
I did something stupid and by mistake, I deleted several files from my PC, including the source code of a BC extension.

The extension is published on BC environment of the client, but I can't download it.
Is there any possibility of recovering the source code?

Could I create a ticket to Microsoft?

Thank you.

 
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    Kamal Khakhkhar 231 on at
    Is there any chance to recover source code of an app ?
    Hi There,
    (Tried in OnPrem)
     
    As per i used New Version of 23 i have gone through some interesting thing, In that i had applied DownloadSourceCode: False. even though i can able to download the source code. For that you need to go to page inspect, from that Under Page name. you will find an action of Explore Page In VS Code. And in that you can get the source code in your project/New Project. In that you will get the project at Generate1. in that you can get the source code.
    Try out with new version.
     
    Thank You.
    Kamal Khakhkhar.
  • Daniel Mitrea Profile Picture
    Daniel Mitrea 48 on at
    Is there any chance to recover source code of an app ?
    Hi Steven
     
    I'm using DevOps at my current company, but this customer was part of an external small project and I didn't use anything to store the source code.
     
  • Suggested answer
    Steven Renders Profile Picture
    Steven Renders 5,019 Super User on at
    Is there any chance to recover source code of an app ?
    Are you not using any SCM/ALM software???
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 64,563 Super User on at
    Is there any chance to recover source code of an app ?
    Hi, if the allowDownloadingSource property is set to False, unfortunately, downloading will not be possible.
     
    According to Erik's video, this should be downloadable using a special method. I'm not sure if Microsoft supports this operation.
     
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans