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/
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel