Skip to content
Snippets Groups Projects
Commit 81aa6d7b authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch 'm_1085867_mosaico_link_anbindung' into '2021.2.0'

M 1085867 mosaico link anbindung

See merge request xrm/basic!1292
parents 0d2eae09 65113550
No related branches found
No related tags found
No related merge requests found
Showing
with 360 additions and 14 deletions
import("system.translate");
import("system.result");
result.string(translate.text("Open in mosaico"));
\ No newline at end of file
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
{
result.string(vars.get("$sys.user"));
}
\ No newline at end of file
import("system.result");
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
{
result.string(vars.get("$sys.user"));
}
\ No newline at end of file
import("system.vars");
import("system.result");
result.string("TEXT:" + vars.getString("$field.NAME"));
\ No newline at end of file
import("system.vars");
import("Binary_lib");
SingleBinaryUtils.remove("MOSAICOTEMPLATE", "DOCUMENT", vars.get("$field.MOSAICOTEMPLATEID"));
\ No newline at end of file
import("system.vars");
import("Binary_lib");
if (vars.get("$param.CopyMosaicoTemplateIdParam"))
{
BinaryUtils.copyBinaries("MOSAICOTEMPLATE", vars.get("$param.CopyMosaicoTemplateIdParam"), "MOSAICOTEMPLATE", vars.get("$field.MOSAICOTEMPLATEID"), "DOCUMENT");
}
import("system.result");
import("system.db");
result.object({"MOSAICOTEMPLATE.DATE_NEW": db.DESCENDING});
\ No newline at end of file
import("system.result");
import("Keyword_lib");
import("KeywordRegistry_basic");
var sql = KeywordUtils.getResolvedTitleSqlPart($KeywordRegistry.mosaicoBaseTemplate(), "MOSAICOTEMPLATE.BASETEMPLATE");
result.string(sql);
import("system.result");
import("Keyword_lib");
import("KeywordRegistry_basic");
var sql = KeywordUtils.getResolvedTitleSqlPart($KeywordRegistry.mosaicoTemplateCategory(), "MOSAICOTEMPLATE.CATEGORY");
result.string(sql);
import("system.result");
import("Keyword_lib");
result.string(LanguageKeywordUtils.getResolvedTitleSqlPart("MOSAICOTEMPLATE.ISOLANGUAGE"));
\ No newline at end of file
...@@ -10501,12 +10501,21 @@ ...@@ -10501,12 +10501,21 @@
<entry> <entry>
<key>Should a test email be sent to you instead?</key> <key>Should a test email be sent to you instead?</key>
</entry> </entry>
<entry>
<key>Open in mosaico</key>
</entry>
<entry> <entry>
<key>Copy Recipients</key> <key>Copy Recipients</key>
</entry> </entry>
<entry> <entry>
<key>copy</key> <key>copy</key>
</entry> </entry>
<entry>
<key>New document template</key>
</entry>
<entry>
<key>Copy template</key>
</entry>
<entry> <entry>
<key>There are no test recipients.</key> <key>There are no test recipients.</key>
</entry> </entry>
...@@ -10654,21 +10663,12 @@ ...@@ -10654,21 +10663,12 @@
<entry> <entry>
<key>Saturday</key> <key>Saturday</key>
</entry> </entry>
<entry>
<key>Processing of the given business card failed.\nReason: %0</key>
</entry>
<entry>
<key>Requested business card were already deleted.</key>
</entry>
<entry> <entry>
<key>Appointment Start</key> <key>Appointment Start</key>
</entry> </entry>
<entry> <entry>
<key>Appointment End</key> <key>Appointment End</key>
</entry> </entry>
<entry>
<key>Contigent exhausted, please buy some new one to continue.</key>
</entry>
<entry> <entry>
<key>Appointment Subject</key> <key>Appointment Subject</key>
</entry> </entry>
...@@ -10772,6 +10772,33 @@ ...@@ -10772,6 +10772,33 @@
<entry> <entry>
<key>Answer Address</key> <key>Answer Address</key>
</entry> </entry>
<entry>
<key>Open new mosaico template</key>
</entry>
<entry>
<key>Base Template</key>
</entry>
<entry>
<key>Action mail</key>
</entry>
<entry>
<key>Technical email</key>
</entry>
<entry>
<key>Create and open in editor</key>
</entry>
<entry>
<key>Create new mosaico template</key>
</entry>
<entry>
<key>Processing of the given business card failed.\nReason: %0</key>
</entry>
<entry>
<key>Requested business card were already deleted.</key>
</entry>
<entry>
<key>Contigent exhausted, please buy some new one to continue.</key>
</entry>
</keyValueMap> </keyValueMap>
<font name="Dialog" style="0" size="11" /> <font name="Dialog" style="0" size="11" />
<sqlModels> <sqlModels>
......
...@@ -10,6 +10,14 @@ ...@@ -10,6 +10,14 @@
<key>Create new campaign step</key> <key>Create new campaign step</key>
<value>Neue Kampagnenstufe erstellen</value> <value>Neue Kampagnenstufe erstellen</value>
</entry> </entry>
<entry>
<key>Base Template</key>
<value>Ursprungsvorlage</value>
</entry>
<entry>
<key>Open in mosaico</key>
<value>In Mosaico öffnen</value>
</entry>
<entry> <entry>
<key>Single (Service/Internal)</key> <key>Single (Service/Internal)</key>
<value>Einzel (Service/Intern)</value> <value>Einzel (Service/Intern)</value>
...@@ -1020,6 +1028,10 @@ ...@@ -1020,6 +1028,10 @@
<key>%0 responsilbe/s was/were changed</key> <key>%0 responsilbe/s was/were changed</key>
<value>%0 Verantwortliche/r wurde/n geändert</value> <value>%0 Verantwortliche/r wurde/n geändert</value>
</entry> </entry>
<entry>
<key>Technical email</key>
<value>Technische E-Mail</value>
</entry>
<entry> <entry>
<key>Please check if the following fields are filled correctly</key> <key>Please check if the following fields are filled correctly</key>
<value>Bitte überprüfen Sie ob folgende Felder richtig befüllt sind</value> <value>Bitte überprüfen Sie ob folgende Felder richtig befüllt sind</value>
...@@ -1891,6 +1903,10 @@ ...@@ -1891,6 +1903,10 @@
<key>Descriptions</key> <key>Descriptions</key>
<value>Beschreibungen</value> <value>Beschreibungen</value>
</entry> </entry>
<entry>
<key>Create new mosaico template</key>
<value>Neue Mosaicovorlage erstellen</value>
</entry>
<entry> <entry>
<key>Free</key> <key>Free</key>
<value>Frei</value> <value>Frei</value>
...@@ -3273,6 +3289,10 @@ ...@@ -3273,6 +3289,10 @@
<key>Public Hand</key> <key>Public Hand</key>
<value>Öffentliche Hand</value> <value>Öffentliche Hand</value>
</entry> </entry>
<entry>
<key>Create and open in editor</key>
<value>Erstellen und im Editor öffnen</value>
</entry>
<entry> <entry>
<key>Producing and Processing Industry</key> <key>Producing and Processing Industry</key>
<value>Produzierende und verarbeitende Industrie</value> <value>Produzierende und verarbeitende Industrie</value>
...@@ -6037,6 +6057,10 @@ ...@@ -6037,6 +6057,10 @@
<key>Trade</key> <key>Trade</key>
<value>Handel</value> <value>Handel</value>
</entry> </entry>
<entry>
<key>Action mail</key>
<value>Aktionsmail</value>
</entry>
<entry> <entry>
<key>Consultation</key> <key>Consultation</key>
<value>Beratung</value> <value>Beratung</value>
...@@ -7188,6 +7212,10 @@ ...@@ -7188,6 +7212,10 @@
<key>CONTRACTID (UID)</key> <key>CONTRACTID (UID)</key>
<value>CONTRACTID (UID)</value> <value>CONTRACTID (UID)</value>
</entry> </entry>
<entry>
<key>Copy template</key>
<value>Vorlage kopieren</value>
</entry>
<entry> <entry>
<key>[%0]it was necessary to create a file from a blob-field but no lob-file-path was specified.</key> <key>[%0]it was necessary to create a file from a blob-field but no lob-file-path was specified.</key>
<value>[%0]es war Notwendig eine Datei von einem blob-Feld zu erstellen aber es wurde kein lob-Dateipfad angegeben.</value> <value>[%0]es war Notwendig eine Datei von einem blob-Feld zu erstellen aber es wurde kein lob-Dateipfad angegeben.</value>
...@@ -7881,6 +7909,10 @@ ...@@ -7881,6 +7909,10 @@
<key>Only .odt files are supported for bulkletters.</key> <key>Only .odt files are supported for bulkletters.</key>
<value>Für Serienbriefe werden nur .odt Dateien unterstützt</value> <value>Für Serienbriefe werden nur .odt Dateien unterstützt</value>
</entry> </entry>
<entry>
<key>New document template</key>
<value>Neue Dokumentvorlage</value>
</entry>
<entry> <entry>
<key>Show tickets where I am the editor</key> <key>Show tickets where I am the editor</key>
</entry> </entry>
......
...@@ -9772,19 +9772,19 @@ ...@@ -9772,19 +9772,19 @@
<key>Saturday</key> <key>Saturday</key>
</entry> </entry>
<entry> <entry>
<key>Processing of the given business card failed.\nReason: %0</key> <key>Appointment Start</key>
</entry> </entry>
<entry> <entry>
<key>Requested business card were already deleted.</key> <key>Open in mosaico</key>
</entry> </entry>
<entry> <entry>
<key>Appointment Start</key> <key>Appointment End</key>
</entry> </entry>
<entry> <entry>
<key>Appointment End</key> <key>New document template</key>
</entry> </entry>
<entry> <entry>
<key>Contigent exhausted, please buy some new one to continue.</key> <key>Copy template</key>
</entry> </entry>
<entry> <entry>
<key>Appointment Subject</key> <key>Appointment Subject</key>
...@@ -10861,6 +10861,33 @@ ...@@ -10861,6 +10861,33 @@
<entry> <entry>
<key>Answer Address</key> <key>Answer Address</key>
</entry> </entry>
<entry>
<key>Open new mosaico template</key>
</entry>
<entry>
<key>Base Template</key>
</entry>
<entry>
<key>Action mail</key>
</entry>
<entry>
<key>Technical email</key>
</entry>
<entry>
<key>Create and open in editor</key>
</entry>
<entry>
<key>Create new mosaico template</key>
</entry>
<entry>
<key>Processing of the given business card failed.\nReason: %0</key>
</entry>
<entry>
<key>Requested business card were already deleted.</key>
</entry>
<entry>
<key>Contigent exhausted, please buy some new one to continue.</key>
</entry>
</keyValueMap> </keyValueMap>
<font name="Dialog" style="0" size="11" /> <font name="Dialog" style="0" size="11" />
</language> </language>
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.1.1">
<name>BulkMailAddMosaico</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<editView>BulkMailAddMosaicoEdit_view</editView>
<entity>BulkMailAddMosaico_entity</entity>
<references>
<neonViewReference>
<name>8f951f6b-ae65-46b2-8adc-6a82b1a23385</name>
<view>BulkMailAddMosaicoEdit_view</view>
</neonViewReference>
</references>
</neonContext>
<?xml version="1.0" encoding="UTF-8"?>
<neonContext xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonContext/1.1.1">
<name>MosaicoTemplate</name>
<title>Mosaico</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<icon>VAADIN:EXTERNAL_BROWSER</icon>
<filterView>MosaicoTemplateFilter_view</filterView>
<editView>MosaicoTemplateEdit_view</editView>
<previewView>MosaicoTemplatePreview_view</previewView>
<entity>MosaicoTemplate_entity</entity>
<references>
<neonViewReference>
<name>81ee2f8b-752d-4cc0-ae77-762795944d06</name>
<view>MosaicoTemplateEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>0bb791be-3de8-4692-a015-b918b77389ff</name>
<view>MosaicoTemplateFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>e5337161-3eda-4adb-a11b-5ee4f9c40e9d</name>
<view>MosaicoTemplatePreview_view</view>
</neonViewReference>
</references>
</neonContext>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8">
<name>BulkMailAddMosaicoEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<size>SMALL</size>
<layout>
<headerFooterLayout>
<name>layout</name>
</headerFooterLayout>
</layout>
<children>
<genericViewTemplate>
<name>Generic</name>
<editMode v="true" />
<fields>
<entityFieldLink>
<name>ffaee3b9-bb62-40cd-9b32-994b4c276097</name>
<entityField>NAME</entityField>
</entityFieldLink>
<entityFieldLink>
<name>07938506-50e8-4151-bec5-ab090dc0b2e8</name>
<entityField>MOSAICOTEMPLATE_ID</entityField>
</entityFieldLink>
<entityFieldLink>
<name>25e5868a-5fb2-4bca-af93-54b1dc605d83</name>
<entityField>BASETEMPLATE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>dc4f74b4-1099-406a-a2eb-9e3004849e0a</name>
<entityField>CATEGORY</entityField>
</entityFieldLink>
<entityFieldLink>
<name>5d214250-93ad-4b1a-9a63-30b3f1e2f288</name>
<entityField>ISOLANGUAGE</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<actionsViewTemplate>
<name>Actions</name>
<actions>
<element>createAndOpen</element>
</actions>
</actionsViewTemplate>
</children>
</neonView>
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
<name>55842e88-7e2b-41ee-b564-3c2e3fb04125</name> <name>55842e88-7e2b-41ee-b564-3c2e3fb04125</name>
<entityField>DOCUMENTTEMPLATE_ID</entityField> <entityField>DOCUMENTTEMPLATE_ID</entityField>
</entityFieldLink> </entityFieldLink>
<entityFieldLink>
<name>34565ff5-e555-417a-a901-7f8d2b2372df</name>
<entityField>MOSAICOTEMPLATE_ID</entityField>
</entityFieldLink>
</fields> </fields>
</genericViewTemplate> </genericViewTemplate>
<actionsViewTemplate> <actionsViewTemplate>
...@@ -88,6 +92,10 @@ ...@@ -88,6 +92,10 @@
<name>1891cd3a-34a5-4c7d-9e35-635640476c63</name> <name>1891cd3a-34a5-4c7d-9e35-635640476c63</name>
<entityField>INTEREST_ID</entityField> <entityField>INTEREST_ID</entityField>
</entityFieldLink> </entityFieldLink>
<entityFieldLink>
<name>cd711f0c-20b7-4f1a-8bca-2e1cf420bb6d</name>
<entityField>ISOLANGUAGE</entityField>
</entityFieldLink>
</fields> </fields>
</genericViewTemplate> </genericViewTemplate>
<genericViewTemplate> <genericViewTemplate>
......
...@@ -52,6 +52,10 @@ ...@@ -52,6 +52,10 @@
<name>edbeea4d-019f-4661-b0d7-c07468e747cc</name> <name>edbeea4d-019f-4661-b0d7-c07468e747cc</name>
<entityField>DOCUMENTTEMPLATE_ID</entityField> <entityField>DOCUMENTTEMPLATE_ID</entityField>
</entityFieldLink> </entityFieldLink>
<entityFieldLink>
<name>1a99fef8-775e-48e2-b40c-fbe9c9b0f725</name>
<entityField>MOSAICOTEMPLATE_ID</entityField>
</entityFieldLink>
<entityFieldLink> <entityFieldLink>
<name>514d0861-ad00-4d32-9c56-6be0443e03e3</name> <name>514d0861-ad00-4d32-9c56-6be0443e03e3</name>
<entityField>CREATEACTIVITIES</entityField> <entityField>CREATEACTIVITIES</entityField>
...@@ -72,6 +76,10 @@ ...@@ -72,6 +76,10 @@
<name>9f3df668-6741-4faf-9afc-a0d761db990a</name> <name>9f3df668-6741-4faf-9afc-a0d761db990a</name>
<entityField>INTEREST_ID</entityField> <entityField>INTEREST_ID</entityField>
</entityFieldLink> </entityFieldLink>
<entityFieldLink>
<name>c1a6bec9-5c06-4755-9eee-19b5636c143d</name>
<entityField>ISOLANGUAGE</entityField>
</entityFieldLink>
</fields> </fields>
</genericViewTemplate> </genericViewTemplate>
<neonViewReference> <neonViewReference>
......
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8">
<name>MosaicoTemplateEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<size>SMALL</size>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<genericViewTemplate>
<name>generic</name>
<editMode v="true" />
<fields>
<entityFieldLink>
<name>025859a7-e151-460c-83fe-87207b6712c1</name>
<entityField>NAME</entityField>
</entityFieldLink>
<entityFieldLink>
<name>b704117a-cbb3-4a26-948e-bb4a3b773ebd</name>
<entityField>BASETEMPLATE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>b41df2f0-aa59-469a-8242-5e889fff3853</name>
<entityField>ISOLANGUAGE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>a2537044-a300-46f2-85e2-35ac8d3eb018</name>
<entityField>CATEGORY</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
</children>
</neonView>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8">
<name>MosaicoTemplateFilter_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="true" />
<layout>
<groupLayout>
<name>layout</name>
</groupLayout>
</layout>
<children>
<tableViewTemplate>
<name>table</name>
<columns>
<neonTableColumn>
<name>a36a289d-a8f0-400b-9423-77f594fafada</name>
<entityField>#IMAGE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>7c757f7e-0b46-489c-80eb-58c1413492a3</name>
<entityField>NAME</entityField>
</neonTableColumn>
<neonTableColumn>
<name>df065e6d-388a-4258-839f-8dafa206bd5c</name>
<entityField>BASETEMPLATE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>f35fc405-6c90-4f27-9c7d-28eba8518ae3</name>
<entityField>DATE_NEW</entityField>
</neonTableColumn>
<neonTableColumn>
<name>a1927d82-e243-4aed-acc1-dce9746ca1eb</name>
<entityField>ISOLANGUAGE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>4aa87d26-ac44-458d-b8ab-d9550caffb17</name>
<entityField>CATEGORY</entityField>
</neonTableColumn>
</columns>
</tableViewTemplate>
<treeTableViewTemplate>
<name>TreeTable</name>
<columns>
<neonTreeTableColumn>
<name>ed2cad46-4428-4e79-b944-86a479b545ce</name>
<entityField>#IMAGE</entityField>
</neonTreeTableColumn>
<neonTreeTableColumn>
<name>1f1a33eb-fe91-4eac-961d-fa91b48dcf23</name>
<entityField>NAME</entityField>
</neonTreeTableColumn>
<neonTreeTableColumn>
<name>d492493a-250a-4886-9da7-0808bb590709</name>
<entityField>BASETEMPLATE</entityField>
</neonTreeTableColumn>
<neonTreeTableColumn>
<name>19246444-ffbb-4ed3-aefd-44405ce5d8fc</name>
<entityField>DATE_NEW</entityField>
</neonTreeTableColumn>
<neonTreeTableColumn>
<name>02429f3d-3d1a-4fc3-82a6-b1e4195c4196</name>
<entityField>ISOLANGUAGE</entityField>
</neonTreeTableColumn>
<neonTreeTableColumn>
<name>8a3e0e78-0a7c-47c2-a994-0b53fa402d86</name>
<entityField>CATEGORY</entityField>
</neonTreeTableColumn>
</columns>
</treeTableViewTemplate>
</children>
</neonView>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment