Nuxeo mailing list archives
[CPS-devel] portal_catalog and generic_setup
Lennart Regebro
regebro at nuxeo.com
Fri Jun 30 13:00:33 CEST 2006
Joachim Schmitz wrote:
> I added some metadata to my portal-catalog, klicked the export-tab the
> catalog and put the result in my products profiles/default/catalog.xml
>
> Now each time when I import my profile the catalog is "refreshed".
What happens during this refresh?
> I exspected that to happen the first time, but not every time.
I looked at the code and I don't think it should happen at all. ;)
It might have something to do with the fact that you recreate all
indexes, metadata and vocabularies in your xml. To add some columns, you
only need to have those columns in your xml file.
Here is an example of a catalog.xml that adds an index:
<?xml version="1.0"?>
<object name="portal_catalog" meta_type="CMF Catalog">
<index name="MainAttendee" meta_type="FieldIndex">
<indexed_attr value="getMainAttendeeId"/>
</index>
</object>
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
More information about the cps-devel
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.