On Jun 17, 2008, at 3:50 PM, Nicholas Robinson wrote:
You mentioned that your document type is a clone of "DEMOART". What did you call it (i.e. what is the "doctype ID"?) If, for example, you called it "CLONART", then your report-number- generation function parameters could look something like this:

Parameter Name          Parameter Value
autorngen                Y
counterpath           lastid_CLONART_<PA>categ</PA>_<PA>yy</PA>
edsrn                 DEMOART_RN
rnformat              DEMO-<PA>categ</PA>-<PA>yy</PA>
rnin                  comboCLONART
yeargen               AUTO

In fact, the one that is of particular importance to you is "rnin". If you want to include the category in the report number, it's value must be the string "combo" + "doctype-id". So in the demo site's "DEMOART" submission, it is "comboDEMOART". In your cloned submission though, it will be "comboYOURDOCTYPEID", hence "comboCLONART" in my example above.

"comboCLONART" will be the name of a file created in the submission's working directory, and will contain the "category" value that you selected at the beginning of the submission (article, preprint or report in the DEMOART example.)

Many thanks, Nick.  This cleared up my misunderstanding.

Do you recommend leaving edsrn as DEMOART_RN, or does it make more sense to update all instances of "DEMOART" to the new doctype ID?

Thanks again!
Devin

Reply via email to