Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For more details go to: /wiki/spaces/DEV/pages/2482798727

here Here is an example of such a Form Config:TODOa Form Config:

Code Block
languagejson
{
  "title": "Add person",
  "description": "Add a new person",
  "schema": "$uri:property:global/app/myapp/object/person/v1/schema",
  "input":"$uri:property:global/app/myapp/object/person/v1/instance/67b07f3c-e006-4bec-a790-ef25b9fe97df",
  "output": "global/app/myapp/object/person/v1/instance/${var.property.uuid}",
  "layout": {
    "orientation": "vertical",
    "items": [
      {
      "orientation": "horizontal",
      "items": [
        {
        "field": "firstName"
        },
        {
        "field": "lastName"
        }]
      },
      {
        "field": "age"
      },
      {
        "field": "cv"
      }
    ]
  }
}

The Pipeline (Controller)

...

The pipeline belongs to the “controller” part of the MVC form framework.

For more details, see:

Here is an example of such a pipeline listening to the event:

...

The pipeline listens to all property.created events and in case a property was created which matches the given filter, it will be executed and can then further process the form output data which are provided in the body.

For more details, see:

...

Command and Pipeline

...

Events

...

In order to define a form in PIPEFORCE, you need a JSON schema and the form configuration.

...