An open API service indexing awesome lists of open source software.

https://github.com/convertigo/c8oprj-lib-actions-c8oforms

This project contains Actions (sequences) and Sources (sequences) that can be called by Convertigo Forms Builder. Deploy this project on the same Convertigo server with C8OForms project to enhance your forms.
https://github.com/convertigo/c8oprj-lib-actions-c8oforms

back-end c8o-marketplace library

Last synced: 5 months ago
JSON representation

This project contains Actions (sequences) and Sources (sequences) that can be called by Convertigo Forms Builder. Deploy this project on the same Convertigo server with C8OForms project to enhance your forms.

Awesome Lists containing this project

README

          

# lib_Actions_C8Oforms

Default data sources and actions. Many other data sources and actions can be added by installing Convertigo No Code Studio plugins. Please refer to documentation to understand how to create plugins with the Convertigo Low Code Studio: Convertigo Plugins

For more technical informations : [documentation](./project.md)

- [Installation](#installation)
- [Sequences](#sequences)
- [__disabled_formssource_CNN_News](#__disabled_formssource_cnn_news)
- [__disabled_formssource_List_of_company_employees](#__disabled_formssource_list_of_company_employees)
- [_disabled_formssource_List_of_Ships](#_disabled_formssource_list_of_ships)
- [disabled_forms_insert_response_db](#disabled_forms_insert_response_db)
- [disabled_forms_notify_response_by_mail_advanced](#disabled_forms_notify_response_by_mail_advanced)
- [forms_delete_response](#forms_delete_response)
- [forms_edit_field](#forms_edit_field)
- [forms_fill_PDF](#forms_fill_pdf)
- [forms_notify_response_simple_by_mail_simple](#forms_notify_response_simple_by_mail_simple)
- [initSMTP](#initsmtp)

## Installation

1. In your Convertigo Studio click on ![](https://github.com/convertigo/convertigo/blob/develop/eclipse-plugin-studio/icons/studio/project_import.gif?raw=true "Import a project in treeview") to import a project in the treeview
2. In the import wizard

![](https://github.com/convertigo/convertigo/blob/develop/eclipse-plugin-studio/tomcat/webapps/convertigo/templates/ftl/project_import_wzd.png?raw=true "Import Project")

paste the text below into the `Project remote URL` field:

UsageClick the copy button at the end of the line
To contribute

```
lib_Actions_C8Oforms=git@github.com:convertigo/c8oprj-lib-actions-c8oforms.git:branch=master
```

To simply use

```
lib_Actions_C8Oforms=git@github.com:convertigo/c8oprj-lib-actions-c8oforms/archive/master.zip
```


3. Click the `Finish` button. This will automatically import the __lib_Actions_C8Oforms__ project

## Sequences

### __disabled_formssource_CNN_News

Demo data source. Just returns some news from CNN

**variables**

namecomment

modelif source is called with model == true, model must be returned

### __disabled_formssource_List_of_company_employees

Returns a fake list of company employees

**variables**

namecomment

forms_filter

### _disabled_formssource_List_of_Ships

Returns a fake list of ships under construction

**variables**

namecomment

forms_filter

### disabled_forms_insert_response_db

Save responses to an external Database (demo).

**variables**

namecomment

doc

forms_db_destinationCan be used to override SQL symbols

forms_db_nameDatabase name created to store form responses

forms_db_typeDatabase type. Supports "fs" or "mysql"

originalDoc

### disabled_forms_notify_response_by_mail_advanced

Sends a mail when a new response is submitted

Envoie un e-mail lorsqu'une nouvelle réponse est soumise

Envía un correo cuando se envía una nueva respuesta

Invia una mail quando viene inviata una nuova risposta

**variables**

namecomment

doc

forms_mail_body

Email body (short string). || (optional)

Corps de l'e-mail (chaîne courte). || (optionnel)

Cuerpo del correo electrónico (cadena corta). || (opcional)

Corpo dell'email (stringa breve). || (facoltativo)

forms_mail_body_title

Mail body title (short string). || (optional)

Titre du corps du message (chaîne courte). || (optionnel)

Título del cuerpo del correo (cadena corta). || (opcional)

Titolo del corpo della posta (stringa corta). || (facoltativo)

forms_mail_logo

URL to a logo. || (optional)

URL vers un logo. || (optionnel)

URL a un logotipo. || (opcional)

OURL di un logo. || (facoltativo)

forms_mail_notify_owner

This setting allows you to enable notification to the owner of the form. || (optional) boolean (true or false). Default value is false

Ce paramétre vous permets d'activer la notification au propriétaire du formulaire. || (optionnel) booléen (true ou false). La valeur par défaut est false

Esta configuración le permite habilitar la notificación al propietario del formulario. || (opcional) booleano (true o false). El valor predeterminado es false

Questa impostazione consente di abilitare la notifica al proprietario del modulo. || (facoltativo) booleano (true o false). Il valore predefinito è false

forms_mail_notify_sender

This setting allows you to activate the notification to the person who replied to the form. || (optional) boolean (true or false). Default value is false

Ce paramétre vous permets d'activer la notification à la personne qui a répondu au formulaire. || (optionnel) booléen (true ou false). La valeur par défaut est false

Esta configuración le permite activar la notificación a la persona que respondió al formulario. || (opcional) booleano (true o false). El valor predeterminado es false

Questa impostazione ti consente di attivare la notifica alla persona che ha risposto al modulo. || (facoltativo) booleano (true o false). Il valore predefinito è false

forms_mail_recipients_bcc

"Bcc" Mail recipients separated by comma or semicolon. || (optional)

"Bcc" Destinataires du courrier séparés par une virgule ou un point-virgule. || (optionnel)

"Bcc" Destinatarios de correo separados por coma o punto y coma. || (opcional)

"Bcc" Destinatari di posta separati da virgola o punto e virgola. || (facoltativo)

forms_mail_recipients_cc

"Cc" Mail recipients separated by comma or semicolon. || (optional)

"Cc" Destinataires du courrier séparés par une virgule ou un point-virgule. || (optionnel)

"Cc" Destinatarios de correo separados por coma o punto y coma. || (opcional)

"Cc" Destinatari di posta separati da virgola o punto e virgola. || (facoltativo)

forms_mail_recipients_to

"To" Mail recipients separated by comma or semicolon. || (mandatory)

"À" Destinataires du courrier séparés par une virgule ou un point-virgule. || (obligatoire)

"To" Destinatarios de correo separados por coma o punto y coma. || (obligatorio)

"To" Destinatari di posta separati da virgola o punto e virgola. || (obbligatorio)

forms_mail_sender

Email of sender for anonymous forms. If empty, we try to retrieve mail address from C8oForms account. || (optional)

Courriel de l'expéditeur pour les formulaires anonymes. S'il est vide, nous essayons de récupérer l'adresse e-mail du compte C8oForms. || (optionnel)

Correo electrónico del remitente para formularios anónimos. Si está vacío, intentamos recuperar la dirección de correo de la cuenta de C8oForms. || (opcional)

Email del mittente per moduli anonimi. Se vuoto, proviamo a recuperare l'indirizzo e-mail dall'account C8oForms. || (facoltativo)

forms_mail_subject

Email subject (short string). || (optional)

Objet de l'e-mail (chaîne courte). || (optionnel)

Asunto del correo electrónico (cadena corta). || (opcional)

Oggetto dell'email (stringa breve). || (facoltativo)

originalDoc

### forms_delete_response

The submitted form and its responses are deleted and no longer visible in the response viewer

**variables**

namecomment

doc

originalDoc

### forms_edit_field

Allows you to modify the value of the field in the current response

**variables**

namecomment

doc

forms_input_field_name

forms_input_field_value

originalDoc

### forms_fill_PDF

Fills out a PDF form from the form responses using a template PDF file.

**variables**

namecomment

doc

forms_input_pdf_pathFill in the dynamic PDF file you want to use as a template. You can use, for example, LibreOffice Writer to make your PDF dynamic, either from a new PDF or from 'an existing one.
The name of the PDF fields must be identical to the technical identifiers of the fields in your form.
Only the fields "input text", "checkbox", "date", "time", "camera", "group", "barcode", "signature", and "location" are supported.
For the checkboxes, each box of the PDF must have the technical name + "_1", + "_2" etc ...

originalDoc

### forms_notify_response_simple_by_mail_simple

Allows sending an email when a new response is submitted, or when a button is clicked

**variables**

namecomment

_c8o_timezone_offset

doc

forms_mail_body

Email body, the message you want to send to recipients.

forms_mail_logo

The URL to the logo in the email header.

forms_mail_recipients_bcc

Mail blind recipients separated by comma or semicolon.

forms_mail_recipients_cc

Mail copy recipients separated by comma or semicolon.

forms_mail_recipients_to

Mail recipients separated by comma or semicolon. (mandatory)

forms_mail_subject

Email subject

forms_mail_summary

Add a form summary to the email

originalDoc

smtpAuthType

smtpPassword

smtpPort

smtpServer

smtpUsername

sSender

sslProtocols

xslFilepath

### initSMTP