Custom Functions

Hemos añadido dos funciones custom las cuales no se puede cambiar el nombre de las mismas ya que eso afectaría al código principal. Aquí le dejamos un poco más de información para que sepa que añadir dentro de las funciones:
customNotification(msg, type)
El parámetro
msg
es el mensaje que aparece en la notificación, eso significa que en el export o evento que utilice su servidor para enseñar las notificaciones, deberá pasarmsg
como el mensaje.El parámetro
type
es el tipo de notificación que es, eso significa que si es un error eltype
será igual a error. Los tipos que hay son los siguientes:"error"
,"success"
y"primary"
. Si su sistema de notificaciones no usatype
, puede ignorar este parámetro.
customDisplayHelpText(msg)
El parámetro
msg
es el mensaje que aparece en el Help Text UI, eso significa que en el export o evento que utilice su servidor para enseñar el Help Text UI, deberá pasarmsg
como el mensaje.

We have added two custom functions whose names cannot be changed, as doing so would affect the main code. Below is more information to guide you on what to include within these functions:
customNotification(msg, type)
The
msg
parameter is the message displayed in the notification. This means that in the export or event your server uses to display notifications, you should passmsg
as the message.The
type
parameter specifies the type of notification. For example, if it is an error,type
should be set to"error"
. The available types are:"error"
,"success"
and"primary"
. If your notification system does not usetype
, you can ignore this parameter.
customDisplayHelpText(msg)
The
msg
parameter is the message displayed in the Help Text UI. This means that in the export or event your server uses to display the Help Text UI, you should passmsg
as the message.
Last updated