Document Tab

Use this tab to set the options of storing documents.

Option Description
Create document record without document If this check box is selected, then the component stores only the document fields in the DocuWare 5.x archive but not the document itself. If you select this check box, all other controls in this tab become disabled.
Note: A record can be created only in the file cabinet and cannot be created in the basket.
Name field Enter the name of the field that will be used as the document identifier. You can enter the name manually or click the button to select this field in the opened Select Document Name Field dialog box. This field should be defined by the administrator of the DocuWare 5.x server for the specified file cabinet. The document name field must have a text or key type. It is used for version support and renaming of the document. You can use RRTs in this text box.
Note: If the specified Name field differs from the name field defined by the server administrator and you use document version support or renaming of the document, then the component will give an error message at run time. If document version support or renaming of the document is not used, then this difference will be ignored.
Use document version support If this check box is selected, the component will support document versions automatically.
Tip: When you use document versions support, the component will search for the different versions of the document being uploaded on the server. That is, if the Name field is defined by the server administrator, the component searches for the existing documents that have the same value of the Name field. If the Name field is not defined, the component searches for the existing documents that have the same values for all fields except for the Version field (only non-empty field values of Text or Keyword fields from the Fields list are considered). The new document gets the version number equal to the maximal version number found during the search operation, increased by the Increment. If no existing versions of the document are found, the new document version number will be equal to the Start value.
Note: The more versions of the document are stored on the server, the more time it will take to save the next version of the document. Using document version support can slow down component performance.
Version field Enter the name of the field of the document which will hold version number or click the button to select one of the available fields in the opened Select Version Field dialog box. The entered field should have the text type. You can use RRTs in this text box. This text box is enabled only if the Use document version support check box is selected.
Start value Enter the start version number for new documents, that is, for the documents that do not have other versions on the server. The default value is 1.00. You can use RRTs in this text box. This text box is enabled only if the Use document version support check box is selected.
Increment Enter the positive real value by which the version number will increase. The default value is 0.01. You can use RRTs in this text box. This text box is enabled only if the Use document version support check box is selected.
Rename document Select this check box if you want to rename the sent document. This check box is enabled only if the Name field is non-empty.
Schema Enter the renaming schema for the document. This field is enabled only if the Rename document check box is selected. If the Name field is defined, this field will get the value that you define in the Schema text box. If the Name field is not defined, the renaming will not work and the component will give an error message at run time. The default renaming schema is ~XDW::FileName~_~XDW::Counter~~XDW::FileExt~.
Note: The version support and renaming are applicable only for the documents but not for the records.