ACL notifications
acl_context_authenticated acl_is_allowed acl_is_allowed_prop acl_is_owner acl_logoff acl_logon acl_mqtt acl_user_groups acl_user_groups_modify…
Authentication notifications
auth_checked auth_confirm auth_confirm_done auth_client_logon_user auth_client_switch_user auth_identity_types auth_logon auth_logoff auth_options_update…
Dispatch notifications
content_types_dispatch dispatch dispatch_host dispatch_rewrite page_url url_abs url_rewrite
Edge notifications
edge_delete edge_insert edge_update
E-mail notifications
email_add_handler email_bounced email_dkim_options email_drop_handler email_ensure_handler email_failed email_is_blocked email_received email_send_encoded…
Import/export notifications
import_csv_definition import_resource export_resource_content_disposition export_resource_content_type export_resource_data export_resource_encode…
Media notifications
media_identify_extension media_identify_file media_import media_import_medium media_preview_options media_import_props media_replace_file media_stillimage…
Pivot notifications
pivot_fields pivot_rsc_data pivot_update custom_pivot
Resource notifications
rsc_delete rsc_get rsc_import_fetch rsc_insert rsc_merge rsc_pivot_done rsc_query_item rsc_update rsc_update_done rsc_upload
Survey notifications
survey_get_handlers survey_is_allowed_results_download survey_is_submit survey_submit survey_result_columns survey_result_column_values
User notifications
identity_password_match identity_verification identity_verified identity_update_done logon_options logon_ready_page logon_submit set_user_language…
Other notifications
action_event_type activity activity_send admin_edit_blocks admin_menu admin_rscform category_hierarchy_save comment_insert cors_headers debug debug_stream…

Validators Reference Installation requirements

All Notifications

module_deactivate

A module has been stopped and deactivated.

multiupload

Handle an uploaded file which is part of a multiple file upload from a user-agent. The upload is a #upload record or a…

output_html

Fold for mapping non-iolist output to iolist values. Used when outputting a rendered HTML tree. Folded accumulator is:…

page_url

Fetch the url of a resource’s html representation

pivot_fields

Foldr to change or add pivot fields for the main pivot table. The rsc contains all rsc properties for this resource

pivot_rsc_data

Fold over the resource props map to extend/remove data to be pivoted

pivot_update

Pivot just before a m_rsc_update update. Used to pivot fields before the pivot itself.

postback_event

Message sent by a user-agent on a postback event. Encapsulates the encoded postback and any additional data. This is…

postback_notify

Handle a javascript notification from the postback handler. The message is the the request, trigger the id of the…

request_context

Refresh the context or request process for the given request or action Called for every request that is not anonymous…

resource_headers

Let all modules add resource specific response headers to the request. The accumulator is the list of headers to be set.

rsc_delete

Resource will be deleted. This notification is part of the delete transaction, it’s purpose is to clean up associated…

rsc_get

Resource is read, opportunity to add computed fields Used in a foldr with the read properties as accumulator.

rsc_import_fetch

Fetch the data for an import of a resource. Returns data in the format used by m_rsc_export and m_rsc_import. Either…

rsc_insert

Foldr for an resource insert, these are the initial properties and will overrule the properties in the insert request.

rsc_merge

Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.

rsc_pivot_done

Signal that a resource pivot has been done.

rsc_query_item

Send a notification that the resource ‘id’ is added to the query query_id.

rsc_update

An updated resource is about to be persisted. Observe this notification to change the resource properties before they…

rsc_update_done

An updated resource has just been persisted. Observe this notification to execute follow-up actions for a resource…

rsc_upload

Upload and replace the resource with the given data. The data is in the given format.

sanitize_element

Sanitize an HTML element.

sanitize_embed_url

Sanitize an embed url. The hostpart is of the format: <<"youtube.com/v...">> .

scomp_script_render

Add extra javascript with the {% script %} tag. (map) Used to let modules inject extra javascript depending on the…

search_query

Map a custom search term to a #search_sql_term{} record.

search_query_term

Map a custom search term to a #search_sql_term{} record.

security_headers

Check and possibly modify the http response security headers All headers are in lowercase.

service_authorize

Request API logon

session_context

Refresh the context or request process for the given request or action Called for every request that is not anonymous…

set_user_language

Set the language of the context to a user’s prefered language

signup

Request a signup of a new or existing user. Arguments are similar to #signup_url{} Returns {ok, UserId} or {error

signup_check

signup_check Check if the signup can be handled, a fold over all modules. Fold argument/result is {ok, Props

signup_confirm

Signal that a user has been confirmed. (map, result is ignored)

signup_confirm_redirect

Fetch the page a user is redirected to after signing up with a confirmed identity

signup_done

Signal that a user has been signed up (map, result is ignored)

signup_failed_url

Signup failed, give the error page URL. Return {ok, Url} or undefined. Reason is returned by the signup handler for the…

signup_url

Handle a signup of a user, return the follow on page for after the signup. Return {ok, Url} ‘props’ is a map with…

ssl_options

Request the SSL certificates for this site. The server_name property contains the hostname used by the client. (first…

survey_get_handlers

Fetch list of handlers for survey submits.

survey_is_allowed_results_download

Check if the current user is allowed to download a survey.

survey_is_submit

Check if a question is a submitting question.

survey_result_columns

Add header columns for export. The values are the names of the answers and the text displayed above the column. The…

survey_result_column_values

Modify row with answers for export. The header columns are given and the values that are known are set in the folded…

survey_submit

A survey has been filled in and submitted.

tkvstore_delete

Delete a value from the typed key/value store

tkvstore_get

Get a value from the typed key/value store

tkvstore_put

Put a value into the typed key/value store

translate

Request a translation of a list of strings. The resulting translations must be in the same order as the request. This…

url_abs

Make a generated URL absolute, optionally called after url_rewrite by z_dispatcher

url_fetch_options

Determine the URL fetch options for fetching the content of an URL. Used by z_fetch.erl.

url_rewrite

Rewrite a URL after it has been generated using the z_dispatcher

user_context

Set #context fields depending on the user and/or the preferences of the user.

user_is_enabled

Check if a user is enabled. Enabled users are allowed to log in. Return true , false or undefined . If undefined is…

validate_query_args

Called just before validation of all query arguments by z_validation. This is the moment to filter any illegal…