Every time I start a new AL project, Visual Studio Code always gives me a hard time when I try to download symbols.
I am frustrated and have just about had it!
Below are my 100% perfect app.json, launch.json, and Hello World files. These are flawless!!!
But, pray tell, what does the application think is wrong?
// Welcome to your new AL extension.
// Remember that object names and IDs should be unique across all extensions.
// AL snippets start with t*, like tpageext - give them a try and happy coding!
namespace DefaultPublisher.BegAL;
using Microsoft.Sales.Customer;
pageextension 50100 CustomerListExt extends "Customer List"
{
trigger OnOpenPage();
begin
Message('App published: Hello world');
end;
}
{
"id": "9c2df337-95e9-4ca5-ad09-d4d79dcf02a4",
"name": "BegAL",
"publisher": "CRONUS USA, Inc.",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [],
"screenshots": [],
"platform": "1.0.0.0",
"application": "26.5.38752.41642",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": true,
"includeSourceInSymbolFile": true
},
"runtime": "16.0",
"features": [
"NoImplicitWith"
]
}
{
"version": "0.2.0",
"configurations": [
{
"name": "sandbox",
"request": "launch",
"type": "al",
"environmentType": "Sandbox",
"environmentName": "DevSandbox",
"server": "https://api.businesscentral.dynamics.com",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": false,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true,
"tenant": "f7146a22-294c-43d9-92f3-2f5d0abcfd4c",
"schemaUpdateMode":"Synchronize"
}
]
}