The Template Pack Store is the window for finding NeoSQL's official packs and packs other people have made public. You can take a pack you like as your own pack to edit, or add it straight to a project to generate code. It is the same window as the data dictionary Store; only the kind of asset differs (Data dictionary manager).
| Where to open it | What it does |
|---|---|
| The Store button above the list on the Template Pack Management screen | Takes packs into your pack list |
| The Create New Template Pack card › Get from Store item on the dashboard | The same |
| The + Add Template Pack button in the tab | Adds packs to this project (Generating source code) |
The buttons in the first two places can be pressed only when the Store server can be reached. Otherwise they are greyed out, and hovering over them shows the This feature is available while connected to the NeoSQL server. notice.
What's on the screen
| No. | Name | Description |
|---|---|---|
| 1 | Search field | Keeps only the cards whose name, author or description contains what you type. |
| 2 | Sort selector | The Popular item is the order the Store sends, the Recently changed item puts the most recently changed packs first, and the Name (A→Z) item is by name. |
| 3 | Official mark | An official pack NeoSQL provides by default. |
| 4 | Version mark | The pack's latest published version. Taking it or adding it to a project uses this version. Packs that exist only on this device do not have it. |
| 5 | Card buttons | Depend on whether you are signed in and where you opened the window (see below). |
| 6 | Pager | Twelve cards per page. The range shown and the total are on the left. |
- Private packs carry a Private mark. Private packs you own or are a member of appear only when adding packs to a project. Cards for packs on this device carry neither this mark nor the mark saying the pack is in your list.
- Domain pack and dictionary cards also carry a language mark.
Taking a pack as your own
In the Store opened from the Template Pack Management screen or the dashboard, the card buttons depend on whether you are signed in.
| Desktop without signing in | Signed in (desktop, web) | |
|---|---|---|
| Card buttons | Download | Clone, Favorite |
| What you get | A copy of the latest published version saved on this device | Clone: a new pack in your account copied from the latest published version. Favorite: the original added read-only to your pack list |
| Can you edit it | Yes | The clone, yes. A favorite, no; clone it to edit |
| When the original publishes a new version | The copy does not change | The clone does not change. A favorite can take the new version |
- Press the Store button above the list on the Template Pack Management screen.
- Search and sort to find a pack.
- Press the Download button if you are not signed in, or the Clone button if you are. The window closes and the pack appears in the list and opens.
- To use the original without editing it, press the Favorite button instead of Clone. The window stays open so you can keep choosing.
- The Clone button (1) makes another clone each time you press it, even for the same pack.
- The Favorite button (2) becomes the Favorited button for packs already favorited and the Owned button (3) for packs you can edit in your pack list, and cannot be pressed.
- The Download button becomes the Downloaded button for packs already on this device and cannot be pressed.
- Editing and publishing a pack you took, removing a favorite and taking a new version are explained in Template packs.
Adding a pack to a project
In the Store opened with the + Add Template Pack button of the Project Configuration window, the only card button is Add. It makes this project point to the pack without taking a copy.
- Press the + Add Template Pack button in the tab.
- Press the Add button (2) of the pack to add. The window closes and a tab for the pack appears in the tab.
- Press the Save button of the Project Configuration window.
| Packs in the window | Desktop without signing in | Signed in |
|---|---|---|
| Official and public packs | Shown | Shown |
| Private packs you own or are a member of | Not shown | Shown |
| Packs created or downloaded on this device | Shown | Shown only when the Store server cannot be reached |
- Store packs are fixed to their latest version at the time you add them. How to move to a newer version is explained in Generating source code.
- When you add a Store pack without signing in, the pack is also downloaded to this device (it appears in your pack list). The project uses that downloaded pack, so you can generate code even when the Store server cannot be reached.
- Packs on this device (3) have no version. The project uses the working copy saved on this device, so editing and saving that pack changes the project's results right away.
- You can add the same pack more than once. Cards of packs already added still have the Add button, together with a mark saying so.
- Packs in your pack list carry a mark saying so: your packs and favorites when signed in, and packs downloaded to this device when not.
Importing a pack from your computer
When you are not signed in or the Store server cannot be reached, an Import... button (1) appears next to the sort selector. It imports a pack exported as a folder or ZIP file and adds it here.
- Press the Import... button and choose the pack folder or ZIP file.
- The imported pack appears as a card at the front of the list. Press that card's Add button.
- The imported pack is also saved to your pack list. If the server cannot be reached and the list is empty, the Cannot reach the store. Use Import to add a pack from this computer to the list. notice appears.
Things to keep in mind
- Anyone can publish a public pack. Templates run while code is generated, and installing writes files into your project folder. Take a pack you have not used before, read its templates in Template packs, and only then add it to a project.
- Packs taken without signing in exist only on this device. Signing in does not move them to your account. To use them on another device, export the pack and take it there. Packs you created on this device without signing in can still be opened and edited after you sign in, and projects using them can still generate code.
- Private packs added while signed in cannot be read without signing in. A project opened without signing in cannot generate code with such a pack.
Related screens
- Generating source code: how to generate code with the packs you added.
- Template packs: the screen for editing, publishing and making packs public.
- Data dictionary manager: taking domain packs and dictionaries from the same Store window.
- Sign-in and project types: where things are stored without signing in and in local projects.