Reference manual

Objects page

Home page

The Home page of the Control Panel is where you open a workspace, reopen a recent one, set how the next workspace loads, and check your version and license.

Opening it

  • Start Prism for AL; the Control Panel opens on the Home page.
  • Select Home in the rail of the Control Panel.
The Home page with a few recent workspaces.
#NameDescription
1Open buttonsOpen a new workspace. See Open buttons.
2VersionYour installed version and whether an update is available. See Version.
3LicenseThe installed license and its status. See License.
4Open recentThe workspaces you opened recently, with a search box. See Recent workspaces.
5OptionsHow the next workspace loads. See Options.
6FeaturesHow much of Prism for AL you have explored. See Features.
7Release notes buttonOpens the release notes in your default browser. It shows once Prism has checked for updates.

Once you choose a file, folder or service, the Loading window opens, and the workspace then opens in its own Workspace window.

Open buttons

The four buttons at the top of the page each open one kind of workspace. The same commands are under File › Open in the File menu.

The open buttons.
#NameDescription
1 Open workspace file… Opens a Visual Studio Code workspace file (*.code-workspace) and the AL projects it lists.
2 Open from BC… Opens a solution from a running Business Central service. Enter the connection details of the service and a download folder; Prism downloads the solution's symbol packages into the folder and opens it as a workspace. The folder starts from the Default download path setting. See also Open from BC window and Full Solution Download.
3 Open folder… Opens a folder that holds AL files (*.al), Visual Studio Code projects (app.json) or packages (*.app), in its subfolders too. The list below the table says what each kind opens as.
4 Open package… Opens a single package file (*.app). Prism adds an artificial app.json that depends on the package. The package's own dependencies are not included; to include them, open the folder that holds them with Open folder….

A folder you open with Open folder… can be:

  • A Visual Studio Code project folder: a folder with an app.json file and, usually, .al files.
  • A folder of project folders: subfolders, at any depth, that are Visual Studio Code projects. Prism opens them together, as a workspace file would:
    • Projects
      • app-A
        • .alpackages
        • app.json
        • DoThis.Codeunit.al
      • app-B
        • .alpackages
        • app.json
        • DoThat.Codeunit.al
  • A folder of packages: .app files and no app.json file in any subfolder. Prism creates an artificial module in memory that depends on every distinct package in the folder. Use it to browse on-premises installation media: open its Applications folder. Some packages cannot be read; see Packages ignored when opening folder.
A .code-workspace file A project folder, ora folder of projects A folder of .app filesonly, such as Applications One .app file A running Business Central Where is your AL code? Open workspace file…The projects it lists Open folder…The projects in it Open folder…An artificial module thatdepends on every package Open package…An artificial module thatdepends on it alone Open from BC…Downloads its packages toa folder, then opens that Workspacewindow A .code-workspace file A project folder, or a folder of projects A folder of .app files only, such as Applications One .app file A running Business Central Where is your AL code? Open workspace file…The projects it lists Open folder…The projects in it Open folder…An artificial module thatdepends on every package Open package…An artificial module thatdepends on it alone Open from BC…Downloads its packages toa folder, then opens that Workspace window
Which open button fits the files you have, and what Prism builds from them.

Version

The version block with an update available.
#NameDescription
1Status glyphThe result of the last version check.
2VersionThe installed version.
3Update availableOpens the download page.

The version block shows a status glyph, the installed version, followed by Preview on a preview build, and a status label. The version pulses while Prism checks for updates. Prism checks when it starts and every 24 hours after that. Hover the status for the release date and what selecting it does.

StateShowsSelecting the label
CheckingNo glyph and no label; the tooltip reads Checking for updates…No label to select.
Couldn't checkAn info glyph and no label; the tooltip gives the reason.No label to select.
Up to dateA green check and no label; the tooltip reads You have the latest version.No label to select.
Update availableUpdate available, with the new version in the tooltip.Opens the download page.
Preview update availableUpdate available, naming a newer preview.Opens the download page.
Latest previewLatest preview, in green: you run the newest preview.Opens its release notes.
Pre-releasePre-release and a beaker glyph: this version has not been released yet.Opens the release notes of the latest release.

When you run the latest stable version and a newer preview exists, a quiet link reads Preview … available. Select it to read the preview's release notes. A preview replaces your installed version; to return to stable, install the next stable release or reinstall the current one.

License

The license block of a valid license.
#NameDescription
1Licensed toThe licensed user and company.
2StatusHow long the license is valid; hover for details.
3Activate…Opens the Activate license window.

The license block shows, in order: Trial license for a trial, the licensed user, the company, and the status with a colored glyph. Hover the status for a sentence that explains it and what to do. The glyph is green while the license is valid, amber in the last 32 days before it ends, and red on its last day, once it has expired, when it is not valid, and when no license is installed.

StatusMeaning
No license installedPrism runs with limited features. Activate a license key to use all of them.
Valid until dateThe license is valid until that date.
Up for renewalYour subscription is soon up for renewal; the key stays valid until the date in the tooltip.
Expires whenThe subscription has ended and the key runs a little longer. The tooltip says what to do, such as paying the renewal invoice.
Trial expires whenYour trial ends today, tomorrow or in the days shown.
Trial expired dateYour trial has ended. Buy a subscription on stati-cal.com.
Expired dateYour license has expired.
Not valid on this machineA trial license works only on the machine you requested it from.
Invalid, Invalid trial licenseThe key is not valid; the tooltip gives the reason. See Invalid license.

