Skip to main content
Skip table of contents

getDocumentType

Versionshinweise

18.2

Code

String getDocumentType(String templateName) throws Exception

Beschreibung

Ermittelt den Typ der übergebenen Dokumentvorlage, z.B. SERIALLETTER.

Parameter

    • templateName - Name der Dokumentvorlage

Rückgabe

Typ der übergebenen Dokumentvorlage, z.B. SERIALLETTER.

Beispiele

String documentType = DocumentUtils.getDocumentType("SERIENBRIEF BLANKO (Beispiel)");
if (ScriptUtils.equal(DocumentUtils.DOC_TYPE_SERIALLETTER, documentType))
..... 
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.