Skip to main content

Web Modeler

1. Introduction to the Web ModelerDirect link to 1. Introduction to the Web Modeler

The Softyflow Web Modeler is a powerful, user-friendly tool for designing and building modern user interfaces for your applications. It features an intuitive drag-and-drop editor that empowers developers of all levels from no-code citizen developers to seasoned software engineers to create rich, responsive, and highly functional web pages. With extensive configuration options, a vast library of UI components, and an integrated code page for advanced customizations, the Web Modeler is your all-in-one solution for UI development.

The Web Modeler: widget palette (left), canvas (middle), configuration panel of the selected widget (right).
The Web Modeler: widget palette (left), canvas (middle), configuration panel of the selected widget (right).

An interface opens in a tab of the project (Build mode). The builder is made of:

  • The widget palette (left): a search field (shortcut /), a strip of category icons to jump to a group, and the widgets as tiles, grouped in Most used, Form, Basic, Layout, Data and Advanced. Hovering a tile shows its description at the bottom of the palette. Drag a tile onto the canvas to add the widget. A click on the title of a group folds it (see section 3.2). The palette can be hidden.
  • The canvas (middle): the page as it will look, with the All Screens selector, the navigation menu selector next to the logo and the Preview button.
  • The configuration panel (right): the settings of the selected widget, in cards.
  • The right rail: Save interface, View interface (opens the page in TEST), Page settings, Open Action / Script Editor (the Code page) and Version history.

Changes are saved automatically (after 30 seconds or 20 changes); the indicator at the top of the configuration panel shows Saved or the number of pending changes, and a click on it saves right away. The Page settings and the conditions applied in the Validation card do not count as changes: save them with Save interface (see section 4.2). To create an interface, see Creating an Interface in the development guide (types Empty, Back office and Report, access rights, home page tile and AI-generated icon).

Flowy AI works in the builder too: the Flowy AI tab on the right edge of the builder opens the Flowy panel, docked on the right. The shortcut Ctrl+I (⌘+I on a Mac) also opens it, but only when the focus is outside the editor: after a click on the canvas, the palette or the configuration panel it does nothing, so use the tab. Flowy works on the interface open in the tab, and the panel pushes the page instead of covering it. At the end of a Build request, the editor reloads to show Flowy's changes: save your own edits before sending a request. See The Flowy Panel.

2. Configuring Your Web InterfaceDirect link to 2. Configuring Your Web Interface

The Page settings button of the right rail opens a drawer that is your central hub for configuring the page. Its cards cover everything from basic information to access, home page tile, layout, performance, external resources and appearance. Click Save interface to save your changes.

The Page settings drawer, organized in cards.
The Page settings drawer, organized in cards.

2.1. General and AccessDirect link to 2.1. General and Access

  • Page name: Assign a clear and descriptive name for the page. This name is displayed in the browser tab and throughout the application's navigation.
  • Dynamic name: In a process task or instance, replaces the name; ${variable} is replaced by its value.
  • Favicon: Set a custom favicon for your page (any valid image URL).
  • Allowed roles (Access card): Control who can open this interface: Everybody (any signed-in user), Public (no sign-in) or specific roles.

2.2. Home PageDirect link to 2.2. Home Page

  • Show on the home page: Toggle whether this interface appears as a tile on the portal home page. A Tile preview shows the result.
  • Thumbnail: The image of the tile, as a URL or chosen from the Library of icons.
  • Color and Workspace: The accent of the tile and the section that groups it on the home page.

2.3. LayoutDirect link to 2.3. Layout

A live Preview follows the options of the card:

  • Display: Portal header, Page title, Side navigation (the sidebar lists the visible sections placed directly on the page, with Shadowed on and Fixed off) and Portal design (applies the account design when it is applied to the applications).
  • Field labels: The Position of the labels (Left, Right or Above) and their Width, for a consistent and clean layout.
  • Field size: Medium, Small or Mini, to control the density of your interface.

2.4. Performance, External Resources and AppearanceDirect link to 2.4. Performance, External Resources and Appearance

  • Remove VB lists from the model (Performance): the option lists of the fields (_vb variables) are no longer sent to the process or saved in the database.
  • External resources: JavaScript or CSS files to load in the page (Add a link, then choose the File type).
  • Appearance: a Stylesheet (CSS) and a Logo specific to this page.

