VisualDataSchema:ContactManager/Compose email

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 32: Line 32:
]
]
},
},
"mailer": {
"account": {
"wiki": {
"wiki": {
"name": "mailer",
"type": "property",
"type": "property",
"multiple-items": false,
"label": "mailer",
"uuid": "6636aafd53818",
"uuid": "6636aafd53818",
"name": "account",
"visibility": "condition",
"visibility": "condition",
"showif-field": "transport",
"showif-field": "transport",
"showif-condition": "=",
"showif-condition": "=",
"showif-value": "mailer",
"showif-value": "mailer",
"showif-value-wikitext": false,
"label": "mailer",
"multiple-items": false,
"preferred-input": "OO.ui.DropdownInputWidget",
"preferred-input": "OO.ui.DropdownInputWidget",
"input-config": [],
"input-config": [],
Line 53: Line 54:
"provider"
"provider"
],
],
"options-query-formula": "\u003Cname\u003E - \u003Cprovider\u003E",
"options-query-formula": "\u003Cname\u003E",
"required": false,
"required": false
"options-values-parsed": []
},
},
"type": "string",
"type": "string",
"format": "text",
"format": "text",
"title": "mailer"
"title": "mailer"
},
"substitutions": {
"wiki": {
"name": "substitutions",
"type": "property",
"multiple-items": false,
"label": "substitutions",
"help-message": "in the message text, use any property in the ''ContactManager/Contact'' schema surrounded by \"%\" (for instance %first_name%) to perform substitutions for each recipient",
"uuid": "67a73b7651ea1",
"visibility": "condition",
"showif-field": "mailer",
"showif-condition": "regex",
"showif-value": "- sendgrid$",
"preferred-input": "OO.ui.ToggleSwitchWidget",
"input-config": [],
"required": false
},
"type": "boolean",
"title": "substitutions",
"description": "in the message text, use any property in the \u003Ci\u003EContactManager/Contact\u003C/i\u003E schema surrounded by \"%\" (for instance %first_name%) to perform substitutions for each recipient"
},
},
"from": {
"from": {
Line 103: Line 83:
"showif-condition": "=",
"showif-condition": "=",
"showif-value": "mailbox",
"showif-value": "mailbox",
"options-values-parsed": {}
"options-values-parsed": {
"info \u003Cinfo@wikisphere.org\u003E": "info \u003Cinfo@wikisphere.org\u003E",
"example \u003Cexample@wikisphere.org\u003E": "example \u003Cexample@wikisphere.org\u003E",
"support \u003Cinfo@wikisphere.org\u003E": "support \u003Cinfo@wikisphere.org\u003E"
}
},
},
"type": "string",
"type": "string",
"format": "text",
"format": "text",
"title": "from",
"title": "from",
"enum": []
"enum": [
"info \u003Cinfo@wikisphere.org\u003E",
"example \u003Cexample@wikisphere.org\u003E",
"support \u003Cinfo@wikisphere.org\u003E"
]
},
},
"from_mailer": {
"from_mailer": {
Line 191: Line 179:
"name": "cc",
"name": "cc",
"type": "property",
"type": "property",
"multiple-items": true,
"label": "cc",
"default": [],
"uuid": "6636ad628488f",
"uuid": "6636ad628488f",
"visibility": "visible",
"visibility": "visible",
"label": "cc",
"multiple-items": true,
"preferred-input": "MenuTagSearchMultiselect",
"preferred-input": "MenuTagSearchMultiselect",
"input-config": [],
"input-config": [],
Line 205: Line 194:
"options-query-formula": "\u003Cfull_name\u003E \u003C\u003Cemail\u003E\u003E",
"options-query-formula": "\u003Cfull_name\u003E \u003C\u003Cemail\u003E\u003E",
"required": false,
"required": false,
"default": []
"layout": "table"
},
},
"format": "text",
"format": "text",
Line 228: Line 217:
"name": "to",
"name": "to",
"type": "property",
"type": "property",
"multiple-items": true,
"label": "bcc",
"default": [],
"uuid": "6636ad628488g",
"uuid": "6636ad628488g",
"visibility": "visible",
"visibility": "visible",
"label": "bcc",
"multiple-items": true,
"preferred-input": "MenuTagSearchMultiselect",
"preferred-input": "MenuTagSearchMultiselect",
"input-config": [],
"input-config": [],
Line 242: Line 232:
"options-query-formula": "\u003Cfull_name\u003E \u003C\u003Cemail\u003E\u003E",
"options-query-formula": "\u003Cfull_name\u003E \u003C\u003Cemail\u003E\u003E",
"required": false,
"required": false,
"default": []
"layout": "table"
},
},
"format": "text",
"format": "text",
Line 367: Line 357:
"format": "text",
"format": "text",
"title": "template",
"title": "template",
"description": "",
"description": "Any page in the \u003Ca href=\"/w/index.php?title=Special:AllPages\u0026amp;namespace=2262\" class=\"external text\" title=\"Special:AllPages\" target=\"_blank\"\u003EEmailTemplate namespace\u003C/a\u003E",
"default": "Default"
"default": "Default"
},
},
Line 374: Line 364:
"name": "message_substitutions",
"name": "message_substitutions",
"type": "content-block",
"type": "content-block",
"content": "Attention!! Substitutions are available only when using a mailer (currently sendgrid) since they take place after sending the email to avoid to send one email for each recipient",
"uuid": "67b46fb87684a",
"uuid": "67b46fb87684a"
"content": "To perform substitutions, use any property available in the schema associated to the recipient surrounded by \"%\" (for instance %first_name%) . (only available when using a mailer (currently sendgrid) , since substitutions are performed by the mailer server)"
},
},
"type": "object",
"type": "object",
"description": "Attention!! Substitutions are available only when using a mailer (currently sendgrid) since they take place after sending the email to avoid to send one email for each recipient"
"description": "To perform substitutions, use any property available in the schema associated to the recipient surrounded by \"%\" (for instance %first_name%) . (only available when using a mailer (currently sendgrid) , since substitutions are performed by the mailer server)"
},
},
"text_html": {
"text_html": {
Line 479: Line 469:
"format": "text",
"format": "text",
"title": "mailbox"
"title": "mailbox"
},
"new_content_block": {
"wiki": {
"name": "new_content_block",
"type": "content-block",
"uuid": "684559a994c1b",
"content": "Use offset and limit to distribute sending of large amount of recipients across multiple email providers or batches"
},
"type": "object",
"description": "Use offset and limit to distribute sending of large amount of recipients across multiple email providers or batches"
},
"offset": {
"wiki": {
"name": "offset",
"type": "property",
"multiple-items": false,
"input-config": [],
"label": "offset",
"default": "0",
"uuid": "6844748f60fd9",
"visibility": "visible",
"preferred-input": "OO.ui.NumberInputWidget",
"required": false
},
"minInclusive": 0,
"type": "integer",
"title": "offset",
"default": "0"
},
"limit": {
"wiki": {
"name": "limit",
"type": "property",
"multiple-items": false,
"input-config": [],
"label": "limit",
"default": "50",
"uuid": "6844748f60fde",
"visibility": "visible",
"preferred-input": "OO.ui.NumberInputWidget",
"required": false
},
"minInclusive": 1,
"type": "integer",
"title": "limit",
"default": "50"
}
}
},
},
Line 488: Line 524:
"title": "Compose email"
"title": "Compose email"
}
}

