Pagina di Descrizione

Notification

notification

The object represents a notification sent by the program.

actionallert

Description

Set the notification as an alert.

Type Value

Format

notification.actionallert()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Examples

notification.actionallert()

actionemail

Description

Set the notification as email type.

Type Value

Format

notification.actionemail(email)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

email

string

The email to send the notification to.

Examples

actionemail.notification(`info@d-one.info`)

actionopendataview

Description

Set the notification as an alert with the option to open an associated data sheet.

Type Value

Format

notification.actionopendataview(tablename, gguid)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

gguid

string

The unique identifier of the record.

tablename

string

The table containing the record to be loaded.

Examples

notification.actionopendataview(`orders`,`XXX-XXX`)

adduser

Description

Add a user to the notification so that they also receive it.

Type Value

boolean

Format

boolean = notification.adduser(username)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

username

string

The email or username of the user to be added.

Examples

bool = notification.adduser(`info@d-one.info`)

addvaluetemplatemail

Description

It adds value to the parameters that will be used for composing the email template.

Type Value

Format

notification.addvaluetemplatemail(key, value)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

key

string

The key of the parameter

value

object

The value of the parameter is.

Examples

notification.addvaluetemplatemail(`namecustomers`,`Bob`)

clearvaluetemplatemail

Description

Remove all template mail parameters from the notification.

Type Value

Format

notification.clearvaluetemplatemail()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Examples

notification.clearvaluetemplatemail()

datecreation

Description

Set the timestamp format of the creation date of the notification.

Type Value

double

Format

double = notification.datecreation

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

datenotification

Description

Set the date in timestamp format for when the notification should appear or the email should be sent.

Type Value

double

Format

double = notification.datenotification

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

datereminder

Description

Set the date in timestamp format for the notification reminder.

Type Value

double

Format

double = notification.datereminder

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

dateuntil

Description

Set the deadline for when the notification should be automatically rescheduled.

Type Value

double

Format

double = notification.dateuntil

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

delete

Description

Delete the notification from the database if it has been previously saved.

Type Value

boolean

Format

boolean = notification.delete()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Examples

notification.delete()

description

Description

Set the description displayed in the notification.

Type Value

string

Format

string = notification.description

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

gguid

Description

Returns the unique identifier of the notification used to save it in the database.

Type Value

string

Format

string = notification.gguid

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

hide

Description

Set or retrieve the value that identifies whether the notification should be viewed in the notifications list or not.

Type Value

boolean

Format

boolean = notification.hide

Typology

Proprietà

Systems

Windows, Web, Android, IOS, Mac OS

idtemplatemail

Description

Set up the template for the type of email that will be sent from the notification.

Type Value

Format

notification.idtemplatemail(value)

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS

Parametro

Tipo Valore

Description

value

integer

The numerical value of the ID retrieved from the Brevo email sender manager.

Examples

notification.idtemplatemail(105)

listusers

Description

Returns the list of users currently associated with the notification.

Type Value

list

Format

list = notification.listusers()

Typology

Metodo

Systems

Windows, Web, Android, IOS, Mac OS