Changes in VS code not reflected in BCOnline

jordi79
Member Posts: 280
Hi,
I am using a trial BCOnline. But for all intents and purposes, this should be similar to BC Online Production environments.
I have successfully connected to the BCOnline using VSCode, and successfully downloaded symbols.
When I try to run the HelloWorld.al, it does not get published to BCOnline. When I do the same thing on BCOnPrem via docker, it works. When I open the customer list page, the msg "App published: Hello World" is prompted.
Why doesn't the standard HelloWorld.al work in BCOnline?
Jordi
I am using a trial BCOnline. But for all intents and purposes, this should be similar to BC Online Production environments.
I have successfully connected to the BCOnline using VSCode, and successfully downloaded symbols.
When I try to run the HelloWorld.al, it does not get published to BCOnline. When I do the same thing on BCOnPrem via docker, it works. When I open the customer list page, the msg "App published: Hello World" is prompted.
Why doesn't the standard HelloWorld.al work in BCOnline?
Jordi
0
Answers
-
In my opinion it should work. What error do you get in your AL Project? If there are errors you cannot publish until you resolve the problem.
0 -
There are no errors. Like I mentioned in my previous post, I did the same thing with BCOnPrem with no errors, and with the changes published.0
-
If VS Code doesn't report problems/errors it should be published. Did you check if the 'Hello World' app was published indeed? You could check this by going to the Extension Management page in BC.0
-
I found out that if I use the actions Run -> Run without debugging from VSCode, the application is not published. This is the same with BCOnline or BCOnPrem. I have to instead use the pallette (Ctrl+Shift+p), then choose the command "AL: Publish without debugging", then it works.
I seem to recall that using "Run without debugging" from VSCode used to work for me on previous occasions.0 -
Thanks for sharing. Maybe you had multiple extensions installed so then you have multiple publish commands from different extensions possibly. The AL Publish is the correct one indeed.0
-
@jordi79,
Try using shortcut "Ctrl+F5"-Dhan Raj Bansal
Linkedin Profile: http://in.linkedin.com/in/dhanrajbansal0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions