Skip to content

Vault structure

CtrlPortals needs almost nothing from the vault to draw a portal over objects that already exist. What it does need comes from the components you decide to use, so build this alongside the first dashboard rather than all at once.

Comments. The Comments component stores each comment as its own object, which is what makes replies, editing, mentions and a vault-wide comment feed possible. Without a comment object type the component falls back to read-only M-Files version comments.

A comment object carries its own GUID and its parent’s GUID, both plain text, which is how CtrlPortals threads a conversation. Neither is meant to be seen or edited by a user.

Employees. Comments identify their author as an Employee object rather than as an M-Files user, so an employee object type is required wherever comments are. The same object is what any other feature that resolves “the current user” reads.

Exactly one employee object should point at each user account. Two makes the current user ambiguous.

The comment object type and its properties in M-Files Admin.

Calendars. The Calendar component reads events from an object type of your choosing, with properties for start, end and the person the event belongs to. See the Calendar component for what it expects.

CtrlPortals binds 62 settings to something that has to exist in the vault, 5 of them required. Everything below is generated from the shipping application, so nothing it needs is missing from this list.

Object types

Create these first; classes and properties hang off them.

Needed forConfiguration sectionRequired
Object TypeSeriesOptional
Object TypeM-Files trace data configurationOptional
Object TypeEvent typeOptional
Object TypeDataset search configurationOptional
Object typeComment configurationOptional
Object typeObject type relationship mappingOptional
Object typeEmployee configurationOptional

Classes

Each belongs to one of the object types above.

Needed forConfiguration sectionRequired
ClassClass mappingYes
ClassSeriesOptional
ClassM-Files trace data configurationOptional
ClassEvent typeOptional
ClassDataset search configurationOptional
ClassComment configurationOptional
ClassClass relationship mappingOptional

Properties

The data type is not advice. A property of the wrong type cannot be selected for the setting at all.

Needed forConfiguration sectionData typeRequired
Header PropertyGrid componentAnyOptional
Sub Header PropertyGrid componentAnyOptional
Sub header propertyColumn componentAnyOptional
Header propertyColumn componentAnyOptional
PropertyProperty mappingAnyOptional
PropertyField componentAnyOptional
Group view by propertyList view optionsLookup or Multi Select LookupOptional
Group values by propertyList view optionsAnyOptional
Indirect RelationSeriesAnyOptional
PropertySelected propertyAnyYes
PropertySQL trace data parameter configurationAnyOptional
Indirect RelationM-Files trace data configurationAnyOptional
Label PropertyM-Files trace data configurationAnyOptional
Value PropertyM-Files trace data configurationInteger or Integer64 or FloatingOptional
Trace PropertyM-Files trace data configurationAnyOptional
Take the value fromPlot context conditionAnyOptional
Filter onPlot context conditionAnyYes
PropertyPlot value propertyInteger or Integer64 or FloatingYes
Initial DateCalendar optionsTimestampOptional
FromEvent typeTimestamp or DateOptional
ToEvent typeTimestamp or DateOptional
All DayEvent typeBooleanOptional
CancelledEvent typeBooleanOptional
Read-OnlyEvent typeBooleanOptional
HoursEvent typeFloatingOptional
Direct RelationshipEvent typeMulti Select Lookup or LookupOptional
Personal RelationshipEvent typeMulti Select Lookup or LookupOptional
PropertyDataset column configurationAnyYes
Indirect RelationDataset search configurationAnyOptional
PersonalDataset search configurationLookup or Multi Select LookupOptional
From current object propertyDataset SQL parameterAnyOptional
Author propertyComment configurationLookup or Multi Select LookupOptional
Content propertyComment configurationMulti Line TextOptional
GUID propertyComment configurationTextOptional
Parent GUID propertyComment configurationTextOptional
Parent object propertyComment configurationLookup or Multi Select LookupOptional
Mentions propertyComment configurationMulti Select LookupOptional
Reference PropertyObject type relationship mappingMulti Select Lookup or LookupOptional
Reference PropertyClass relationship mappingMulti Select Lookup or LookupOptional
User propertyEmployee configurationMulti Select Lookup or LookupOptional
Image propertyEmployee configurationText or Multi Line TextOptional

Workflow states

States within the workflows above. Entering one is what triggers the work.

Needed forConfiguration sectionRequired
StatesStepOptional

Views

Needed forConfiguration sectionRequired
ViewList view optionsOptional
ViewDataset view configurationOptional
ViewView linkOptional

User groups

Needed forConfiguration sectionRequired
Target user groupsDashboard groupOptional

Named access control lists

Needed forConfiguration sectionRequired
Named Access Control ListObject type relationship mappingOptional
Named Access Control ListClass relationship mappingOptional

Generated from CtrlPortals 3.26.9.53.

  • The application status in M-Files Admin reports no configuration error.
  • If comments are in use: exactly one employee object points at each user account, and the two GUID properties are plain text and hidden from the metadata card.

Set up CtrlPortals — step three, building the first dashboard.