Latest revision as of 21:18, 6 July 2025

wiki
type"schema"
uuid"65f73d69661ce"
name"ContactManager/Compose email"
title"Compose email"
properties
transport
wiki
name"transport"
type"property"
multiple-itemsfalse
label"transport"
uuid"6635f23ad06bf"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
requiredfalse
options-values-parsed
mailbox"mailbox"
mailer"mailer"
type"string"
format"text"
title"transport"
enum
"mailbox"
"mailer"
account
wiki
type"property"
uuid"6636aafd53818"
name"account"
visibility"condition"
showif-field"transport"
showif-condition"="
showif-value"mailer"
showif-value-wikitextfalse
label"mailer"
multiple-itemsfalse
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
options-label-formula"<name> (<provider>)"
options-query"[[name::+]]"
query-schema"ContactManager/Mailer"
query-printouts
"name"
"provider"
options-query-formula"<name>"
requiredfalse
type"string"
format"text"
title"mailer"
from
wiki
name"from"
type"property"
multiple-itemsfalse
label"from"
uuid"663605d67d11f"
visibility"condition"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
options-label-formula"<from>"
options-query"[[name::+]]"
query-schema"ContactManager/Mailbox"
query-printouts
"from"
options-query-formula"<from>"
requiredfalse
showif-field"transport"
showif-condition"="
showif-value"mailbox"
options-values-parsed
info <info@wikisphere.org>"info <info@wikisphere.org>"
example <example@wikisphere.org>"example <example@wikisphere.org>"
support <info@wikisphere.org>"support <info@wikisphere.org>"
type"string"
format"text"
title"from"
enum
"info <info@wikisphere.org>"
"example <example@wikisphere.org>"
"support <info@wikisphere.org>"
from_mailer
wiki
name"from_mailer"
type"property"
multiple-itemsfalse
label"from"
uuid"6637044859838"
visibility"condition"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
options-label-formula"<from>"
options-query"[[name::+]]"
query-schema"ContactManager/Mailer"
query-printouts
"from"
options-query-formula"<from>"
requiredfalse
showif-field"transport"
showif-condition"="
showif-value"mailer"
options-values-parsed
Empty array
type"string"
format"text"
title"from"
to
wiki
name"to"
min-items0
unique-itemstrue
type"schema"
uuid"67c4064b319ed"
items
type"string"
wiki
name"to"
type"property"
multiple-itemstrue
input-config
allowArbitrarytrue
label"to"
default
Empty array
uuid"67c405cf1fb40"
visibility"visible"
preferred-input"MenuTagSearchMultiselect"
options-query"[[full_name::<value>~]][[ContactManager:Mailboxes/<mailbox>/contacts/~]]"
query-schema"ContactManager/Contact"
query-printouts
"full_name"
"email"
options-query-formula"<full_name> <<email>>"
requiredfalse
layout"table"
format"text"
title"to"
default
Empty array
type"array"
minItems0
uniqueItemstrue
cc
wiki
name"cc"
min-items0
unique-itemstrue
type"schema"
uuid"67c4067545fec"
items
type"string"
wiki
name"cc"
type"property"
multiple-itemstrue
label"cc"
default
Empty array
uuid"6636ad628488f"
visibility"visible"
preferred-input"MenuTagSearchMultiselect"
input-config
Empty array
options-query"[[full_name::<value>~]][[ContactManager:Mailboxes/<mailbox>/contacts/~]]"
query-schema"ContactManager/Contact"
query-printouts
"full_name"
"email"
options-query-formula"<full_name> <<email>>"
requiredfalse
layout"table"
format"text"
title"cc"
default
Empty array
type"array"
minItems0
uniqueItemstrue
bcc
wiki
name"bcc"
min-items0
unique-itemstrue
type"schema"
uuid"67c4067545ff4"
items
type"string"
wiki
name"to"
type"property"
multiple-itemstrue
label"bcc"
default
Empty array
uuid"6636ad628488g"
visibility"visible"
preferred-input"MenuTagSearchMultiselect"
input-config
Empty array
options-query"[[full_name::<value>~]][[ContactManager:Mailboxes/<mailbox>/contacts/~]]"
query-schema"ContactManager/Contact"
query-printouts
"full_name"
"email"
options-query-formula"<full_name> <<email>>"
requiredfalse
layout"table"
format"text"
title"bcc"
default
Empty array
type"array"
minItems0
uniqueItemstrue
bcc_categories
wiki
name"bcc_categories"
unique-itemsfalse
type"schema"
uuid"67a8baa6252e8"
items
type"string"
wiki
name"bcc_categories"
type"property"
multiple-itemstrue
label"bcc categories"
help-message"all the contacts belonging to the inserted categories will be mailed"
default
Empty array
uuid"679101fb3bccc"
visibility"visible"
preferred-input"mw.widgets.CategoryMultiselectWidget"
input-config
Empty array
requiredfalse
layout"table"
format"text"
title"bcc categories"
description"all the contacts belonging to the inserted categories will be mailed"
default
Empty array
type"array"
uniqueItemsfalse
exclude_bcc_categories
wiki
name"exclude_bcc_categories"
unique-itemsfalse
type"schema"
uuid"679101cc686de"
items
type"string"
wiki
name"new_property"
type"property"
multiple-itemstrue
label"exclude recipients from bcc categories"
help-message"(optionally enter one or more email addresses if you need to exclude them)"
default
Empty array
uuid"679101aeb2040"
visibility"visible"
preferred-input"OO.ui.TagMultiselectWidget"
input-config
Empty array
requiredfalse
layout"table"
format"email"
title"exclude recipients from bcc categories"
description"(optionally enter one or more email addresses if you need to exclude them)"
default
Empty array
type"array"
uniqueItemsfalse
subject
wiki
name"subject"
type"property"
multiple-itemsfalse
label"subject"
uuid"65f73d69661e1"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
type"string"
format"text"
title"subject"
is_html
wiki
name"is_html"
type"property"
multiple-itemsfalse
label"html"
uuid"663f2c32cd292"
visibility"visible"
preferred-input"OO.ui.ToggleSwitchWidget"
input-config
Empty array
requiredfalse
type"boolean"
title"html"
template
wiki
name"template"
type"property"
multiple-itemsfalse
input-config
namespace2262
label"template"
help-message"Any page in the {{#querylink:Special:AllPages|EmailTemplate namespace|target=_blank|namespace=2262}}"
default"Default"
uuid"67b2e9cb120e7"
visibility"condition"
showif-field"is_html"
showif-condition"="
showif-value"false"
preferred-input"mw.widgets.TitleInputWidget"
requiredfalse
type"string"
format"text"
title"template"
description"Any page in the <a href="/w/index.php?title=Special:AllPages&amp;namespace=2262" class="external text" title="Special:AllPages" target="_blank">EmailTemplate namespace</a>"
default"Default"
message_substitutions
wiki
name"message_substitutions"
type"content-block"
uuid"67b46fb87684a"
content"To perform substitutions, use any property available in the schema associated to the recipient surrounded by "%" (for instance %first_name%) . (only available when using a mailer (currently sendgrid) , since substitutions are performed by the mailer server)"
type"object"
description"To perform substitutions, use any property available in the schema associated to the recipient surrounded by "%" (for instance %first_name%) . (only available when using a mailer (currently sendgrid) , since substitutions are performed by the mailer server)"
text_html
wiki
name"text_html"
type"property"
multiple-itemsfalse
requiredtrue
label"text"
uuid"65f73d69661e3"
visibility"condition"
showif-field"is_html"
showif-condition"="
showif-value"true"
preferred-input"TinyMCE"
input-config
Empty array
type"string"
format"textarea"
title"text"
text
wiki
name"text"
type"property"
multiple-itemsfalse
requiredtrue
input-config
rows8
uuid"663f2c32cd2a0"
visibility"condition"
showif-field"is_html"
showif-condition"="
showif-value"false"
preferred-input"OO.ui.MultilineTextInputWidget"
type"string"
format"textarea"
attachments
wiki
name"attachments"
title-parsed"attachments"
title"attachments"
unique-itemsfalse
type"schema"
uuid"65f73d69661e5"
items
type"string"
wiki
name""
type"property"
multiple-itemstrue
input-config
accept
"image/png"
"image/gif"
"image/jpeg"
"image/pjpeg"
"image/jpeg"
"image/pjpeg"
"image/webp"
"application/pdf"
default
Empty array
value-prefix"File:"
default-parsed
Empty array
visibility"visible"
preferred-input"OO.ui.SelectFileWidget"
requiredfalse
layout"table"
uuid"65f73d69661e7"
format"text"
default
Empty array
type"array"
title"attachments"
uniqueItemsfalse
mailbox
wiki
name"mailbox"
type"property"
multiple-itemsfalse
visibility"hidden"
label"mailbox"
uuid"6636abf4b72b9"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
options
hiddentrue
type"string"
format"text"
title"mailbox"
new_content_block
wiki
name"new_content_block"
type"content-block"
uuid"684559a994c1b"
content"Use offset and limit to distribute sending of large amount of recipients across multiple email providers or batches"
type"object"
description"Use offset and limit to distribute sending of large amount of recipients across multiple email providers or batches"
offset
wiki
name"offset"
type"property"
multiple-itemsfalse
input-config
Empty array
label"offset"
default"0"
uuid"6844748f60fd9"
visibility"visible"
preferred-input"OO.ui.NumberInputWidget"
requiredfalse
minInclusive0
type"integer"
title"offset"
default"0"
limit
wiki
name"limit"
type"property"
multiple-itemsfalse
input-config
Empty array
label"limit"
default"50"
uuid"6844748f60fde"
visibility"visible"
preferred-input"OO.ui.NumberInputWidget"
requiredfalse
minInclusive1
type"integer"
title"limit"
default"50"
required
"text_html"
"text"
type"object"
title"Compose email"