AI agent getting started? Read Agents: start here first.
A configured app groups pages around a workflow, such as a design review. Its pages use the platform’s view components and can show records from several types. The organisation publishes the app definition; each project supplies the data a viewer may read.
For new apps, we recommend hosted apps. They provide the richest experience, with custom React interfaces and interactions inside the workspace. Use configured app pages when the platform’s existing view components are enough for your workflow.
Choose the right kind of app
Section titled “Choose the right kind of app”| What you need | Use |
|---|---|
| A rich application with custom interfaces and interactions | A hosted app — recommended for new apps |
| A collection layout for one type | An App view on that type |
| A simple application assembled from existing view components | A configured app, described here |
| An app running on your own servers | An external app |
Open a draft
Section titled “Open a draft”Set up the CLI and sign in as a person who can draft and publish the organisation’s definitions. Start with a small page to check the publication flow:
openeng ontology-sdk openAppDraft --input '{"appKey":"design-review"}'Keep the returned draft ID and revision. An app has one open draft; inspect any existing work and coordinate with its author before replacing its document.
Save the page
Section titled “Save the page”Save this complete request as review-app.json. Replace <app-draft-id> and the example revision 1 with the values returned above:
{ "appDraftId": "<app-draft-id>", "revision": 1, "document": { "title": "Design review", "pages": [ { "key": "home", "title": "Review home", "view": { "root": "body", "elements": { "body": { "type": "AppBody", "props": {}, "children": [ "intro" ] }, "intro": { "type": "Text", "props": { "text": "Choose the requirements to review." }, "children": [] } } } } ] }}Submit the file and keep the new revision returned by the call:
openeng ontology-sdk reviseAppDraft --input-file review-app.jsonValidate and publish
Section titled “Validate and publish”In the commands below, replace <app-draft-id> and the example revision 2 with that draft ID and its new revision:
openeng ontology-sdk validateAppDraft --input '{"appDraftId":"<app-draft-id>","revision":2}'Resolve every reported violation. Review the complete document, then publish exactly the revision you reviewed:
openeng ontology-sdk acceptAppDraft --input '{"appDraftId":"<app-draft-id>","revision":2}'openeng link app design-review --project <project-id> --ref mainOpen the returned address. The page should display Choose the requirements to review. Publication creates an app version; it does not merge engineering data.
Add useful records
Section titled “Add useful records”Add a Query and a List or Table to show records. A requirements review can have one page filtered to open requirements and another filtered to closed requirements. Each query must name properties and status values your published type actually defines.
Start with a small result set, inspect it in the draft preview, then add another page. The view component reference lists supported components and placement rules. Use verbs for validated changes from a button.