Re: Missing title
Michael Emmerich via opencms-dev <[email protected]> Mon, 7 Jul 2025 11:07:49 +0200
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <[email protected]> |
Atle, have you add a mapping in your XSD so that one of the fields of your content is mapped to the "Title" property? If you have a Field in your XSD like this: [...] <xsd:element name="Title" type="OpenCmsString" /> [...] you must add add a mapping in the annotations part of the XSD: [...] <xsd:annotation> <xsd:appinfo> [...] <FieldSettings> <Setting> <PropertyName>*Title*</PropertyName> <Mapping> <MapTo>*property:Title*</MapTo> </Mapping> </Setting> [...] </FieldSettings> </xsd:appinfo> [...] More about the FieldSettings are explained here: https://documentation.opencms.org/opencms-documentation/template-development/field-settings-reference/ And a bit more on mappings in special here: https://documentation.opencms.org/opencms-documentation/template-development/content-type-definition-with-xml-schema/mappings-and-default-values/index.html Btw: The mailing list blocks postings with bigger attachment and those posts have to be released manually, so its better not to add bigger screenshots. Kind regards, Michael Am 05.07.25 um 09:07 schrieb Atle Enersen via opencms-dev: > > Hello. > > As the attached image show, the row Title is missing content in the > table. The title who is there is set by med manually from the Menu -> > Properties. Apart from this, the Resource Type is working properly. > > In the default site (Mercury) it is working fine. > > Please advice, in advance thanks :-) > > Vennlig hilsen/best regards, Atle Enersen > > -- > > Tel.: +47 48 06 31 71 > > > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit > https://lists.opencms.org/mailman/listinfo/opencms-dev > > > -- Michael Emmerich Alkacon Software GmbH & Co. KG - The OpenCms Experts http://www.alkacon.com -http://www.opencms.org _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit https://lists.opencms.org/mailman/listinfo/opencms-dev