IFS Marble Language Reference

IFS Cloud’s development framework uses a proprietary declarative language informally called Marble (also seen as PLVC or MTG in tooling). You write it in IFS Developer Studio — the autocomplete sidebar is the closest thing to official docs. This vault is the reference that docs page should have been.

Official Reference

IFS maintains a thin portal at developer.ifs.com — Syntax & Reference Overview. The deep sub-pages require an IFS-approved browser session. This vault expands those stubs with annotated real-world examples drawn from IFS’s own SHPORD (Shop Order) module source.


Architecture Overview

Every IFS Cloud screen involves at least three layers. Understanding which file belongs at which layer is the foundation of reading and writing Marble.

graph LR
    subgraph UI["Aurena UI Layer"]
        Client[".client / .fragment"]
    end
    subgraph API["API / Mapping Layer"]
        Projection[".projection / .fragment"]
    end
    subgraph SVC["PL/SQL Service Layer"]
        PLSVC[".plsvc"]
    end
    subgraph DBL["Database Layer"]
        DB[(".views / .plsql")]
    end

    UI -->|"references via<br/>projection Name;"| API
    API -->|"maps to PL/SQL<br/>by naming convention"| SVC
    SVC -->|"queries /<br/>modifies"| DBL

File Types Quick Reference

ExtensionLayerPurpose
.clientAurena UIPages, navigator entries, lists, groups, dialogs, assistants
.fragmentBothReusable UI + projection constructs in one file
.projectionAPIEntitysets, entities, queries, virtuals, actions, functions
.plsvcServiceOracle PL/SQL implementations behind projection actions/functions
.plsqlDatabasePL/SQL packages (LU APIs, utilities)
.viewsDatabaseDatabase view definitions
.entityEntityEntity metadata (Base layer only)

Layer System

Every file declares its layer. This controls merge precedence and deployment scope:

LayerUsed for
CoreIFS-supplied base code — never edit directly
CustCustomer customizations — your work goes here
Cus2–CusNAdditional customer layers for multi-tenant scenarios
TestTest and sandbox code

A Cust layer file with @Override can extend or replace a Core entity without touching the original.


Start Here

New to IFS Cloud development? Follow this path in order.

  1. Thinking in Marble — the mental model: how the four layers relate, the three rules, and how to approach building a screen
  2. Glossary — definitions for every term used in this vault, with equivalents from React, SQL, and REST
  3. Build Your First Screen — step-by-step tutorial: build a working list page, form, LOV, badge, and command from scratch
  4. Common Patterns — 18 named recipes for the scenarios that come up in almost every screen

Notes in This Vault

Projection Layer

TABLE aliases, tags
FROM #ifs-marble/projection
SORT file.name ASC

Client / Aurena UI Layer

TABLE aliases, tags
FROM #ifs-marble/client
SORT file.name ASC

How Projection and Client Relate

A .client file declares projection <Name>; at the top — it consumes exactly one projection. The projection defines the data contract (what entities exist, what attributes they have, what actions are callable). The client defines the presentation (how to display that data in Aurena).

A .fragment file is the exception: it contains both a CLIENT FRAGMENTS section (UI constructs) and a PROJECTION FRAGMENTS section (data constructs) in one file. It is included in both the parent .client and .projection via include fragment <Name>;.


See Also

Client / Aurena UI — Key Concept Notes

  • Property Index — alphabetical reference of every client property with type, default, and which controls it applies to
  • Emphasis and Colors — the color/theming system used by nearly every visual control
  • Layout Controls — Arrange, Section, Fieldset, Tabset, GroupingFieldset
  • Display Controls — Badge, Boolean, State Indicator, Computed Field, Static Field, Markdown Text, Progress Field
  • Input Controls — Currency/Measure, Date Range, Date Time Picker, Color Picker, Radio Group, Rating, Item Picker, Address, Signature
  • Card and Sheet — card templates for Card View, Calendar popups, and Tree Diagram nodes
  • Charts — Bar, Line, Pie, and Funnel charts
  • Data Views — Calendar, Timeline, Gantt Chart, Tree, Tree Diagram, Box-matrix
  • Selector and Search Context — search panels and page-level record selectors
  • Utility Controls — Process Viewer, Toast, Message Box, Contact Widget

Base Server Layer

The Marble/projection layer sits on top of the Base Server layer. See the Base Server Reference for documentation on the underlying entities and PL/SQL layer that projections map to:


Deployment and Installation Layer

Every component documented above — Base Server or Marble/projection — ships with a deploy.ini profile that governs how it’s packaged, versioned, and upgraded. See the Deployment and Installation Reference: