Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Publishing Sandbox Designer Changes to Production environment

Posted on by 185

I created a sandbox extension in Business Central with the Designer feature. I then downloaded the source to later upload the extension to production, but Business Central does not accept an upload for the created files it downloaded.

Business Central is expecting a .app file

pastedimage1684162830559v1.png

These are the files that got downloaded upon creating the designer extension in sandbox

These are the files the designer created. What am I missing to get the Sandbox extension from designer to be available in production?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    Hi, hope the following helps.

    How to deploy your Design Extension (.zip file) to production environment
    https://yzhums.com/21735/

    Thanks.

    ZHU

  • ERPlatanos Profile Picture
    ERPlatanos 185 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    Thanks, Rob.

    Per your advice, I just created a new project with AL-Go!, copied the page extension file from the design download, made sure my id's were right, and then proceeded with building to create the app file, which was uploaded as an extension to BC, where I can see the changes.

    It looks like my issues could be solved if I had more knowledge of the app.JSON and launch.JSON files, but it's not obvious exactly what I would do moving forward, besides doing the design just to get the .al file, then proceeding with my own process...

    [quote user="ERPlatanos"]

    I created a sandbox extension in Business Central with the Designer feature. I then downloaded the source to later upload the extension to production, but Business Central does not accept an upload for the created files it downloaded.

    Business Central is expecting a .app file

    pastedimage1684162830559v1.png

    These are the files that got downloaded upon creating the designer extension in sandbox

    These are the files the designer created. What am I missing to get the Sandbox extension from designer to be available in production?

    [/quote]
  • Robert Jolliffe Profile Picture
    Robert Jolliffe 859 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    Just attach to the sandbox on the same instance where you've developed the personalizations/customizations and download those symbols.  They will be identical or close enough to the production instance and that should work.

    I was confused by this too in the beginning. You develop on a sandbox and do everything there and you'll be fine.  The "on your own server" is for developing on-prem when you have a server so that's not this case.

    Hope that helps.

  • ERPlatanos Profile Picture
    ERPlatanos 185 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    Thanks for the info, Rob.

    I have actually check out Eric's videos and have gone through the some of the development learning paths. I've also built a few extensions already. Developing isn't my role, but I wanted to learn for the sake of specific customer needs in customizing BC.

    I've been working in VSCode with what seems to be a simple file, but cannot get past the simple errors.

    pastedimage1684177150276v2.png

    I haven't been able to download symbols on this page, since there's no server selected on the Launch.JSON file.

    Business Central expects you to create your own configurations for this...

    pastedimage1684177261478v3.png

    It is unclear which instellisense option is best to complete the task, but my best guess was "Attach to the client on your own server"

    pastedimage1684177347109v4.png

    pastedimage1684177433164v5.png

    Do I need to change these settings now, because the build throws an error at this point too. 

  • Robert Jolliffe Profile Picture
    Robert Jolliffe 859 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    This is a lot easier if you are a developer.

    I did a Google for "Getting started with VS Code and AL Development" and this video is the one that came back.  Eric is very thorough and walks through slowly.

    https://www.youtube.com/watch?v=JZcwk8UHr_8

    If you do that Google or BING search and look at Videos you'll find many others.  eg: https://www.youtube.com/watch?v=oyLXQiBZx8g

    Just so you know - I have an out of date developer background (I haven't done development professionally in 10+ years) but I decided to learn this when it was new.  It took me most of a day with some help from people who had figured it out before I was able to get VS Code working back in 2018.   I think things are easier now but it won't be easy to do.

    Just an FYI - Ignore GIT or DevOps if you hear that discussed.  A lot of the videos will talk about that.  You don't need it (its a nice to have).  

    Hope that helps.

    -Rob

  • ERPlatanos Profile Picture
    ERPlatanos 185 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    Also, when trying to download symbols, I receive the error "No server has been chosen"

    I'm very lost now, and don't know if I missed a step

  • ERPlatanos Profile Picture
    ERPlatanos 185 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    Thanks for the replies, however there are some issues with these files when getting into VSCode. I'm not a developer.

    I've run into these errors upon opening the files, but not much info on where to go...

    pastedimage1684164303697v1.png

    pastedimage1684164359355v2.png

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    Hi,

    Adding mor info.

    When you design some pages and then download the source code, it downloads all the .al files in to your local drive,. as suggested open those .al files into VS code and Build an app with those file and later compile and upload that .app file into your production envrionment.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,137 Super User 2024 Season 2 on at
    RE: Publishing Sandbox Designer Changes to Production environment

    You need to open the extracted folder in VS Code and create a .app file from those files and upload them to Production.

    It is just not uploading the downloaded zip file.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans