Plur-e
Admin Center

Capability Studio

For Plur-e consultants. Write a capability manifest with list, detail, form, entry and report views, wire sources and permissions, test a data source, preview and publish.

Quick answer

The Capability Studio is where a Plur-e consultant builds a screen as data. A capability is a JSON manifest attached to an existing process; once published for a company, the mobile app, the Admin Center and the AI assistant show it without a new app release. It is available to the platform team at /admin/super/capabilities.

What a capability is

  • It hangs on an existing process (for example a process card the company already has), so licenses, roles and action permissions keep working as they do today. A process has at most one capability per company, plus one for everyone.
  • Scope: Platform and Vertical reach every customer (the Studio warns you); Tenant reaches one company.
  • Surfaces choose where it appears: Mobile, Admin Center, MCP, public API and BC extension.
  • Each save is a version. A published version cannot be edited; you publish a new one or go back to an older one.

The manifest v1

Top level: schemaVersion (1), code (lowercase, dots or dashes, such as reports.sales-by-customer), title, description, icon, startView and up to 20 views. Each view has an id and a type:

TypeWhat it draws
listA paged list (source.page.size 10 to 200) with row title, subtitle and chips, search fields, onSelect to open another view, and actions.
detailSections of label/value pairs for one record, with actions.
formFields and a submit action.
entryA header plus repeatable lines sent in one call (journals, counts). Supports newLineKeeps, leaveConfirm and maxLines.
reportParameters, a source, grouping, measures, columns, sorting, totals, an optional chart and export.

Sources

  • method: a read method of the Business Central catalogue for that environment, with params, optional cacheSeconds and emptyIsError (false turns Business Central's "... is empty" into an empty list). The identity (employee, salesperson) is added by the server, never written in the manifest.
  • odata (reports): an entity of the OData catalogue with a filter and select. Large entities require a filter with at least one parameter.
  • panel (reports): trial_balance, income_statement or balance_sheet.
  • financialReport (reports): { "financialReport": "<name>" }, with from and to parameters. It needs the Plur-e extension and the Business Central Panel module.

Values use templates such as {{params.from}} or {{item.Description}}, with .field, [Key=VALUE].field and the filters |date, |money and |number. There are no expressions or conditions.

A report view

{
  "id": "sales",
  "type": "report",
  "title": "Sales by customer",
  "params": [
    { "key": "from", "label": "From", "type": "date", "default": "startOfMonth", "required": true },
    { "key": "to", "label": "To", "type": "date", "default": "today", "required": true }
  ],
  "source": {
    "odata": "salesInvoices",
    "filter": "postingDate ge {{params.from}} and postingDate le {{params.to}}",
    "select": ["customerNumber", "customerName", "totalAmountExcludingTax"]
  },
  "groupBy": ["customerName"],
  "measures": [
    { "key": "amount", "field": "totalAmountExcludingTax", "agg": "sum" },
    { "key": "invoices", "agg": "count" }
  ],
  "columns": [
    { "key": "customerName", "label": "Customer" },
    { "key": "invoices", "label": "Invoices", "format": "number", "align": "end" },
    { "key": "amount", "label": "Amount", "format": "money", "align": "end" }
  ],
  "sort": [{ "key": "amount", "dir": "desc" }],
  "limit": 200,
  "totals": true,
  "chart": { "type": "bar", "x": "customerName", "y": "amount" },
  "export": ["xlsx", "csv", "pdf"]
}

Date defaults: today, startOfMonth, endOfMonth, startOfLastMonth, endOfLastMonth, startOfYear or an ISO date. Aggregations: sum, count, avg, min, max. Formats: text, number, money, percent, date. Charts: bar, line or pie, with x in groupBy and y in measures. limit goes from 1 to 1000.

Permissions

  • Every action has a permission, the permissionId of the process (see Roles). View is always implied.
  • On fields, whenDenied is hide (default) or lock.
  • confirm is none, simple or type-number. A write method needs simple at least; a post method needs simple or type-number. Every confirmation shows the action's effect, one sentence on what happens in Business Central.
  • after an action: stay, refresh, back or reset.

Test, preview and publish

  1. Write or paste the manifest in the editor, or start from a template (list, detail, form, entry).
  2. The editor validates live against the schema and shows each error with its path. Validate also checks the rules the schema cannot: every method exists, is active in the catalogue and is the right kind; startView, onSelect and dependsOn point at real ids; the code matches the capability.
  3. Try data source: choose a customer, environment, company and a source from the manifest, fill any {{...}} parameters by hand and run it. Only read methods run, you get up to 50 rows, and the call times out at 30 seconds.
  4. For a report view, Preview runs the whole report and draws it like the Admin Center does.
  5. Diff compares your draft with the published version.
  6. Save draft, then Publish (with confirmation). Unpublish brings back the native screen if there is one.

The app sees the new version without signing out. The minimum app version is computed from the view types used; an older app shows "Update Plur-e". Requests linked to the capability appear in its detail, and Create capability from request starts a capability from a customer's request.

Limits

  • Version 1 has no write actions from MCP or the Admin Center, no scheduled or emailed reports and no expressions in templates.
  • Customer code never goes into Plur-e: build a customer's logic in their own extension (see Extension methods and financial reports).
Was this page helpful?

On this page