<gmi name="<name>" value="<value>" type="<str>" oper="<set>"/>
<name> <value> <type> <oper> add – adds new metadata to the document. If the metadata already exists, it is not replaced with the new value.replace – replaces existing metadataset – adds new metadata to the document. If the metadata already exists, it is replaced with the new value.You can add gmi tags on job level and on document level. On job level, you must add the gmi tags directly after the jobset tag. On document level, you must add the gmi tags directly after the docset tag.<s-dbs action="process"><database SERVER="LOCAL" name="my_repository" user=" " password=" "><jobset sel="ID=10"><gmi name="zipcode" value=$zip type ="num" oper="set"/><docset sel="ID=23"><gmi name="Key1" value=$key1 type="num" oper="add"/><gmi name="Key2" value=$key2 type="str" oper="replace"/></docset><docset sel="ID=124"><gmi name="Key1" value=$key1 type="num" oper="add"/><gmi name="Key2" value=$key2 type="str" oper="set"/></docset></jobset></database>/s-dbs>
OpenText StreamServe 5.6 | Updated: 2013-03-01 |