Publish wizard publish parameters
The publish parameters used by the Publish wizard are defined by the store-refs.xml file in each store archive. Publishing parameters are only available through the Publish wizard. If you publish a store archive through the command line, you cannot specify parameter values. The default values contained in the store archive file are used.
Look at the following example of a store-refs.xml file from the ConsumerDirectStore.sar file.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE store-refs SYSTEM "store-refs.dtd"> <store-refs target-dtd="WEB-INF/stores/FashionFlow/data/ForeignKeys.dtd" deploy-descriptor="WEB-INF/stores/FashionFlow/data/ibm-wc-load.xml" resource-bundle="/SAR-INF/properties/publishNLS"> ref id="storeDir" entity="STORE_DIR" > <input type="text"/> </ref> <ref id="storeIdent" entity="STORE_IDENTIFIER" > input type="text"/> </ref> <ref id = "parentOrg" entity="ORGANIZATION_DN"> <input type="member" /> </ref> </store-refs>
In the XML example:
This file is also part of the store archive and is unpacked with the store data assets. The entity value corresponding to each parameter is updated in the unpacked file. The DTD inside the store archive is not updated. The values for the parameters are stored in this file (in this case ForeignKeys.dtd) until publish is instantiated.
Related concepts