Documentation Index
Fetch the complete documentation index at: https://platform.docs.zenoo.com/llms.txt
Use this file to discover all available pages before exploring further.
Page settings
Page settings
The entire application consists of pages. Each view that is presentable to a user must be implemented as page. There are two predefined user positions, the index page and the error page. The index must be insideindex property in pages. In root of your yaml (typically index.yml), you can specify the value of the property errorPage. This property is name of page to which the user will be redirected when an error occurs (such as a network failure).
List of available parameters
| Parameter | Required | Description |
|---|---|---|
analytics | false | Analytics configuration for specific page |
defaultAction | false | Default form submit action name |
defaultActionParams | false | Default form submit action params |
defaults | false | Default values for form fields |
fadeAnimationBack | false | Use “fade” animation on back action |
fadeAnimationSubmit | false | Use “fade” animation on submit action |
formOutputModifier | false | Override page payload |
items | false | Elements tree of specific page |
og | true | List of meta og tags (will be merged with the ones coming from project configuration) |
schema | false | Validation rules as a JSON schema |
title | false | Page meta title |
Example configuration
Error page
The error page can be specified as anerrorPage parameter in application configuration.
auth cookie will be deleted and application will be reloaded.
You can create more dynamic error page that provides useful features, such as a button to continue or reattempt the previous action (flowContinue). This button will automaticaly fetch the last stored data from the server and redirect user to correct screen.
Another useful error management feature is to provide a button that reloads the flow. If the problem is not easily resolved, have the user click a button to redirect to start of the flow in case with the form action flowReload.
If you are on error page, there are also available page parameters that contain the reason for the error. For example, query the value of page.params.error to get the raw output from the error catch.
Static pages
Inpages can be also specified static pages, static page is page which can be accessed outside of any workflow logic, so can be used as landing pages for some calls of other SDKs or etc.. Static page name always start with $ character like this:
auth cookie will be deleted and application will be reloaded.