The details of each card are in the development guide.

2.5. Navigation & StructureDirect link to 2.5. Navigation & Structure

  • Menu Bar: The navigation menu displayed at the top of your page is chosen on the canvas, with the menu selector next to the logo (see section 5).
  • Screens: Attach multiple screens to a single web interface with the All Screens selector of the canvas (see section 4). This powerful feature allows you to group related views or steps in a process, improving performance and organization by reducing the number of individual interfaces you need to manage.

3. Building with WidgetsDirect link to 3. Building with Widgets

The configuration panel of the selected widget, organized in cards.
The configuration panel of the selected widget, organized in cards.

The Web Modeler includes a comprehensive library of ready-to-use components, or "widgets," that you can drag and drop onto your canvas to build your page layout and functionality. Select a widget on the canvas to configure it in the panel on the right. Its settings are grouped in cards that you can expand or collapse:

  • Global: Settings common to all widgets, such as their identifiers, plus the main options of the widget type.
  • Cards specific to the widget type: for example Actions for a button, Columns and Data source for a table.
  • Validation: Settings that control a widget's behavior on each screen (e.g., making it visible or required), with Advanced Setting for conditions.
  • Rules and Style: Validation rules and style options (placeholder, width, custom class).

3.1. Global ConfigurationDirect link to 3.1. Global Configuration

Every widget shares a common set of identifying properties that are crucial for data binding and referencing them in scripts or actions.

The Global card of an Input widget.
The Global card of an Input widget.
  • Name: The display name or label for the widget. This is often shown to the end-user (e.g., as the title of an Input field or a Divider).
  • Variable/Model: The variable name that holds the widget's data. This is the key you will use to access the widget's value in scripts and actions.
  • ID: A unique identifier for the widget instance on the page, shown as #id in the header of the panel (click it to change it). This ID is essential for targeting the component with CSS or JavaScript.

The header of the configuration panel sums up the selected widget. Its first line shows the type of the widget (Dropdown, Section, Form, Loop, Email, Number…: its name in the palette, with the technical type on hover) then the #id (click it to change it). Its second line shows the Name.

IMPORTANT

Every component should have a distinct model, unless you intentionally want two components to share the same data model. In most cases, the model should be unique.

3.2. Available WidgetsDirect link to 3.2. Available Widgets

The widget palette, with its search field, category strip and Most used group.
The widget palette, with its search field, category strip and Most used group.

Softyflow provides a rich variety of pre-built widgets, organized in the palette into the following groups (the Most used group repeats Section, Grid, Input, Button, Dropdown and Table at the top).

  • Folding a group: a click on the title of a group (Most used, Form…) folds it or opens it again; the number next to the title is the count of widgets in the group. The folded groups are remembered in this browser.
  • Searching: type in Search widgets (shortcut /). The search ignores accents and also finds French and English keywords, whatever the language of the IDE: for example tableau finds Table, case à cocher finds Checkbox and signature électronique finds Signature. While you search, the folded groups open, the Most used group is hidden (its widgets appear in their own group) and No widget found is shown when nothing matches.
Left: the Form and Basic groups folded. Right: a search for « case à cocher » finds the Checkbox widget.
Left: the Form and Basic groups folded. Right: a search for « case à cocher » finds the Checkbox widget.
GroupWidgets
FormInput, Email, Text Area, Number, Radio button, Checkbox, Timer, Time, Date, Rate, Dropdown, Autocomplete, Switch, Slider, File Upload, User Picker, Group Picker, Button, Editor, Currency
BasicSpacer, Title, Text, Divider, Html, Thumbnail, Alert, Card, Image, Icon, PDF Reader
LayoutGrid, Section, Form, Popup, Drawer, Tabs
DataTable, Basic Charts, Widget History
AdvancedSteps, Signature, Drive Picker, Captcha, QR code scanner (old interfaces only)

4. Managing Page Views with ScreensDirect link to 4. Managing Page Views with Screens

Example of using screens.
Example of using screens.

