close

Filter

loading table of contents...

Content Server Manual / Version 2512.0

Table Of Contents

4.2.4 Content Types from Plugins

It is not only possible to define content type definitions in separate files but also in CoreMedia Application Plugins (Section 4.1.6, “Application Plugins” in Blueprint Developer Manual ).

Resources matching the pattern classpath*:framework/doctypes/**/*.xml will be picked up as document type definitions, which can contain new document types as well as document type aspects (see Section 4.2.3, “Attaching Properties to Existing Content Types”). The extended document type model becomes active on first Content Server start after the Plugin has been added.

Caution

Caution

If a Plugin comes with custom document type definitions, once you have activated it and started the Content Server, its database is adjusted accordingly. You must not disable the Plugin afterward, or the Content Server might refuse to start, because the additional document type definitions are missing. In case you want to remove such a Plugin, please consult Section 4.3, “Schema Update”.
Note

Custom Grammar Support Unavailable

Providing a custom grammar via Plugin is not possible. Thus, you can only reference grammars via XmlGrammar or XmlSchema that are available at the classpath.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.