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

[Projekt: Entwicklung - xRM][TicketNr.: 1068555][Serienbrief - Preview/Tab...

[Projekt: Entwicklung - xRM][TicketNr.: 1068555][Serienbrief - Preview/Tab Empfänger - Meldung "Aktion nicht unterstützt" obwohl odt vorhanden]
parent c5603256
No related branches found
No related tags found
No related merge requests found
......@@ -316,8 +316,15 @@ DocumentTemplate.loadTemplate = function (pAssignmentRowId, pAssignmentTable, pR
return null;
}
}
var templateDocument = db.getBinaryMetadata(pAssignmentTable, "DOCUMENT", pAssignmentRowId, false, alias, null);
var templateDocument;
if(pAssignmentTable == "SERIALLETTER")
{
templateDocument = db.getBinaryMetadata(pAssignmentTable, "SERIALLETTERFILE", pAssignmentRowId, false, alias, null);
}
else
{
templateDocument = db.getBinaryMetadata(pAssignmentTable, "DOCUMENT", pAssignmentRowId, false, alias, null);
}
if (!templateDocument[0])
return new DocumentTemplate(undefined, undefined, undefined, undefined, templateId);
var binaryId = templateDocument[0][db.BINARY_ID];
......
......@@ -2,7 +2,7 @@
<system xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/system/1.1.0">
<name>default</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<serverConfigPath>C:\Users\s.neumaier\Documents\AditoProjects\basic_2020.2\data\sn-test-basic.dev.c2.adito.cloud_serverconfig_system.xml</serverConfigPath>
<serverConfigPath>$ADITODATA/config/serverconfig_default.xml</serverConfigPath>
<aditoHomePath>$ADITOHOME</aditoHomePath>
<aditoDataPath>$PROJECTHOME/data</aditoDataPath>
<loginUser>admin</loginUser>
......
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