The "Screens" feature is a powerful tool for creating multi-step wizards, complex forms, or simply organizing content within a single web interface. By defining multiple screens, you can display different sets of widgets to the user without needing to create separate pages.

4.1. Creating and Linking ScreensDirect link to 4.1. Creating and Linking Screens

Screens are managed from the All Screens selector at the top of the canvas: click it to list the screens, then Add Screen to create one. Each screen can be selected with its eye button (the canvas and the Validation card then show that screen), duplicated, opened in TEST on that screen (Open Screen), renamed in its name field or deleted. Once a screen is selected, the selector shows its name: to come back to the full view, open it and click the eye button of the All Screens row at the top of the list. When the interface is linked to a process, the first screen, the Instance screen and the screens linked to a task cannot be deleted.

Add, duplicate, rename and delete the screens of your interface from the All Screens selector.
Add, duplicate, rename and delete the screens of your interface from the All Screens selector.

4.2. Per-Screen Widget BehaviorDirect link to 4.2. Per-Screen Widget Behavior

Softyflow provides granular control over how each widget behaves on a per-screen basis. This allows you to tailor the user experience for each step or view in your interface. The rules are set in the Validation card of the configuration panel: one row per screen, one column per rule, with a switch in each cell.

The Validation card: a switch per screen for Available, Visible, Required and Disable.
The Validation card: a switch per screen for Available, Visible, Required and Disable.

The Advanced Setting link under the table replaces the Visible, Required and Disable switches with pencil buttons: a pencil opens the Advanced Setting Condition editor, where you write a condition (for example {{country}} === 'Canada') and click Apply (this screen) or Apply to All screens. Easy Setting brings the switches back. Apply does not start the automatic save and the indicator stays on Saved: click Save interface to keep the condition (see The Condition Editor).

After Advanced Setting: a pencil per screen and per rule opens the condition editor.
After Advanced Setting: a pencil per screen and per rule opens the condition editor.

You can define the following rules for any widget on any screen:

  • Available: Determines if the widget is loaded and part of the page's data model for that screen. If not available, it effectively doesn't exist.
  • Visible: Controls the widget's visibility. An available widget can be hidden from the user but still be accessed and manipulated by scripts.
  • Required: Marks an input widget as mandatory for form submissions on that particular screen.
  • Disable: Disables user interaction with the widget, making it read-only. The widget is visible but cannot be edited.

See Validation Rules for the conditions, the view of one screen, the containers (Grid, Section, Form, Tabs, Drawer, Popup) and how the rules behave at runtime.

5. Crafting User NavigationDirect link to 5. Crafting User Navigation

Effective navigation is key to a great user experience. Softyflow provides a dedicated menu editor for creating and managing the navigation bars (menus) that guide users through your application.

5.1. Creating a MenuDirect link to 5.1. Creating a Menu

A menu is the primary navigation element of your application, displayed at the top of the page. To create one, open Menus in the project dock and click New menu, give it a name and confirm: the menu opens in the menu editor, in a tab of the project. To display a menu on a page, choose it with the menu selector next to the logo, at the top of the builder canvas.

The menu editor: elements and project pages on the left, a live preview of the menu bar in the middle, the configuration on the right.
The menu editor: elements and project pages on the left, a live preview of the menu bar in the middle, the configuration on the right.

5.2. Arranging Navigation ElementsDirect link to 5.2. Arranging Navigation Elements