Without a license, Prism for AL runs with limited features. Subscribe or get a trial license to use all of them. The block updates by itself when the license changes while Prism runs.

Recent workspaces

The recent list, grouped by when you opened each workspace.
#NameDescription
1Search recentFilters the list by name, path or service URL as you type.
2Group headingCollapses or expands the group. It shows how many workspaces the group holds.
3Recent workspaceOpens the workspace. Shows its kind as an icon, its name, when you opened it, and its path.

The list under Open recent holds the workspaces you opened, newest first, grouped by Today, Yesterday, Past week, Past month and Older.

  • Select a row to open the workspace. If it is already open, the workspace window comes to the front. A workspace you opened from Business Central opens as the Re-open from BC behavior setting says: Prism asks whether to download the symbols again, always downloads them, or opens the workspace as it is.
  • Press Ctrl+1 to Ctrl+9 to open the first to ninth workspace; the row's tooltip shows its key.
  • Hover a row to see its details: kind (Code workspace file, Folder, Package file or Service workspace), path, when it was opened, modified and created, and for a service workspace its application URL. Currently open marks a workspace that is open now.

Right-click a row for these commands. Which items show depends on how the workspace was opened:

A workspace that has been moved or deleted stays in the list, with a badge on its icon; its tooltip says so. When you open it, Prism says Workspace no longer exists and removes it from the list.

With an empty list, the page shows No recent workspaces yet and an Open a workspace file… button. When the search matches nothing, it shows No matching workspaces.

Options

The Options panel.
#OptionValuesDefaultEffect
1 Auto-build graph On, off On Builds the Code graph and starts the graph server when a workspace loads. Off, you build it from the workspace window when you need it.
2 Search package cache On, off Off When a module is not found in a package file in the workspace, Prism looks in the package cache too. While it is on, a caution glyph shows beside it: the module found there may be much older or newer than the package the workspace expects.
3 Search depth None, Direct, Propagated, All Propagated How deep package resolution follows dependencies. See Search depth stops.
4 Graph detail Procedural, Full Procedural Procedural loads a Procedural flow graph: inter-procedural calls only, smaller and faster to load. Full loads a Full graph, which adds expression- and statement-level flows and is slower to load.

Search package cache and Search depth are the package resolution options: they decide which packages Prism loads with the workspace's modules. All four options apply when you open a workspace, a recent one included. They start from the Autobuild graph, Search package cache, Default search depth and Full graph settings, and a change you make here lasts until Prism restarts or you save the settings.

How much of the workspace Prism keeps in memory while you browse is the Memcache setting on the Settings page, not an option here.

Search depth stops

Search depth is a slider with four stops; each stop loads the modules of the stop before it and more. Select a stop's label, or drag the slider. Hover a label for its name, a diagram and its description. The diagrams below are the ones the tooltips draw: app.json is the workspace module, each .app a package, and the dashed curves are dependencies a package propagates to the workspace. What a stop loads is lit.

StopLoadsDiagram
None Workspace: the workspace modules (app.json) only. No packages. app.json .app .app .app .app
Direct Workspace & Direct Dependencies: the workspace modules and their direct package dependencies (*.app). app.json .app .app .app .app
Propagated Workspace & Direct/Propagated Dependencies: the workspace modules, their direct package dependencies and the dependencies those propagate. This is how Visual Studio Code resolves packages. app.json .app .app .app .app
All Workspace & Transitive Dependencies: the workspace modules and all their dependencies, recursively. Use it with care: AL: Download symbols in Visual Studio Code downloads only the direct, application, platform and propagated dependencies, so the further modules this stop adds come from .app files that nothing updates and may be outdated. app.json .app .app .app .app

Help shape the code graph

While Graph detail is Full, an info button beside it asks why you use the full graph. The full graph takes much longer to build than the procedural graph, and Statical is considering phasing it out in favor of a richer procedural graph.

The question about the full graph.
#NameDescription
1Info buttonOpens the popup. Shown while Full is selected and you have not answered.
2Text boxType what you would miss without the full graph.
3Not nowCloses the popup; the button stays, so you can answer later.
4Send feedbackSends your text to Statical.

When the feedback is sent, Prism says Feedback sent, and a quiet icon that thanks you takes the button's place, so the question is asked only once. If sending fails, your text stays in the box so you can try again, or send it to feedback@stati-cal.com.

Features

The Features panel after an update.
#NameDescription
1Percentage completedHow much of Prism for AL's main features you have explored.
2CountsThe features you have explored, have left, have dismissed, and that are new or updated in this release.
3Release notes…Opens the release notes in your default browser.

The Features panel lists how many features you have explored (used or dismissed), how many are more to go, how many you dismissed, and after an update how many are new in this release and updated in this release. Each line shows only when its count is not zero. Release notes… shows when the release updated features. To see the features themselves, select Features in the rail; see Features page.

Select Options or Features to collapse or expand the panel.