Veröffentlicht Mon, 18 Nov 2019 14:22:18 GMT von Carlos López Developer
We are building dwControls for importing documents and there is no information about how to set the type of a Numeric (without decimals) Field
The most intuitive way to do this is:

<Field dbName="Total" type="Numeric" value="31" decimalPlaces="0"/>

But it is failing the import with a message similar to 'the type was not found'.

Veröffentlicht Mon, 18 Nov 2019 14:43:32 GMT von Simon H. Hellmann Toshiba TGIS GmbH | IT-Consultant - Document Management Solutions
Hello Carlos,

the correct way to import numeric fields without decimal places is as following:
  <Field dbName="TOTAL" type="Numeric" value="31" culture="en-US" decimalPlaces="0" /> 

for date and numeric fields, the culture parameter is always required. You should choose the one fitting for your localization.
If you are not sure which one you should use, have a look here:

Hope this helps.

Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant

Veröffentlicht Mon, 18 Nov 2019 15:02:06 GMT von Carlos López Developer
Oh ok, we thought that culture was optional as a decimal number gets imported right when no culture is specified.

Sie müssen angemeldet sein um Beiträge in den Foren zu erstellen.