The menu editor works by drag and drop:

  • Elements (left): Submenu (groups several pages in a dropdown), External link (opens a web address, for example https://…) and Home (the SoftyFlow home page: the user's list of applications).
  • Project pages (left): the interfaces of the project. Drag a page onto the menu bar, or click its + button. A check mark shows the pages already in the menu.
  • Canvas (middle): the menu bar as users will see it. Drag the tabs to reorder them, double-click a tab to rename it, and while dragging, hover a tab to open its submenu and drop the page inside. A submenu shows a Drop a page here area and an Add button.
  • The toolbar above the canvas offers Undo (Ctrl+Z), Redo (Ctrl+Y) and a language selector (Default labels or a language) to preview the translated labels.
A submenu selected on the canvas: its pages are listed in the dropdown and its settings on the right.
A submenu selected on the canvas: its pages are listed in the dropdown and its settings on the right.

5.3. Configuring an EntryDirect link to 5.3. Configuring an Entry

Click a tab of the menu to configure it on the right:

  • General: the Label (or Use the page name) and the Icon. Every entry can show an icon next to its label, in the IDE and at runtime, also in the menu of the mobile view. Pick one of the simple icons (search by name, for example "team", "folder" or "purchases", or filter by category), or use Image library or Image URL for your own picture; Remove icon removes it.
  • Type: Page (a page of the project), Link (a web address), Submenu, or a SoftyFlow page such as Home.
  • Destination: the page to open (Choose a page…; the URL is generated automatically and can be copied), or the Address of a link. New tab opens the destination in a new browser tab.
  • Visibility: Signed in (every signed-in user), Public (also visitors who are not signed in) or Groups (only the members of the chosen groups). At runtime, a submenu whose entries are all hidden from the user is not shown at all.
  • Translations: the label of the entry in each language; an empty language displays the default label. Translate the whole menu opens all the labels at once (see Multi-Language).
  • Actions: Duplicate (Ctrl+D) and Delete (Del).
Choosing the icon of a menu entry: search, categories and pages of icons.
Choosing the icon of a menu entry: search, categories and pages of icons.

When no entry is selected, the panel lists the points To review (missing label or page, invalid address, empty submenu, entry visible to nobody, third level that is not filtered by group and hidden on mobile…), most of them with a one-click fix, or shows All set. The rail on the right also opens the Menu settings (menu name and figures) and the Menu translations.

5.4. Saving and PublishingDirect link to 5.4. Saving and Publishing

Click Save and publish (Ctrl+S). Menus are not versioned: every save is visible right away in TEST, UAT and production. The editor does not save automatically; if you leave with unsaved changes, it asks for confirmation.

6. Automating Logic with ActionsDirect link to 6. Automating Logic with Actions

Actions allow you to bring your interface to life by executing logic in response to user interactions or page events. You can attach one or more actions to any UI component.

The Actions drawer of a button, opened from the Actions card of the configuration panel.
The Actions drawer of a button, opened from the Actions card of the configuration panel.

Softyflow allows you to attach actions to your UI components, from the configuration panel (Create on click action, Action on field change, View attached action) or from the Code page. These actions can be triggered in several ways:

  • On Mounted: The action runs as soon as the interface is loaded.

  • Watch: The action runs whenever a specific component's value is changed, clicked, or otherwise updated. The actions receive SF_input.newValue and SF_input.oldValue, nested actions (if / else, loops) included since 8.6. A watcher written in Scripts › Watch on the same variable also runs, just before the actions (see The Code Page).

  • On Click: The action runs when a user clicks the component (a button, a card, a table row or a field input).

  • Computed: The action functions like a computed property, dynamically calculating a return value based on other data.

IMPORTANT

You can attach multiple actions to a single component to create complex, chained behaviors.

7. Advanced Customization with ScriptingDirect link to 7. Advanced Customization with Scripting

For ultimate control and flexibility, every interface has a Code page, opened with Open Action / Script Editor in the right rail. It gathers the visual actions by trigger (On Mounted, Watch, On Click, Computed, Multilingual) and the scripts (On Mounted, Functions, Variables, Watch, Computed, Multilingual, Filters, CSS Styling), with a version history and a choice of editor themes. See The Code Page in the development guide.

The Code page gives direct access to the page's underlying code and styles.
The Code page gives direct access to the page's underlying code and styles.

Softyflow's frontend is built on VueJS 2. This means you can leverage the power and familiarity of the Vue ecosystem directly within your scripts. The On Mounted script runs in the mounted hook of the page's Vue instance, and you can write functions to control your interface's behavior with precision. The other lifecycle hooks, such as created and updated, have no script of their own.

Mounted() (DOM Insertion)

Mounted hook is the most used lifecycle hook, called after the DOM has been rendered : allows you access to the component immediately after first render.
Most frequently used to run page initializing DOM manipulation.

important: do not use mounted to fetch data, the propre hook is Created().

Mounted () : it will execut after rendering the component.

Read More