Shipping your own data in a manifest — the recipe
A manifest is one file that adds your own record types and fields, and whatever else the retailer's administrator could add in Desk, to a retailer's iVendNext, without you writing code inside the retailer's iVendNext. It is for iVendNext Partners, and for the CitiXsys Consulting Team.
Next: Part 1, StepsNext: the sample, S11 · Purchase Order approvalAll recipes
In five parts
1Steps: write, check and install a manifest
2More you can add
3What a retailer reads: the card and the guide
4What is refused, and why
5Technical notes

What the bin-location manifest installs, as staff see it in Desk: the workspace, the bins, and what is in each bin. The workspace is never in the Desk's menu as this picture shows it: the retailer's administrator opens it from the App library, and your app's users find it with the search bar.
Reference implementation: samples/s11_approvals/manifest.json (one workflow on the customer's Purchase Order), samples/s2_bins/manifest.json (five record types, a field on Item, a print format, a workspace, two webhooks) and samples/s1_warranty/manifest.json (one record type the till key reads). The checker is tools/manifest/validate.py (a copy of iVendNext's own), and tools/manifest/site_rules.py adds two stops iVendNext's install makes after it (a feed description over 140 characters, a record type's name over 61 characters); ivn check runs both, and ivn try puts a manifest on your own sandbox.
When to use it. Rung 4 of the build ladder. Use it when configuration cannot hold your data and your app needs it inside the retailer's iVendNext: staff see it in Desk, a till key reads it, or a webhook reports on it. A manifest runs nothing, except a certified module it carries, which runs in our sandbox. Your logic lives on your server (a connected app) or in a till key.
Package or module? A package is your whole app: its records, fields, print formats, buttons, services and label layouts, sent as one manifest. The retailer's administrator presses Install in the App library, reads what it will change, ticks I agree and presses Install; later the retailer can update it or remove it, and Connected apps lists every one. A module is one small program that does one job at an extension point, such as adjusting a price or checking a sale before payment. Two extension points take a module today: the check before payment and pricing. Your package can carry it (chapter 7,
extension_modules), or the retailer's administrator adds your file in Desk, with a certificate our review team signs, and can withdraw it. In short: a package is the app, and a module is one program that does one job.Technical note: a package installs from the App library, or by hand from the Retail Extension Package screen in Desk; a module is a Retail Extension Module record that the retailer's administrator adds in Desk, or your package installs, at an extension point that takes one (the Wasm kit).
Needs this serves
- Extra fields on a purchase order and its lines, a goods receipt, a stock transfer, an expense or the till close — Ready, with limits (1)
- Keep our own records, such as a warranty register, in iVendNext with their own screens and print formats — Ready, with limits (2)
- Only the pharmacist may see a patient's ID number, and only the manager may change a supplier's bank details — Ready, with limits (5)