Definition:
<!ENTITY % cm.objClass-create " (attributes | bodyTemplateName | completionCheck | createPermission | isEnabled | mandatoryAttributes | name | objType | presetAttributes | presetFromParentAttributes | recordSetCallback | title | validContentTypes | validSubObjClassCheck | validSubObjClasses | workflowModification)* "> <!ELEMENT objClass-create %cm.objClass-create;>
Aufgabe: Erzeugt eine neue Vorlage mit den angegebenen Parameterwerten. Die Runtime-Konfiguration wird neu geschrieben, nachdem objClass-create ausgeführt wurde.
Rückgabewert bei Erfolg: der Name der Vorlage.
Erforderliche Rechte: Der authentifizierte Benutzer muss das Recht permissionGlobalRTCEdit haben.
Beispiel:
<cm-request...>
<objClass-create>
<attributes>
<listitem>abstract</listitem>
<listitem>author</listitem>
<listitem>keywords</listitem>
<listitem>newsSign</listitem>
</attributes>
<mandatoryAttributes>
<listitem>abstract</listitem>
<listitem>author</listitem>
<listitem>keywords</listitem>
</mandatoryAttributes>
<name>newsArticle</name>
<objType>document</objType>
<presetAttributes>
<namevalue>
<name>keywords</name>
<value>
<listitem>business</listitem>
<listitem>comment</listitem>
<listitem>special</listitem>
<listitem>sport</listitem>
<listitem>world news</listitem>
</value>
</namevalue>
</presetAttributes>
</objClass-create>
</cm-request>
<cm-response...>
<cm-code numeric="0" phrase="ok">
<objClass>
<name>newsArticle</name>
</objClass>
</cm-code>
</cm-response>