Last change
on this file since 1763 was
1763,
checked in by mylan, 14 years ago
|
Added package description to README
|
-
Property svn:eol-style set to
native
|
File size:
827 bytes
|
Line | |
---|
1 | Introduction |
---|
2 | ============ |
---|
3 | |
---|
4 | This package intended for extend ZCatalog API with possiblity to |
---|
5 | update selected columns only. This package register 'catalog_updater' |
---|
6 | utility for that. |
---|
7 | |
---|
8 | For simplify usage of the utility, it extend GenericSetup's ZCatalog |
---|
9 | XMLAdapter handler, which allows *update* attribute usage in *column* |
---|
10 | tag of *catalog.xml* file. |
---|
11 | |
---|
12 | So, when you add new column to the catalog, you add catalog.xml file |
---|
13 | in some profile with following part: |
---|
14 | |
---|
15 | ... |
---|
16 | <column value="new_column" /> |
---|
17 | ... |
---|
18 | |
---|
19 | This add *new_column* metadata to the portal_catalog, BUT, this |
---|
20 | metadata will be empty, untill you rebuild the catalog. For automate |
---|
21 | this step - you can add 'update="True"' attribute to the tag. And this |
---|
22 | lead to updte the column after adding. So result usage should be look |
---|
23 | like: |
---|
24 | |
---|
25 | ... |
---|
26 | <column value="new_column" update="True" /> |
---|
27 | ... |
---|
Note: See
TracBrowser
for help on using the repository browser.